/* ============================================
   OFFSHORE.COM — ROYAL LUXURY EDITION
   Crown Design System
   ============================================ */

:root {
    /* Royal Gold Palette */
    --gold-100: #fef3c7;
    --gold-200: #fde68a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --gold-700: #b45309;
    --gold-800: #92400e;

    /* Deep Royal Navy */
    --navy-900: #005faf;
    --navy-800: #004d9a;
    --navy-700: #003d8a;
    --navy-600: #0069bf;

    /* Ivory/Cream Accent */
    --ivory: #fdf8ef;
    --cream: #f5edd6;

    /* Neutrals */
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 30%, #d97706 60%, #fbbf24 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(217, 119, 6, 0.06) 100%);
    --gradient-royal: linear-gradient(135deg, #f59e0b 0%, #d97706 25%, #b45309 50%, #d97706 75%, #fbbf24 100%);
    --gradient-dark: linear-gradient(180deg, #003d8a 0%, #004d9a 50%, #005faf 100%);
    --gradient-hero: linear-gradient(155deg, #003d8a 0%, #004d9a 40%, #005faf 70%, #004d9a 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --font-royal: 'Playfair Display', Georgia, serif;

    /* Spacing & Layout */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--navy-900);
    color: var(--gray-400);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* ============================================
   SCROLL PROGRESS
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-gold);
    z-index: 10001;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
}

/* ============================================
   PARTICLES
   ============================================ */

.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0) rotate(0deg); }
    10% { opacity: 0.7; }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1) rotate(180deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(0, 61, 138, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.08);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-crown {
    width: 32px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
}

.logo-crown svg { width: 100%; height: 100%; }

.logo-text {
    font-family: var(--font-royal);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.logo-dot {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
    position: relative;
}

.nav-link:hover { color: var(--gold-400); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.nav-link:hover::after { width: 100%; }

.nav-link-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-900) !important;
    background: var(--gradient-gold);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    color: var(--navy-900) !important;
}

/* Language Switcher */
.lang-switcher { position: relative; }

.lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 7px 12px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 50px;
    color: var(--gold-400);
    font-family: var(--font-primary);
    font-size: 0.75rem; font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.25);
}

.lang-btn .chevron { transition: transform 0.2s ease; }
.lang-switcher.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px); right: 0;
    min-width: 150px;
    background: rgba(0, 61, 138, 0.98);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 14px;
    padding: 6px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-fast);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 9px 12px;
    background: none; border: none;
    color: var(--gray-400);
    font-family: var(--font-primary); font-size: 0.82rem;
    cursor: pointer; border-radius: 8px;
    transition: var(--transition-fast);
}

.lang-option:hover { background: rgba(251, 191, 36, 0.08); color: #fff; }
.lang-option.active { background: rgba(251, 191, 36, 0.12); color: var(--gold-400); font-weight: 600; }
.lang-flag { font-size: 1rem; }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column; gap: 5px;
    padding: 6px; background: none; border: none; cursor: pointer;
}

