/* ============================================
   ULTRA PREMIUM LOGIN v6.0
   © 2026 Ömer Berat Keser
   ============================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #818cf8;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --purple: #a855f7;
    --bg: #050508;
    --card: #0a0a0f;
    --input: #0f0f15;
    --border: rgba(99, 102, 241, 0.12);
    --glow: rgba(99, 102, 241, 0.4);
    --text: #ffffff;
    --text-dim: #a1a1aa;
    --text-muted: #71717a;
    --success: #22c55e;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
.bg-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -150px;
    opacity: 0.12;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: -150px;
    right: -100px;
    opacity: 0.1;
    animation-delay: -8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: 40%;
    left: 40%;
    opacity: 0.08;
    animation-delay: -16s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -30px) scale(1.08);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bg-scanline {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
    animation: scanMove 5s ease-in-out infinite;
    opacity: 0.5;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes scanMove {

    0%,
    100% {
        top: -10px;
        opacity: 0;
    }

    50% {
        top: 100%;
        opacity: 0.6;
    }
}

.bg-noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ===== MEGA NAVBAR ===== */
.mega-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0.75rem 2rem;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* PREMIUM HEXAGON LOGO */
.logo-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-hexagon {
    position: relative;
    width: 55px;
    height: 55px;
}

.hex-outer {
    position: absolute;
    inset: 0;
}

.hex-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexRotate 8s linear infinite;
}

.hex-ring.ring-2 {
    inset: -10px;
    border-color: rgba(99, 102, 241, 0.15);
    animation-direction: reverse;
    animation-duration: 12s;
}

@keyframes hexRotate {
    to {
        transform: rotate(360deg);
    }
}

.hex-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--glow);
    animation: hexPulse 3s ease-in-out infinite;
}

@keyframes hexPulse {

    0%,
    100% {
        box-shadow: 0 8px 30px var(--glow);
    }

    50% {
        box-shadow: 0 8px 50px var(--glow), 0 0 80px var(--glow);
    }
}

.hex-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hex-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hex-particles {
    position: absolute;
    inset: 0;
}

.hex-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: particleOrbit 4s linear infinite;
}

.hex-particles span:nth-child(1) {
    animation-delay: 0s;
}

.hex-particles span:nth-child(2) {
    animation-delay: -0.67s;
}

.hex-particles span:nth-child(3) {
    animation-delay: -1.33s;
}

.hex-particles span:nth-child(4) {
    animation-delay: -2s;
}

.hex-particles span:nth-child(5) {
    animation-delay: -2.67s;
}

.hex-particles span:nth-child(6) {
    animation-delay: -3.33s;
}

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(35px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) translateX(35px);
        opacity: 0;
    }
}

.logo-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-name {
    position: relative;
}

.info-name span {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.name-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: width 0.4s ease;
}

.logo-premium:hover .name-line {
    width: 100%;
}

.info-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.title-badge {
    font-size: 0.55rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: white;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.3rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-item i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.2);
}

