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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-border: #222;
  --primary: #9333ea;
  --highlight: #c084fc;
  --text: #e5e5e5;
  --text-muted: #888;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

a {
  color: var(--highlight);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 1.5rem 2rem 0;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  height: 100%;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
  overflow-y: auto;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  background: var(--surface);
}

.chat-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 1.25rem;
}

.chat-col iframe {
  flex: 1;
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  background: var(--surface);
  min-height: 0;
}

.about-section {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
}

.about-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.5rem 2rem 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--highlight);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding-bottom: 1.5rem;
}

.about-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--highlight);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.about-section.open .about-toggle::after {
  transform: rotate(180deg);
}

.about-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.about-section.open .about-content {
  max-height: 800px;
}

.about-text {
  padding: 1.25rem 2rem 1.25rem;
}

.about-columns {
  overflow: hidden;
  display: flex;
  padding: 1.25rem 2rem 1.5rem;
  margin-top: 0.5rem;
}

.about-columns .column {
  flex: 1;
  padding: 0 10px;
}

.about-columns h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.about-columns h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0.75rem 0 0.25rem;
}

.about-columns p {
  margin-bottom: 0.5rem;
}

.about-columns ul {
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.social-section h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--highlight);
}

footer {
  margin-top: auto;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a:hover {
  color: var(--highlight);
}

@media (max-width: 768px) {
  body {
    height: auto;
    overflow: auto;
  }

  main {
    padding: 1rem;
    overflow: visible;
  }

  .layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .left-col {
    overflow: visible;
    gap: 1rem;
  }

  .chat-col iframe {
    height: 400px;
    flex: none;
  }

  .about-toggle {
    padding: 1.25rem 1.25rem 1.25rem;
  }

  .about-columns {
    padding: 1rem 1.25rem 1.25rem;
  }

  .social-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .social-links a {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