.mobile-menu-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--gold-400);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    flex-direction: column; gap: 0;
    padding: 16px 24px 24px;
    background: rgba(0, 61, 138, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(251, 191, 36, 0.08);
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
    display: block; padding: 14px 0;
    font-size: 1rem; font-weight: 500;
    color: var(--gray-300);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-nav-link:hover { color: var(--gold-400); }

.mobile-lang-row {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 16px;
}

.mobile-lang {
    padding: 8px 14px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 8px;
    color: var(--gray-300);
    font-family: var(--font-primary); font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-lang:hover, .mobile-lang.active {
    background: rgba(251, 191, 36, 0.15);
    color: var(--gold-400);
    border-color: rgba(251, 191, 36, 0.3);
}

/* ============================================
   HERO - ROYAL CROWN SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-glow {
    position: absolute;
    top: -250px; right: -200px;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, rgba(217, 119, 6, 0.03) 30%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-bg-glow-2 {
    position: absolute;
    bottom: -300px; left: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite 2s;
}

/* Royal Ornamental Corners */
.hero-ornament-left, .hero-ornament-right {
    position: absolute;
    width: 200px; height: 200px;
    pointer-events: none;
    opacity: 0.06;
}

.hero-ornament-left {
    bottom: 40px; left: 40px;
    border-left: 2px solid var(--gold-500);
    border-bottom: 2px solid var(--gold-500);
    border-radius: 0 0 0 20px;
}

.hero-ornament-right {
    top: 100px; right: 40px;
    border-right: 2px solid var(--gold-500);
    border-top: 2px solid var(--gold-500);
    border-radius: 0 20px 0 0;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; z-index: 1;
}

/* Royal Badge */
.royal-badge {
    display: inline-flex;
    align-items: center; gap: 10px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.15);
    padding: 8px 22px 8px 12px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.royal-badge .crown-icon {
    width: 28px; height: 21px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.royal-badge span {
    font-size: 0.72rem; font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ============================================
   ULTRA VIP DOMAIN NAME - ROYAL FRAME
   ============================================ */

.domain-showcase { margin-bottom: 36px; }

.hero-subtitle {
    font-family: var(--font-royal);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gray-500);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.domain-royal-frame {
    position: relative;
    padding: 28px 36px;
    margin: 0 -8px;
}

/* Ornamental corners */
.frame-corner {
    position: absolute;
    width: 24px; height: 24px;
}

.frame-tl { top: 0; left: 0; border-top: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }
.frame-tr { top: 0; right: 0; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); }
.frame-bl { bottom: 0; left: 0; border-bottom: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }
.frame-br { bottom: 0; right: 0; border-bottom: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); }

.frame-line {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    height: 1px; width: 60%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
}

.frame-top { top: 0; }
.frame-bottom { bottom: 0; }

.hero-title {
    font-family: var(--font-royal);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.domain-name-wrapper {
    position: relative;
    display: inline-block;
}

.domain-name {
    color: #fff;
    display: inline-block;
    position: relative; z-index: 1;
    text-shadow: 0 0 60px rgba(251, 191, 36, 0.15), 0 0 120px rgba(251, 191, 36, 0.05);
}

.domain-glow-layer {
    position: absolute;
    top: 0; left: 0;
    color: transparent;
    background: var(--gradient-gold);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    filter: blur(30px);
    opacity: 0.3;
    z-index: 0;
    animation: textGlow 5s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.2; }
    50% { background-position: 100% 50%; opacity: 0.5; }
}

.domain-ext-wrapper { display: inline-block; }

.domain-ext {
    font-family: var(--font-royal);
    background: var(--gradient-royal);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.2));
}