.nav-item:hover,
.nav-item.active {
    color: var(--text);
    background: rgba(99, 102, 241, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 20px var(--glow);
}

.item-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover .item-glow {
    opacity: 0.3;
}

/* ODRA PREMIUM BADGE */
.odra-premium {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(59, 130, 246, 0.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.odra-outer-ring {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.odra-outer-ring span {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.odra-outer-ring span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    animation: borderH 4s linear infinite;
}

.odra-outer-ring span:nth-child(2) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    animation: borderH 4s linear infinite reverse;
    animation-delay: -2s;
}

.odra-outer-ring span:nth-child(3) {
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: borderV 4s linear infinite;
}

.odra-outer-ring span:nth-child(4) {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: borderV 4s linear infinite reverse;
    animation-delay: -2s;
}

@keyframes borderH {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes borderV {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.odra-core {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.odra-shield {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px var(--glow);
}

.odra-shield i {
    font-size: 1.1rem;
    color: white;
}

.shield-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--primary);
    border-radius: 16px;
    animation: shieldPulse 2s ease-out infinite;
}

.shield-pulse.pulse-2 {
    animation-delay: -1s;
}

@keyframes shieldPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.odra-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.odra-header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.odra-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
}

.odra-kernel {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

.odra-ver {
    font-size: 0.55rem;
    background: var(--primary);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 700;
}

.odra-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px var(--success);
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.odra-features {
    display: flex;
    gap: 0.4rem;
}

.odra-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.55rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.odra-features .feature i {
    font-size: 0.7rem;
}

.odra-features .feature.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}

.odra-features .feature:hover {
    background: rgba(99, 102, 241, 0.1);
}

.odra-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: odraScan 3s ease-in-out infinite;
}

@keyframes odraScan {

    0%,
    100% {
        top: 0;
        opacity: 0;
    }

    50% {
        top: 100%;
        opacity: 1;
    }
}

/* ===== MAIN ===== */
.main-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 2rem;
}

.content-wrap {
    display: flex;
    gap: 3rem;
    max-width: 1050px;
    width: 100%;
}

/* AUTH CARD */
.auth-card {
    position: relative;
    flex: 1;
    max-width: 460px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.5rem;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 250px;
    background: radial-gradient(ellipse, var(--glow) 0%, transparent 70%);
    opacity: 0.25;
    animation: cardGlow 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardGlow {

    0%,
    100% {
        opacity: 0.2;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.35;
        transform: translateX(-50%) scale(1.1);
    }
}

.card-border {
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--blue), var(--cyan), var(--purple), var(--primary));
    border-radius: 30px;
    z-index: -1;
    animation: borderSpin 10s linear infinite;
    opacity: 0.4;
}

@keyframes borderSpin {
    to {
        transform: rotate(360deg);
    }
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

/* AUTH HEADER */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-icon {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
}

.icon-hex {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-hex .hex-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 15px 50px var(--glow);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.icon-hex i {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: white;
}

.hex-ring-1,
.hex-ring-2 {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: ringExp 2.5s ease-out infinite;
}

.hex-ring-2 {
    inset: -5px;
    animation-delay: -1.25s;
}

@keyframes ringExp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.icon-hex .hex-particles span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    animation: hexPart 2.5s ease-out infinite;
}

.icon-hex .hex-particles span:nth-child(1) {
    top: -5px;
    left: 50%;
    animation-delay: 0s;
}

.icon-hex .hex-particles span:nth-child(2) {
    bottom: -5px;
    left: 50%;
    animation-delay: -0.6s;
}

.icon-hex .hex-particles span:nth-child(3) {
    left: -5px;
    top: 50%;
    animation-delay: -1.2s;
}

.icon-hex .hex-particles span:nth-child(4) {
    right: -5px;
    top: 50%;
    animation-delay: -1.8s;
}

@keyframes hexPart {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.header-text {
    margin-bottom: 1.5rem;
}

.main-title {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.title-word {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wordPop 0.6s ease-out both;
}

.title-word:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes wordPop {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border));
}

.deco-line.right {
    background: linear-gradient(90deg, var(--border), transparent);
}

.deco-diamond {
    color: var(--primary);
    font-size: 0.6rem;
    animation: diamondSpin 4s linear infinite;
}

@keyframes diamondSpin {
    to {
        transform: rotate(360deg);
    }
}

/* TABS */
.tabs-premium {
    position: relative;
    display: flex;
    background: var(--input);
    border-radius: 16px;
    padding: 5px;
    margin-bottom: 1.75rem;
    border: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    overflow: hidden;
}

.tab-btn.active {
    color: white;
}

.tab-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.15);
}

.tab-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover .tab-glow {
    opacity: 0.2;
}

.tab-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px var(--glow);
}

.tab-slider.right {
    transform: translateX(100%);
}

