@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&display=swap');

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

:root {
  --topbar-height: 70px;
  --brand-color: #08BBE7;
  --brand-dark: #058dae;
  --discord-color: #5865F2;
  --discord-color-dark: #4856f1;
  --text-main: #121212;
  --text-muted: #666666;
}

body {
  font-family: 'Circular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: var(--text-main);
  line-height: 1.5;
}

/* Topbar Header */
.topbar {
  height: var(--topbar-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  gap: 1rem;
}

.logo-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: black;
}

.logo-name.header {
  font-size: 1.5rem;
}

.logo-container {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.logo-box {
  background-color: var(--brand-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box.header {
  border-radius: 12px;
  height: 44px;
  padding: 5px 0 4px 0;
  width: 44px;
}

.logo-box {
  background-color: var(--brand-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box.header {
  border-radius: 12px;
  height: 44px;
  padding: 5px 0 4px 0;
  width: 44px;
}

.logo-box .logo {
  height: 100%;
}

.topbar-nav.desktop-only a {
  text-decoration: none;
  color: #555555;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.topbar-nav.desktop-only {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-shrink: 0;
}

.topbar-nav.desktop-only a:hover {
  color: var(--brand-color);
}

.btn-signin {
  text-decoration: none;
  background-color: var(--brand-color);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(8, 187, 231, 0.18);
}

.btn-signin:hover {
  background-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(8, 187, 231, 0.28);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Hamburger menu button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1005;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Active States */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Drawer Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Menu container */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1002;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-menu.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.drawer-header .close-btn {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.drawer-header .close-btn:hover {
  color: var(--text-main);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.drawer-nav a {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: #334155;
  transition: color 0.2s ease;
}

.drawer-nav a:hover {
  color: var(--brand-color);
}

.profile-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(8, 187, 231, 0.18);
  background: #f0fbfe;
  padding: 0;
  flex-shrink: 0;
}

.profile-picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Shared UI components */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 50px;
  background: rgba(8, 187, 231, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 1rem 2rem;
  border-radius: 500px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.3, 0, 0, 1);
}

/* Shared UI components */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 50px;
  background: rgba(8, 187, 231, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 1rem 2rem;
  border-radius: 500px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.3, 0, 0, 1);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.content {
  margin-top: var(--topbar-height);
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0 1rem;
  }

  .logo-name.header {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 60px;
  }

  .logo-container {
    gap: 0.5rem;
  }

  .logo-box.header {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .profile-link {
    width: 34px;
    height: 34px;
  }
}

/* Footer Styling */
.footer {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 2rem) 2.5rem clamp(1.25rem, 5vw, 2rem);
  background-color: #0f172a;
  font-size: 0.95rem;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  text-align: left;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
}

.footer-column ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: var(--brand-color);
}

.footer-brand .logo-container {
  margin-bottom: 1.25rem;
}

.footer-logo {
  color: #ffffff !important;
}

.footer-tagline {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #64748b;
}

.contact-label {
  color: #cbd5e1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 1.25rem 2rem 1.25rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-tagline {
    max-width: 100%;
  }
}
