/* --- Variables & Reset --- */
:root {
    --bg-dark: #05050A;
    /* Deeper black */
    --text-primary: #ffffff;
    --text-gray: #a1a1aa;

    /* Refined Gradients */
    --primary-gradient: linear-gradient(135deg, #FF0080, #7928CA);
    --secondary-gradient: linear-gradient(135deg, #00C6FF, #0072FF);
    --accent-gradient: linear-gradient(135deg, #00F260, #0575E6);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --neon-pink: #FF0080;
    --card-hover-bg: rgba(255, 255, 255, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    /* Noise Texture REMOVED for performance */
    background-image: none;
    background: radial-gradient(circle at 50% 0%, #1a1a2e, var(--bg-dark));
}

/* --- Typography & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled {
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 10;
}

.btn-small {
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-small:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.6);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
    gap: 80px;
}

/* Animated Blobs */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.5;
    animation: float 15s ease-in-out infinite;
    mix-blend-mode: screen;
    /* Vibrant blending */
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: #7928CA;
    top: -10%;
    right: -10%;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: #FF0080;
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
    opacity: 0.4;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: #00C6FF;
    top: 40%;
    left: 40%;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -60px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 0, 128, 0.08);
    /* More subtle */
    color: #ff80bf;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 0, 128, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 45px;
    max-width: 540px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.rating {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    gap: 3px;
}

/* Button Styles */
.btn-download {
    display: inline-flex;
    align-items: center;
    background: white;
    /* Fallback */
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000;
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-download:hover {
    color: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 0, 128, 0.5);
}

.btn-download:active {
    transform: translateY(-2px) scale(0.98);
}

/* .btn-download.permanent-glow { } - Reserved for future specific styling */

/* On hover, fill with gradient */
.btn-download:hover::before {
    opacity: 1;
}

.btn-download i {
    font-size: 2rem;
    margin-right: 16px;
    transition: transform 0.3s;
}

.btn-download:hover i {
    transform: rotate(-10deg) scale(1.1);
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.btn-text span:first-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Phone Mockup */
.phone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 55px;
    border: 10px solid #2a2a2a;
    position: relative;
    box-shadow:
        0 0 0 2px #444,
        /* Outline */
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        /* Drop shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    /* Inner glare */
    transform: rotate(-6deg);
    z-index: 10;
    transition: transform 0.1s ease-out;
    /* For parallax smoothness */
}

.screen {
    width: 100%;
    height: 100%;
    background: #121225;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Inner elements of phone mockup can stay mostly same, just slight refinement */
.status-bar {
    padding: 15px 25px 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.status-bar .icons i {
    font-size: 0.85em;
    /* Smaller icons */
    margin-left: 4px;
}

.radar-view,
.chat-view,
.profile-view {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

/* Radar Animation Improvements */
.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 50%;
    animation: pulseRadar 3s infinite linear;
}

.c1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
    border-color: rgba(255, 0, 128, 0.5);
}

.c2 {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
    opacity: 0.5;
}

.c3 {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
    opacity: 0.3;
}

@keyframes pulseRadar {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.user-dot {
    width: 20px;
    height: 20px;
    background: var(--neon-pink);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--neon-pink);
    z-index: 5;
}

.neighbor-dot {
    width: 12px;
    height: 12px;
    background: #00C6FF;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px #00C6FF;
    animation: blink 4s infinite;
}

.n1 {
    top: 35%;
    left: 65%;
    animation-delay: 0.5s;
}

.n2 {
    top: 60%;
    left: 25%;
    animation-delay: 1.5s;
}

.n3 {
    top: 75%;
    left: 70%;
    animation-delay: 2.5s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.match-notification {
    /* Refined glassmorphism */
    background: rgba(20, 20, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-nav {
    height: 80px;
    background: rgba(18, 18, 37, 0.95);
    /* Slightly visible bg */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.5rem;
    color: #555;
    margin-top: auto;
}

.bottom-nav i {
    transition: 0.3s;
}

.bottom-nav .active {
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5);
}


/* --- Screens Section --- */
.screens-section {
    padding: 140px 0;
    position: relative;
    /* background: linear-gradient(180deg, var(--bg-dark), #0d0d1f, var(--bg-dark)); */
}

.screens-header {
    text-align: center;
    margin-bottom: 80px;
}

.screens-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.screens-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.screen-card {
    width: 290px;
    height: 580px;
    border-radius: 40px;
    border: 8px solid #222;
    background: #111;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    position: relative;
}

.screen-card:hover {
    transform: translateY(-20px) rotateY(5deg);
    box-shadow: 0 50px 80px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.screen-inner {
    width: 100%;
    height: 100%;
    background: #121225;
    display: flex;
    flex-direction: column;
}

.app-nav {
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #222;
    margin-top: auto;
    color: #555;
    font-size: 1.2rem;
}

.nav-icon.active {
    color: var(--neon-pink);
}

/* Chat Screen Mockup Details */
.chat-row {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 15px;
}

.chat-row.right {
    justify-content: flex-end;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    flex-shrink: 0;
}

.msg-box {
    background: #2a2a35;
    padding: 12px 15px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    min-width: 120px;
}

.msg-right {
    background: var(--primary-gradient);
    color: white;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 18px;
}

.msg-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 6px;
    width: 100%;
}

.msg-line.short {
    width: 60%;
}

/* Profile Screen Mockup Details */
.profile-view {
    padding: 30px 20px;
    align-items: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #FF0080, #7928CA);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.p-line {
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin-bottom: 10px;
}

.name-line {
    width: 140px;
    height: 16px;
    background: #fff;
    margin-bottom: 20px;
}

.bio-line {
    width: 220px;
}

.bio-line-2 {
    width: 180px;
}

.settings-row {
    width: 100%;
    height: 50px;
    background: #1a1a22;
    border-radius: 12px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 15px;
}

.s-icon {
    width: 24px;
    height: 24px;
    background: #333;
    border-radius: 6px;
}

.s-text {
    width: 100px;
    height: 8px;
    background: #333;
    border-radius: 4px;
}


/* --- Detailed Features (Glassmorphism Cards) --- */
.detailed-features {
    padding: 60px 0 120px;
    position: relative;
    z-index: 2;
}

.why-us-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 70px;
    font-weight: 800;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Hover Glare Effect */
.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    transform: translate(-30px, -30px);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow);
}

.feature-item:hover::before {
    opacity: 1;
}

.f-icon {
    width: 60px;
    height: 60px;
    background: #1a1a2e;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--neon-pink);
    /* Default icon color */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-item:hover .f-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4);
}

/* Alternate icon colors for variety could go here, but consistent pink branding is good too */

.f-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.f-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* --- Stats --- */
.stats {
    padding: 50px 0 140px;
}

.stats-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 70px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Subtle shine bar animation for stats */
.stats-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {

    0%,
    40% {
        left: -100%;
    }

    50% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.stat-item {
    z-index: 1;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Footer --- */
.cta-footer {
    padding: 160px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #111122, var(--bg-dark));
    position: relative;
    overflow: hidden;
}

.footer-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(closest-side, rgba(255, 0, 128, 0.15), transparent);
    pointer-events: none;
}

.cta-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.cta-footer h2 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.footer-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.footer-cta-wrapper {
    margin-bottom: 80px;
}

.btn-download.large {
    padding: 22px 50px;
}

.btn-download.large .store-name {
    font-size: 1.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
    margin-top: 50px;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-pink);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.pulse-anim {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.6);
    }

    70% {
        box-shadow: 0 0 0 30px rgba(255, 0, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0);
    }
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: 1s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 968px) {
    .navbar {
        padding: 15px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .phone-mockup {
        width: 300px;
        height: 600px;
        transform: rotate(0);
        margin: 0 auto;
    }

    .screens-container {
        padding: 0 20px;
    }

    .screen-card {
        margin-bottom: 30px;
    }

    .stats-glass {
        flex-direction: column;
        padding: 40px;
    }

    .cta-footer h2 {
        font-size: 2.5rem;
    }
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 440px;
    background: rgba(18, 18, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
}

.cookie-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-text {
    font-size: 14px;
    color: #d1d1d1;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--neon-pink);
    text-decoration: none;
    border-bottom: 1px dotted var(--neon-pink);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: white;
    color: black;
}

.cookie-btn.decline {
    background: transparent;
    color: #aaa;
    border: 1px solid #444;
}

.cookie-btn:hover {
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .cookie-notification {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}

.copyright a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--neon-pink);
}

/* --- Legal / Privacy Page Styles --- */
.legal-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #1a1a2e, var(--bg-dark));
}

.legal-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: inherit;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tab.active {
    background: var(--neon-pink);
    color: white;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

.tab-content {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 30px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.tab-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.tab-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.tab-content ul,
.tab-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-gray);
}

.tab-content li {
    margin-bottom: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab {
        width: 100%;
        text-align: center;
    }

    .tab-content {
        padding: 25px;
    }
}