@keyframes shimmerText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tagline with Ornaments */
.domain-tagline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.tagline-ornament {
    flex: 0 0 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

.hero-tagline {
    font-family: var(--font-royal);
    font-size: 1.15rem;
    color: var(--gray-400);
    font-weight: 400;
    font-style: italic;
}

/* ============================================
   DOMAIN VALUE BAR
   ============================================ */

.domain-value-bar {
    display: flex;
    align-items: center; justify-content: center; gap: 20px;
    padding: 20px 24px;
    background: rgba(251, 191, 36, 0.02);
    border: 1px solid rgba(251, 191, 36, 0.08);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.value-item { display: flex; align-items: center; gap: 12px; }

.value-ring {
    position: relative;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}

.value-ring svg {
    position: absolute;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.ring-animate {
    animation: ringDraw 2s ease-out forwards;
    stroke-dashoffset: 138 !important;
}

@keyframes ringDraw {
    from { stroke-dashoffset: 138; }
}

.value-ring-label {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 800;
    color: var(--gold-400);
    z-index: 1;
}

.value-text { display: flex; flex-direction: column; }
.value-title { font-size: 0.8rem; font-weight: 600; color: #fff; white-space: nowrap; }
.value-desc { font-size: 0.7rem; color: var(--gray-500); white-space: nowrap; }
.value-divider { width: 1px; height: 36px; background: rgba(251, 191, 36, 0.08); }

/* ============================================
   CONTACT CARD - ROYAL
   ============================================ */

.contact-card {
    position: relative;
    background: linear-gradient(155deg, rgba(0, 77, 154, 0.95) 0%, rgba(0, 61, 138, 0.98) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: rgba(251, 191, 36, 0.22);
    box-shadow: 0 24px 80px rgba(251, 191, 36, 0.06), 0 0 0 1px rgba(251, 191, 36, 0.08);
}

.card-glow {
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.card-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.02), transparent);
    animation: cardShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardShimmer { 0%, 100% { left: -100%; } 50% { left: 100%; } }

.card-royal-border {
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-lg);
    background: conic-gradient(from 0deg, transparent 0%, rgba(251, 191, 36, 0.15) 10%, transparent 20%, transparent 80%, rgba(251, 191, 36, 0.1) 90%, transparent 100%);
    z-index: 0;
    animation: borderRotate 8s linear infinite;
    pointer-events: none;
}

@keyframes borderRotate { to { transform: rotate(360deg); } }

.card-crown-badge {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    padding: 5px 14px 5px 8px;
    border-radius: 50px;
    font-size: 0.68rem; font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    position: relative; z-index: 1;
}

.card-header { margin-bottom: 20px; position: relative; z-index: 1; }

.card-title {
    font-family: var(--font-royal);
    font-size: 1.5rem; font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.card-subtitle { font-size: 0.88rem; color: var(--gray-400); line-height: 1.5; }
.card-subtitle strong { color: var(--gold-400); }

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; margin-bottom: 18px;
    position: relative; z-index: 1;
}

.trust-item {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 12px;
    background: rgba(251, 191, 36, 0.03);
    border: 1px solid rgba(251, 191, 36, 0.06);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.trust-item:hover {
    background: rgba(251, 191, 36, 0.06);
    border-color: rgba(251, 191, 36, 0.15);
}

.trust-item svg { color: var(--gold-400); flex-shrink: 0; }
.trust-item span { font-size: 0.78rem; font-weight: 600; color: var(--gray-300); }

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.12), transparent);
    margin: 18px 0;
    position: relative; z-index: 1;
}

.email-btn {
    display: flex;
    align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 15px 24px;
    background: var(--gradient-gold);
    color: var(--navy-900);
    border: none; border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer;
    position: relative; overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none; z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.2);
}

.email-btn:hover {
    box-shadow: 0 8px 40px rgba(251, 191, 36, 0.35);
    transform: translateY(-2px);
    color: var(--navy-900);
}

.email-btn:active { transform: translateY(0); }
.email-icon { width: 18px; height: 18px; }

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.email-btn:hover .btn-shine { left: 100%; }

.email-address {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 0.78rem; color: var(--gray-500);
    margin-top: 12px;
    position: relative; z-index: 1;
}

.card-features {
    margin-top: 20px;
    display: flex; flex-direction: column; gap: 8px;
    position: relative; z-index: 1;
}

.card-feature {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.82rem; color: var(--gray-400);
}

.card-feature svg { color: var(--gold-500); flex-shrink: 0; }

/* ============================================
   PHU QUOC COLLECTION SECTION
   ============================================ */

.pq-collection {
    padding: var(--section-padding) 0;
    position: relative;
    background: radial-gradient(circle at 50% 100%, rgba(217, 119, 6, 0.05) 0%, rgba(0, 61, 138, 1) 50%);
}

.pq-collection::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(251, 191, 36, 0.15) 50%, transparent 90%);
}

.pq-collection-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.pq-title {
    font-size: 2.2rem;
    color: var(--gold-400);
}