/* FORMS */
.auth-form {
    display: none;
    animation: formIn 0.4s ease;
}

.auth-form.active {
    display: block;
}

@keyframes formIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* INPUT PREMIUM */
.input-premium {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.input-premium input {
    width: 100%;
    padding: 1.1rem 3rem 1.1rem 3.5rem;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-premium input:focus {
    outline: none;
    border-color: var(--primary);
}

.input-premium input:focus~.input-icon {
    background: var(--primary);
    color: white;
}

.input-premium label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-premium input:focus~label,
.input-premium input:not(:placeholder-shown)~label {
    top: 0;
    left: 0.75rem;
    font-size: 0.7rem;
    color: var(--primary);
    background: var(--card);
    padding: 0 0.3rem;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 0 0 14px 14px;
    transition: width 0.4s ease;
}

.input-premium input:focus~.input-border {
    width: 100%;
}

.input-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: 0 0 0 0 var(--glow);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.input-premium input:focus~.input-glow {
    box-shadow: 0 0 25px var(--glow);
}

.eye-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.eye-btn:hover {
    color: var(--primary);
}

/* STRENGTH */
.strength-premium {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.strength-track {
    flex: 1;
    height: 5px;
    background: var(--border);
    border-radius: 5px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 5px;
    transition: all 0.4s ease;
}

.strength-fill.weak {
    width: 25%;
    background: var(--error);
}

.strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.strength-fill.good {
    width: 75%;
    background: var(--blue);
}

.strength-fill.strong {
    width: 100%;
    background: var(--success);
}

.strength-premium span {
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 70px;
}

/* OPTIONS */
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.check-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    cursor: pointer;
    margin-bottom: 1rem;
}

.check-premium input {
    display: none;
}

.check-box {
    width: 20px;
    height: 20px;
    background: var(--input);
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.check-box i {
    font-size: 0.6rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.check-premium input:checked+.check-box {
    background: var(--primary);
    border-color: var(--primary);
}

.check-premium input:checked+.check-box i {
    opacity: 1;
    transform: scale(1);
}

.check-premium a {
    color: var(--primary);
    text-decoration: none;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.8;
}

/* SUBMIT */
.submit-premium {
    position: relative;
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--glow);
    transition: all 0.3s ease;
}

.submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px var(--glow);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-premium:hover .btn-icon {
    transform: translateX(5px);
}

.btn-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.btn-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

.submit-premium:hover .btn-particles span {
    animation: btnPart 0.6s ease-out forwards;
}

.btn-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles span:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.1s;
}

.btn-particles span:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.2s;
}

.btn-particles span:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 0.3s;
}

