
:root {
  --red-deep:    #1a0000;
  --red-mid:     #8b0000;
  --red-vivid:   #e8000d;
  --red-hot:     #ff2a2a;
  --white:       #ffffff;
  --white-soft:  rgba(255,255,255,0.75);
  --white-dim:   rgba(255,255,255,0.18);
  --nav-height:  72px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  overflow-x: hidden;
  position: relative;

  background-color: var(--red-deep);
  background-image:

    radial-gradient(ellipse 70% 55% at 50% 65%,  #ff3a3a 0%, transparent 65%),

    radial-gradient(ellipse 55% 60% at 5%  10%,  #2a0000 0%, transparent 60%),

    radial-gradient(ellipse 45% 45% at 92% 88%,  #c00020 0%, transparent 55%),

    radial-gradient(ellipse 80% 40% at 50%  0%,  #600010 0%, transparent 70%),

    linear-gradient(160deg, #1a0002 0%, #4a0010 45%, #8b0000 100%);
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;

  background: rgba(20, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}


.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 1.35rem;
  font-weight: 700;
}


.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navigation a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
  position: relative;
}

.navigation a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--white);
  transition: width 0.25s ease;
}

.navigation a:hover { color: var(--white); }
.navigation a:hover::after { width: 100%; }

.logo-crown {
  font-size: 1.25rem;
  color: #ffd966;
  filter: drop-shadow(0 0 6px rgba(255, 210, 80, 0.6));
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-dot {
  color: #ffd966;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login,
.btn-signup {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 50px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-login {
  color: var(--white-soft);
  border: 1.5px solid var(--white-dim);
  background: transparent;
}

.btn-login:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.07);
}


.btn-signup {
  color: var(--red-deep);
  background: var(--white);
  border: 1.5px solid var(--white);
  font-weight: 700;
}

.btn-signup:hover {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 0 20px rgba(255,60,60,0.45);
  transform: translateY(-1px);
}


.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 48px 80px;
  position: relative;
}

.section-content {
  max-width: 680px;
  text-align: center;
  z-index: 2;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}


.hero {
  text-align: center;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}

.rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 68%;
}

.ring-1 { width: 220px;  height: 220px; }
.ring-2 { width: 420px;  height: 420px; border-color: rgba(255,255,255,0.05); }
.ring-3 { width: 640px;  height: 640px; border-color: rgba(255,255,255,0.04); }
.ring-4 { width: 880px;  height: 880px; border-color: rgba(255,255,255,0.03); }
.ring-5 { width: 1140px; height: 1140px; border-color: rgba(255,255,255,0.02); }


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .navbar { padding: 0 20px; }
  .hero   { padding-left: 24px; padding-right: 24px; }
  .btn-login, .btn-signup { padding: 8px 16px; font-size: 0.8rem; }
}

.glass-overlay {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 100px; 
    backdrop-filter: none;
    background: none;
}

    .glass-overlay.visible {
        display: flex;
    }


.glass-panel {
    position: relative; 
    overflow: hidden; 
    width: min(900px, 92%);
    min-height: 300px;
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}


    .glass-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.3), transparent );
    }


.glass-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);

}

.panel-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    text-align: center;
}

.panel-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    display: block;
    transition: opacity 0.25s ease;
}

.panel-loader {
    position: absolute;
    inset: 0;
    top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes panelOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
}

.glass-panel.animate-in {
    animation: panelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.glass-panel.animate-out {
    animation: panelOut 0.25s ease both;
}


.glass-input {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.25);
    position: relative;
}


    .glass-input input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: white;
        font-size: 0.95rem;
        text-align: center;
    }

        .glass-input input::placeholder {
            color: rgba(255,255,255,0.7);
        }


.dropdown select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    text-align: center;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    z-index: 2;
}


.dropdown::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    pointer-events: none;
}


.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}


.signup-btn {
    width: 200px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(15px);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .signup-btn:hover {
        background: rgba(255,255,255,0.25);
        box-shadow: 0 0 15px rgba(255,255,255,0.2);
    }

.dropdown select option {
    background: #5a0000; 
    color: white;
}