.pq-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.pq-card {
    position: relative;
    background: linear-gradient(160deg, rgba(0, 77, 154, 0.7) 0%, rgba(0, 61, 138, 0.9) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.pq-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pq-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(251, 191, 36, 0.1);
}

.pq-card-featured {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.08);
    transform: scale(1.05);
    background: linear-gradient(160deg, rgba(0, 77, 154, 0.9) 0%, rgba(0, 61, 138, 0.95) 100%);
}

.pq-card-featured.visible {
    transform: translateY(0) scale(1.05);
}

.pq-card-featured:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(251, 191, 36, 0.15);
}

.pq-card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--transition-smooth);
    opacity: 0;
}

.pq-card:hover .pq-card-glow {
    opacity: 1;
}

.pq-card-featured .pq-card-glow {
    opacity: 1;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 60%);
}

.pq-badge-featured {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--gradient-gold);
    color: var(--navy-950);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pq-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.pq-icon-wrapper {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.pq-card:hover .pq-icon-wrapper {
    background: rgba(251, 191, 36, 0.15);
    transform: scale(1.1);
}

.pq-card-featured .pq-icon-wrapper {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
}

.pq-icon {
    width: 28px; height: 28px;
    color: var(--gold-400);
}

.pq-domain {
    font-family: var(--font-royal);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.pq-card-featured .pq-domain {
    font-size: 1.8rem;
    color: var(--gold-400);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.pq-domain-desc {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pq-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-400);
    background: transparent;
    border: 1px solid var(--gold-600);
    transition: var(--transition-smooth);
    text-decoration: none;
    width: 100%;
}

.pq-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold-300);
}

.pq-btn-gold {
    background: var(--gradient-gold);
    color: var(--navy-950);
    border: none;
}

.pq-btn-gold:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: var(--navy-950);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
}

.section-ornament {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(251, 191, 36, 0.12) 50%, transparent 90%);
}

.features-container {
    max-width: var(--container-width);
    margin: 0 auto; padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-crown {
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
}

.section-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.12);
    padding: 6px 18px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-royal);
    font-size: 2.5rem; font-weight: 700;
    color: #fff; line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc { font-size: 1.05rem; color: var(--gray-400); line-height: 1.7; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    position: relative;
    padding: 40px 28px;
    background: rgba(251, 191, 36, 0.015);
    border: 1px solid rgba(251, 191, 36, 0.06);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    opacity: 0; transform: translateY(40px);
}

.feature-card.visible { opacity: 1; transform: translateY(0); }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    border-color: rgba(251, 191, 36, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(251, 191, 36, 0.03);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
}

.feature-icon-bg {
    position: absolute; inset: 0;
    background: rgba(251, 191, 36, 0.06);
    border-radius: 20px;
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    border: 1px solid rgba(251, 191, 36, 0.08);
}

.feature-card:hover .feature-icon-bg {
    transform: rotate(0deg);
    background: rgba(251, 191, 36, 0.08);
}

.feature-icon { width: 36px; height: 36px; color: var(--gold-400); position: relative; z-index: 1; }
.feature-title { font-family: var(--font-royal); font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.feature-desc { font-size: 0.88rem; color: var(--gray-400); line-height: 1.7; }

/* ============================================
   SECURITY SECTION
   ============================================ */

.security {
    padding: var(--section-padding);
    background: var(--navy-900);
    position: relative; overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
}

.security-container {
    max-width: var(--container-width);
    margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-content .section-badge { display: inline-block; }
.security-content .section-title { text-align: left; margin-bottom: 48px; }

.steps { display: flex; flex-direction: column; gap: 32px; }

.step {
    display: flex; gap: 20px; align-items: flex-start;
    opacity: 0; transform: translateX(-30px);
    transition: var(--transition-smooth);
}

.step.visible { opacity: 1; transform: translateX(0); }

.step-number {
    font-family: var(--font-royal);
    font-size: 2rem; font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0; line-height: 1; min-width: 46px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.2));
}