@keyframes btnPart {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.submit-premium.loading .btn-text,
.submit-premium.loading .btn-icon {
    opacity: 0;
}

.submit-premium.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* FOOTER */
.card-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.footer-badges .badge:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.footer-badges .badge i {
    color: var(--primary);
}

/* SIDE PANEL */
.side-panel {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.side-header {
    margin-bottom: 2rem;
}

.side-icon {
    position: relative;
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 50px var(--glow);
    animation: sideFloat 5s ease-in-out infinite;
}

@keyframes sideFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.side-icon i {
    font-size: 2.2rem;
    color: white;
}

.icon-rings span {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    animation: sideRing 2.5s ease-out infinite;
}

.icon-rings span:nth-child(1) {
    inset: -10px;
}

.icon-rings span:nth-child(2) {
    inset: -20px;
    animation-delay: -0.8s;
}

.icon-rings span:nth-child(3) {
    inset: -30px;
    animation-delay: -1.6s;
}

@keyframes sideRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.side-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.side-header p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* FEATURE CARDS */
.side-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(10px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 1.2rem;
    color: white;
}

.card-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* TOASTS */
#toasts {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    animation: toastIn 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.4);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.4);
}

.toast i {
    font-size: 1rem;
}

.toast.success i {
    color: var(--success);
}

/* INPUT ROW */
.input-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-premium.half {
    flex: 1;
    margin-bottom: 0;
}

/* COUNTRY SELECT */
.input-premium.country-select {
    margin-bottom: 1.5rem;
}

/* Location Row Fix */
.location-row {
    align-items: flex-start;
}

.location-row .input-premium.half {
    position: relative;
}

.location-row .input-icon {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    width: 48px;
    height: calc(100% - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 13px 0 0 13px;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-premium select {
    width: 100%;
    padding: 1rem 2.5rem 1rem 3.5rem;
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
}

.input-premium select:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background-color: rgba(15, 15, 30, 0.95);
}

.input-premium select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 4px 20px rgba(99, 102, 241, 0.2);
}

.input-premium select:focus~.input-icon,
.input-premium select:focus+.input-icon {
    background: var(--primary);
    color: white;
}

/* Premium Option Styling */
.input-premium select option {
    background: #0a0a14;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.input-premium select option:checked {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
    font-weight: 600;
}

.input-premium select option:hover {
    background: rgba(99, 102, 241, 0.4) !important;
    color: #fff;
}

/* Premium Optgroup */
.input-premium select optgroup {
    background: linear-gradient(180deg, #080812 0%, #0a0a18 100%);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-top: 1px solid rgba(99, 102, 241, 0.4);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
}

/* Birthday Picker Premium Upgrade */
.birthday-picker-wrapper {
    background: linear-gradient(145deg, rgba(10, 10, 25, 0.95) 0%, rgba(5, 5, 15, 0.98) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 30px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* KRİTİK: Dropdown menülerin şifre kutularının üzerinde görünmesi için */
    z-index: 100;
}

.birthday-picker-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.birthday-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

/* Age Display Badge */
.age-display {
    margin-left: auto;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.age-display.visible {
    opacity: 1;
    transform: scale(1);
}

.birthday-header i {
    color: var(--primary);
    font-size: 1.15rem;
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.birthday-header span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Age display styles are defined above with .age-display and .age-display.visible */

.birthday-inputs {
    display: flex;
    gap: 1rem;
}

.date-select-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-select-group label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.date-select-group select {
    width: 100%;
    padding: 0.85rem 2rem 0.85rem 1rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.date-select-group select:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background-color: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.date-select-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.15),
        0 0 25px rgba(99, 102, 241, 0.2);
}

.date-select-group select option {
    background: #0a0a18;
    color: #fff;
    padding: 12px;
    font-weight: 500;
}

/* ============================================
   ULTRA PREMIUM CUSTOM DROPDOWN
   ============================================ */

.custom-dropdown {
    position: relative;
    width: 100%;
}

/* Dropdown Trigger Button */
.dropdown-trigger {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.dropdown-trigger:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(20, 20, 45, 0.95);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}

.dropdown-trigger:focus,
.custom-dropdown.open .dropdown-trigger {
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.2),
        0 0 30px rgba(99, 102, 241, 0.25);
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-value {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.dropdown-value.selected {
    opacity: 1;
    color: #fff;
}

/* ============================================
   ULTRA PREMIUM DROPDOWN MENU v2.0
   Cyberpunk Glassmorphism Edition
   ============================================ */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -8px;
    right: -8px;
    /* Clean Dark Background - No Purple Tint */
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    /* Clean Border - Subtle Glow */
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 10px;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px) scale(0.95);
    transform-origin: top center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 99999;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Clean Shadow - No Purple */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.15);
}

/* Removed ::after glow effect that was causing purple tint */

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Clean Scrollbar */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.5);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.6);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.8);
}

/* ============================================
   DROPDOWN ITEMS - CYBERPUNK PREMIUM v2.0
   ============================================ */
.dropdown-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding: 14px 20px !important;
    margin: 4px 4px;
    border-radius: 12px !important;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    /* Tamamen şeffaf arka plan - temiz görünüm */
    background: transparent !important;
    border: none !important;
}

