* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

/* Grid pattern background */
.grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 3rem;
  text-align: center;
}

.logo img {
  width: 150px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.subtitle-line {
  width: 48px;
  height: 2px;
  background-color: #dc2626;
}

.subtitle-text {
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Main content */
main {
  flex: 1;
  padding: 0 1rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Platform section */
.platform {
  margin-bottom: 3rem;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  margin-top: -1.25rem;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #0a0a0a;
  border-radius: 8px;
}

.platform-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.platform-title {
  font-size: 1rem;
  font-weight: 600;
  padding: 0 4px;
  border-radius: 4px;
}

.platform-line {
  flex: 1;
  height: 1px;
  background-color: #1f1f1f;
}

/* Links grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0 0.4rem;
}

/* Link card */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-card:hover {
  background-color: #111111;
  border-color: #dc2626;
  transform: translateX(8px);
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.link-card:hover .link-icon {
  background-color: rgba(220, 38, 38, 0.1);
  border-color: #dc2626;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-name {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-handle {
  color: #6b7280;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #4b5563;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.link-card:hover .link-arrow {
  color: #dc2626;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.link-card:hover .link-arrow svg {
  transform: translateX(4px);
}

/* Quick access section */

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 9999px;
  color: #9ca3af;
  font-size: 0.875rem;
}

.badge svg {
  width: 16px;
  height: 16px;
}

/* Footer */
footer {
  border-top: 1px solid #0a0a0a;
  padding: 2rem 1rem;
  text-align: center;
}

footer p {
  color: #4b5563;
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 640px) {
  h1 {
    font-size: 4rem;
  }

  .subtitle-text {
    font-size: 1rem;
  }

  main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .platform-title {
    font-size: 1.75rem;
  }

  .link-name {
    font-size: 1rem;
  }

  .link-handle {
    font-size: 0.875rem;
  }
}
@media (max-width: 639px) {
  .link-arrow {
    display: none;
  }
  .link-icon {
    display: none;
  }
  .link-card {
    padding: 0.7rem;
  }
  .logo img {
    width: 100px;
  }
  .platform-icon {
    width: 32px;
    height: 32px;
  }
  .platform {
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 0.3rem 0.3rem 0.8rem 0.3rem;
  }
  .platform-line {
    display: none;
  }
  .platform-header {
    background-color: black;
    width: fit-content;
    padding: 0 0.3rem;
    gap: 0.5rem;
  }
}