.step-title { font-family: var(--font-royal); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.step-desc { font-size: 0.88rem; color: var(--gray-400); line-height: 1.6; }

/* Shield Visual */
.security-visual {
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.9);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-visual.visible { opacity: 1; transform: scale(1); }

.shield-container {
    position: relative;
    width: 280px; height: 320px;
    display: flex; align-items: center; justify-content: center;
}

.shield-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

.shield-svg {
    width: 180px; height: 220px;
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.08));
}

.shield-check {
    stroke-dasharray: 120; stroke-dashoffset: 120;
    animation: drawCheck 1.5s ease-out forwards 0.5s;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.floating-badge {
    position: absolute;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 61, 138, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 50px;
    font-size: 0.72rem; font-weight: 600;
    color: var(--gold-300);
    backdrop-filter: blur(10px);
    animation: floatBadge 4s ease-in-out infinite;
    white-space: nowrap;
}

.fb-1 { top: 30px; right: -10px; animation-delay: 0s; }
.fb-2 { bottom: 60px; left: -10px; animation-delay: 1.3s; }
.fb-3 { top: 80px; left: -20px; animation-delay: 2.6s; }

@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
}

.cta-container {
    max-width: 680px;
    margin: 0 auto; padding: 56px 40px;
    text-align: center; position: relative;
    background: rgba(251, 191, 36, 0.015);
    border: 1px solid rgba(251, 191, 36, 0.08);
    border-radius: var(--border-radius-lg);
}

.cta-glow {
    position: absolute;
    top: -150px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-crown {
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.3));
}

.cta-title {
    font-family: var(--font-royal);
    font-size: 2.2rem; font-weight: 700;
    color: #fff; margin-bottom: 16px;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc { font-size: 1rem; color: var(--gray-400); margin-bottom: 32px; line-height: 1.7; }

.cta-btn {
    display: inline-flex;
    align-items: center; justify-content: center; gap: 10px;
    padding: 16px 40px;
    background: var(--gradient-gold);
    color: var(--navy-900); border: none; border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; position: relative; overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.04em;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.35);
    color: var(--navy-900);
}

.cta-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);
    transition: 0.6s;
}

.cta-btn:hover .btn-shine { left: 100%; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 60px 0 0;
    background: var(--navy-900);
    border-top: 1px solid rgba(251, 191, 36, 0.05);
}

.footer-container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-desc { font-size: 0.88rem; color: var(--gray-500); margin-top: 16px; line-height: 1.7; max-width: 280px; }

.footer-links-title {
    font-family: var(--font-royal);
    font-size: 0.82rem; font-weight: 600;
    color: var(--gold-400);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.85rem; color: var(--gray-500); }
.footer-link:hover { color: var(--gold-400); padding-left: 4px; }

.footer-bottom {
    display: flex;
    justify-content: space-between; align-items: center;
    padding: 20px 0;
    font-size: 0.78rem; color: var(--gray-600);
}