/* Neon accent line on left */
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: linear-gradient(180deg,
            #6366f1 0%,
            #a855f7 50%,
            #22d3ee 100%);
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}

/* Gradient shine sweep effect */
.dropdown-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.25) 0%,
            rgba(168, 85, 247, 0.18) 50%,
            rgba(34, 211, 238, 0.12) 100%) !important;
    color: #fff !important;
    transform: translateX(8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.35),
        0 0 20px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.dropdown-item:hover::after {
    left: 100%;
}

.dropdown-item.selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.2));
    color: #fff;
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 0 25px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dropdown-item.selected::before {
    opacity: 1;
    transform: scaleY(1);
}

.item-text {
    flex: 1;
}

.item-check {
    font-size: 0.75rem;
    color: var(--primary);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item.selected .item-check {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation for Items */
.custom-dropdown.open .dropdown-item {
    animation: dropdownItemFadeIn 0.3s ease forwards;
    opacity: 0;
}

.custom-dropdown.open .dropdown-item:nth-child(1) {
    animation-delay: 0.02s;
}

.custom-dropdown.open .dropdown-item:nth-child(2) {
    animation-delay: 0.04s;
}

.custom-dropdown.open .dropdown-item:nth-child(3) {
    animation-delay: 0.06s;
}

.custom-dropdown.open .dropdown-item:nth-child(4) {
    animation-delay: 0.08s;
}

.custom-dropdown.open .dropdown-item:nth-child(5) {
    animation-delay: 0.10s;
}

.custom-dropdown.open .dropdown-item:nth-child(6) {
    animation-delay: 0.12s;
}

.custom-dropdown.open .dropdown-item:nth-child(7) {
    animation-delay: 0.14s;
}

.custom-dropdown.open .dropdown-item:nth-child(8) {
    animation-delay: 0.16s;
}

.custom-dropdown.open .dropdown-item:nth-child(9) {
    animation-delay: 0.18s;
}

.custom-dropdown.open .dropdown-item:nth-child(10) {
    animation-delay: 0.20s;
}

.custom-dropdown.open .dropdown-item:nth-child(11) {
    animation-delay: 0.22s;
}

.custom-dropdown.open .dropdown-item:nth-child(12) {
    animation-delay: 0.24s;
}

@keyframes dropdownItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Glow Effect on Open */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Dropdown Group Header - Ülke Grupları */
.dropdown-group-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 12px 16px 8px 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent);
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    margin-top: 6px;
    margin-bottom: 4px;
}

.dropdown-group-header:first-child {
    margin-top: 0;
    border-top: none;
}

.dropdown-group-header i {
    font-size: 0.7rem;
    color: var(--accent);
    animation: groupIconGlow 2s ease-in-out infinite;
}

@keyframes groupIconGlow {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px var(--primary);
    }
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    margin: 10px 12px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

/* Flag Emoji in Dropdown */
.item-flag {
    font-size: 1.2rem;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Location row custom dropdown padding fix */
.location-row .custom-dropdown .dropdown-trigger {
    padding-left: 3.5rem;
}

/* CITY FIELD */
.city-field {
    animation: slideDown 0.4s ease;
}

/* Fix City Icon Alignment - Match Country Icon */
.city-field .input-icon,
.input-premium.half .input-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px 0 0 14px;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.location-row .input-premium.half {
    position: relative;
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

/* AGE INPUT */
.age-input {
    position: relative;
}

.age-input input[type="number"] {
    -moz-appearance: textfield;
    padding-right: 3.5rem;
}

.age-input input[type="number"]::-webkit-outer-spin-button,
.age-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.age-controls {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.age-btn {
    width: 28px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.age-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--glow);
}

.age-btn:active {
    transform: scale(0.95);
}

.age-btn i {
    pointer-events: none;
}

/* PROFESSIONAL TERMS MODAL */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.terms-modal {
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 102, 241, 0.15);
}

.legal-modal-overlay.active .terms-modal {
    transform: scale(1) translateY(0);
}

/* Terms Header */
.terms-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.terms-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.terms-logo i {
    font-size: 1.4rem;
    color: white;
}

.terms-title h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.terms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #22c55e;
}