.footer-note a { color: var(--gold-500); }
.footer-note a:hover { text-decoration: underline; }

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-delay-1 { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.7s ease-out forwards 0.2s; }
.animate-fade-in-delay-3 { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease-out forwards 0.5s; }
.animate-slide-up { opacity: 0; transform: translateY(40px); animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Security Toast */
.security-toast {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: rgba(0, 61, 138, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 50px;
    color: var(--gold-300);
    font-size: 0.82rem; font-weight: 500;
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.08);
}

.security-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.security-toast svg { color: var(--gold-400); flex-shrink: 0; }

/* Ripple */
.ripple-effect {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    color: var(--gold-400);
    font-weight: 200;
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Cursor Glow */
.hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
    left: var(--cursor-x, -300px);
    top: var(--cursor-y, -300px);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: var(--cursor-opacity, 0);
    z-index: 0;
}

/* ============================================
   RESPONSIVE - TABLET (1024px)
   ============================================ */

@media (max-width: 1024px) {
    .hero-title { font-size: 4.2rem; }

    .royal-badge { justify-content: center; }
    .domain-tagline-row { justify-content: center; }

    .domain-value-bar {
        justify-content: center;
        max-width: 520px;
        margin: 0 auto;
    }

    .security-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .security-content .section-title { text-align: center; }
    .security-content .section-badge { text-align: center; display: block; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pq-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

    .hero-ornament-left, .hero-ornament-right { display: none; }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-content { padding: 0 16px; }
    .hero-title { font-size: 3rem; }

    .domain-royal-frame { padding: 20px 16px; margin: 0; }
    .frame-corner { width: 16px; height: 16px; }

    .domain-value-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 20px;
    }

    .value-item { justify-content: flex-start; }
    .value-divider { width: 100%; height: 1px; }

    .contact-card { padding: 24px; }
    .hero-right { max-width: 100%; }

    .features-grid { grid-template-columns: 1fr; }
    .pq-grid { grid-template-columns: 1fr; }
    .pq-card-featured { transform: scale(1); }
    .pq-card-featured.visible { transform: translateY(0) scale(1); }
    .pq-card-featured:hover { transform: translateY(-8px) scale(1); }
    .features-container, .security-container, .footer-container, .pq-collection-container { padding: 0 16px; }

    .section-title { font-size: 1.8rem; }
    .section-badge { font-size: 0.65rem; }

    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .cta-container { margin: 0 16px; padding: 40px 24px; }
    .cta-title { font-size: 1.5rem; }
    .cta-btn { width: 100%; padding: 16px; }

    .security-toast { font-size: 0.72rem; padding: 10px 18px; bottom: 16px; }
    .security-container { gap: 40px; }

    .shield-container { width: 220px; height: 260px; }
    .shield-svg { width: 140px; height: 170px; }
    .floating-badge { font-size: 0.65rem; padding: 6px 10px; }
    .fb-3 { left: -5px; }

    .step { gap: 14px; }
    .step-number { font-size: 1.6rem; min-width: 36px; }
    .step-title { font-size: 1rem; }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px)
   ============================================ */

@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 0.75rem; }
    .hero-tagline { font-size: 0.95rem; }

    .contact-card { padding: 20px; }
    .trust-grid { grid-template-columns: 1fr; }
    .card-title { font-size: 1.3rem; }
    .card-subtitle { font-size: 0.82rem; }

    .nav-container { padding: 0 16px; }
    .logo-text { font-size: 1.1rem; }
    .logo-crown { width: 26px; height: 20px; }

    .email-btn { font-size: 0.85rem; padding: 14px 20px; }

    .domain-royal-frame { padding: 16px 10px; }
    .frame-corner { width: 12px; height: 12px; }
    .tagline-ornament { flex: 0 0 20px; }

    .feature-card { padding: 28px 20px; }
    .feature-icon-wrapper { width: 64px; height: 64px; }
    .feature-icon { width: 28px; height: 28px; }
    .feature-title { font-size: 1.05rem; }
    .feature-desc { font-size: 0.82rem; }

    .cta-title { font-size: 1.3rem; }
    .cta-desc { font-size: 0.88rem; }
    .cta-crown svg { width: 36px; height: 27px; }
}

/* ============================================
   LEGAL POPUP - ROYAL PREMIUM
   ============================================ */

.legal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
}

.legal-overlay.active {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.legal-popup {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    background: linear-gradient(160deg, rgba(12, 20, 37, 0.98) 0%, rgba(3, 7, 18, 0.99) 100%);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;

    /* Entrance animation */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(251, 191, 36, 0.06),
                0 0 80px rgba(251, 191, 36, 0.04);
}

.legal-overlay.active .legal-popup {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Closing animation */
.legal-overlay.closing .legal-popup {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.legal-overlay.closing {
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.legal-popup-glow {
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.legal-popup-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 32px 18px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.legal-popup-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 14px;
    color: var(--gold-400);
    animation: popupIconPulse 2s ease-in-out infinite;
}

@keyframes popupIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
    50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.08); }
}

.legal-popup-title-group { flex: 1; }

.legal-popup-title {
    font-family: var(--font-royal);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.legal-popup-date {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin: 4px 0 0;
}

.legal-popup-close {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition-fast);
}

.legal-popup-close:hover {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
    color: var(--gold-400);
    transform: rotate(90deg);
}

.legal-popup-divider {
    height: 1px;
    margin: 0 32px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.12), transparent);
    flex-shrink: 0;
}

/* Body - Scrollable */
.legal-popup-body {
    padding: 24px 32px 32px;
    overflow-y: auto;
    flex: 1;
    position: relative;
    z-index: 1;
}

.legal-popup-body::-webkit-scrollbar { width: 4px; }
.legal-popup-body::-webkit-scrollbar-track { background: transparent; }
.legal-popup-body::-webkit-scrollbar-thumb { background: var(--gold-700); border-radius: 2px; }

/* Section styles inside popup */
.legal-section {
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(12px);
    animation: legalSectionIn 0.4s ease-out forwards;
}

.legal-section:last-child { margin-bottom: 0; }

@keyframes legalSectionIn {
    to { opacity: 1; transform: translateY(0); }
}

.legal-section-heading {
    font-family: var(--font-royal);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.06);
}

.legal-section-content {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.75;
}

.legal-section-content ul {
    padding-left: 20px;
    margin: 10px 0;
}

.legal-section-content ul li {
    margin-bottom: 8px;
    position: relative;
}

.legal-section-content ul li::marker {
    color: var(--gold-500);
}

.legal-section-content strong {
    color: var(--gray-300);
}

.legal-section-content p {
    margin: 10px 0;
}

.legal-section-content a {
    color: var(--gold-400);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section-content a:hover {
    color: var(--gold-300);
}

.legal-section-content code {
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--gold-400);
}

/* Tables inside popup */
.legal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 12px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.08);
}

.legal-table th, .legal-table td {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.legal-table th {
    background: rgba(251, 191, 36, 0.06);
    color: var(--gold-300);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.legal-table td {
    color: var(--gray-400);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: rgba(251, 191, 36, 0.02);
}

/* Responsive popup */
@media (max-width: 768px) {
    .legal-overlay { padding: 12px; }

    .legal-popup {
        max-height: 90vh;
        border-radius: 18px;
    }

    .legal-popup-header {
        padding: 20px 20px 14px;
        gap: 12px;
    }

    .legal-popup-icon {
        width: 44px; height: 44px;
        border-radius: 12px;
    }

    .legal-popup-icon svg {
        width: 22px; height: 22px;
    }

    .legal-popup-title { font-size: 1.2rem; }
    .legal-popup-divider { margin: 0 20px; }
    .legal-popup-body { padding: 18px 20px 24px; }

    .legal-section-heading { font-size: 0.95rem; }
    .legal-section-content { font-size: 0.82rem; }

    .legal-table th, .legal-table td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-overlay { padding: 8px; }

    .legal-popup-header {
        flex-wrap: wrap;
        padding: 16px 16px 12px;
    }

    .legal-popup-icon {
        width: 38px; height: 38px;
        border-radius: 10px;
    }

    .legal-popup-title { font-size: 1.1rem; }
    .legal-popup-close { width: 34px; height: 34px; }
    .legal-popup-divider { margin: 0 16px; }
    .legal-popup-body { padding: 14px 16px 20px; }
}

/* Body scroll lock */
body.popup-open {
    overflow: hidden;
}

/* ============================================
   SCROLLBAR & SELECTION
   ============================================ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--gold-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }
::selection { background: rgba(251, 191, 36, 0.25); color: #fff; }