.terms-close {
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.terms-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: rotate(90deg);
}

/* Terms Body */
.terms-body {
    padding: 1.5rem 2rem;
    max-height: 55vh;
    overflow-y: auto;
}

.terms-body::-webkit-scrollbar {
    width: 6px;
}

.terms-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.terms-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Terms Sections */
.terms-section {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.terms-section:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon i {
    font-size: 1rem;
    color: white;
}

.section-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.section-icon.red {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.section-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.section-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.section-header h3 {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.section-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
}

.section-badge.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.section-badge.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

/* Section Text */
.section-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.section-text p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.section-text ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.section-text ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.section-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.section-text strong {
    color: #818cf8;
    font-weight: 600;
}

.warning-text {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #fca5a5 !important;
    font-size: 0.85rem;
}

.warning-text i {
    color: #ef4444;
    margin-right: 0.5rem;
}

/* Terms Footer */
.terms-footer {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-link-btn {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.terms-link-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {

    0%,
    100% {
        transform: rotate(45deg) translateX(-100%);
    }

    50% {
        transform: rotate(45deg) translateX(100%);
    }
}

.terms-link-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.terms-accept-btn {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    overflow: hidden;
}

.terms-accept-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: acceptShine 2s ease-in-out infinite;
}

@keyframes acceptShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.terms-accept-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

/* Section Entry Animations */
.terms-section {
    animation: sectionFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.terms-section:nth-child(1) {
    animation-delay: 0.1s;
}

.terms-section:nth-child(2) {
    animation-delay: 0.2s;
}

.terms-section:nth-child(3) {
    animation-delay: 0.3s;
}

.terms-section:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Icon Pulse */
.section-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
}

/* Logo Animation */
.terms-logo {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(3deg);
    }
}

/* List Item Hover */
.section-text ul li {
    transition: all 0.3s ease;
}

.section-text ul li:hover {
    transform: translateX(8px);
    color: #ffffff;
}

.section-text ul li:hover::before {
    color: #22d3ee;
}

/* Professional Birthday Date Picker */
.birthday-picker-wrapper {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(15px);
    }
}

.birthday-picker-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.birthday-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.birthday-header i {
    font-size: 1.2rem;
    color: var(--primary);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.birthday-header span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.age-display {
    margin-left: auto;
    padding: 0.35rem 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.age-display.visible {
    opacity: 1;
    transform: scale(1);
}

.birthday-inputs {
    display: flex;
    gap: 0.75rem;
}

.date-select-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.date-select-group label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-select-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.date-select-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 4px 15px rgba(99, 102, 241, 0.2);
}

.date-select-group select:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background-color: rgba(15, 15, 30, 0.9);
}

.date-select-group select option {
    background: #0a0a14;
    color: #ffffff;
    padding: 0.5rem;
}

/* City field hide/show */
.city-field.hidden {
    display: none !important;
}



.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.legal-modal {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(15, 15, 25, 0.95));
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    transform: scale(0.85) translateY(50px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.8), 0 0 80px var(--glow);
}

.legal-modal-overlay.active .legal-modal {
    transform: scale(1) translateY(0) rotateX(0deg);
}

.modal-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse, var(--glow) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
    animation: modalGlow 4s ease-in-out infinite;
}

@keyframes modalGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.1);
    }
}

.modal-border-anim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 28px;
    overflow: hidden;
}

.modal-border-anim span {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
}

.modal-border-anim span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: borderH 3s linear infinite;
}

.modal-border-anim span:nth-child(2) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: borderH 3s linear infinite reverse;
    animation-delay: -1.5s;
}

.modal-border-anim span:nth-child(3) {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
    animation: borderV 3s linear infinite;
}

.modal-border-anim span:nth-child(4) {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
    animation: borderV 3s linear infinite reverse;
    animation-delay: -1.5s;
}

.modal-scanline {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: modalScan 4s ease-in-out infinite;
    opacity: 0.6;
    pointer-events: none;
    z-index: 10;
}

@keyframes modalScan {

    0%,
    100% {
        top: -5px;
        opacity: 0;
    }

    50% {
        top: 100%;
        opacity: 0.7;
    }
}

/* Modal Header */
.legal-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
}

.header-mega-icon {
    position: relative;
}

.mega-hex {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px var(--glow);
    animation: megaFloat 3s ease-in-out infinite;
}

@keyframes megaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.mega-hex i {
    font-size: 1.5rem;
    color: white;
}

.mega-hex .hex-ring-1,
.mega-hex .hex-ring-2 {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: ringExp 2.5s ease-out infinite;
}

.mega-hex .hex-ring-2 {
    inset: -4px;
    animation-delay: -1.25s;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
}

.title-icon i {
    font-size: 0.9rem;
    color: var(--primary);
}

.modal-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
}

.sub-badge i {
    font-size: 0.65rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.modal-close:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
    transform: rotate(90deg);
}

.close-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.modal-close:hover .close-ring {
    border-color: var(--error);
    animation: ringExp 0.6s ease-out;
}

/* Modal Content & Cards */
.legal-modal .modal-content {
    padding: 1.5rem 2rem;
    max-height: 48vh;
    overflow-y: auto;
}

.legal-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.legal-card:hover::before {
    left: 100%;
}

.legal-card:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
    transform: translateX(8px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 15px var(--glow);
}

.card-icon.shield {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.card-icon.copyright {
    background: linear-gradient(135deg, var(--error), #f87171);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.card-icon.odra {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.card-icon.user {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.card-icon i {
    font-size: 1.1rem;
    color: white;
}

.card-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.5px;
}

.card-badge.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--error);
}

.card-badge.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--success);
    animation: badgePulse 2s ease-in-out infinite;
}

.legal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #fff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-card strong {
    color: #818cf8;
    font-weight: 700;
    text-shadow: 0 0 15px var(--glow);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.card-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.card-tags span:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text);
}

.card-tags span i {
    font-size: 0.65rem;
    color: var(--primary);
}

/* Modal Footer */
.legal-modal .modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(99, 102, 241, 0.05));
}

.details-btn {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 14px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.4s ease;
    overflow: hidden;
}

.details-btn .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.details-btn:hover .btn-bg {
    opacity: 0.1;
}

.details-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow);
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.details-btn:hover .btn-arrow {
    background: var(--primary);
    transform: translateX(5px);
}

.details-btn:hover .btn-arrow i {
    color: white;
}

.accept-btn {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px var(--glow);
    overflow: hidden;
}

.accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--glow);
}

.accept-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

.accept-btn .btn-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

.accept-btn:hover .btn-particles span {
    animation: btnPart 0.5s ease-out forwards;
}

.accept-btn .btn-particles span:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.accept-btn .btn-particles span:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 0.1s;
}

.accept-btn .btn-particles span:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 0.2s;
}

.accept-btn .btn-particles span:nth-child(4) {
    bottom: 20%;
    right: 15%;
    animation-delay: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 900px) {
    .side-panel {
        display: none;
    }

    .auth-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .logo-info,
    .odra-info,
    .odra-features {
        display: none;
    }

    .mega-nav {
        padding: 0.5rem 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .input-row {
        flex-direction: column;
        gap: 0;
    }

    .input-premium.half {
        margin-bottom: 1.5rem;
    }

    .legal-modal {
        max-width: 100%;
        margin: 1rem;
    }

    .legal-modal .modal-footer {
        flex-direction: column;
    }
}
