:root {
    --bg-main: #0F172A; /* Deep slate background */
    --bg-soft: #1E293B;
    --primary: #FDE047; /* Bright yellow */
    --accent: #F472B6; /* Pink accent */
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 2px;
}

/* Magic Dust Background */
#magic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.4);
}

.shine-text {
    background: linear-gradient(90deg, var(--primary), #fff, var(--primary));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--primary);
}

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

/* Hero Section */
.hero-parallax {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('image-one.jpg'); /* The specified background */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), var(--bg-main));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    background: rgba(253, 224, 71, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 6rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(253, 224, 71, 0.6), 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    line-height: 1;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Luckiest Guy', cursive;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(253, 224, 71, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(253, 224, 71, 0.8);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--bg-main);
}

/* Social Hero & CA Copier */
.social-hero {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-btn:hover {
    transform: translateY(-5px);
}

.telegram-btn:hover {
    background: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.x-btn:hover {
    background: #000;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.ca-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
    border-radius: 50px;
    margin: 0 auto 30px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.ca-label {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary);
    margin-right: 10px;
    letter-spacing: 1px;
}

code#ca-text {
    font-family: monospace;
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: var(--primary);
    color: var(--bg-main);
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-family: 'Luckiest Guy', cursive;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.copy-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #4ade80; /* Green success */
    color: #064e3b;
}

/* Split Section */
.split-section {
    display: flex;
    align-items: center;
    padding: 100px 5%;
    gap: 50px;
    position: relative;
    z-index: 10;
}

.text-block {
    flex: 1;
}

.image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.text-block h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(253, 224, 71, 0.3);
    z-index: -1;
}

.story-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.story-card {
    background: var(--bg-soft);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.story-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
}

.story-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.story-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.story-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Image Frame */
.frame {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.frame-border {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: 30px;
    z-index: 0;
    transition: all 0.4s ease;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253,224,71,0.2) 0%, rgba(253,224,71,0) 70%);
    z-index: -1;
    animation: slow-pulse 4s infinite;
}

.parallax-img {
    width: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.frame:hover .parallax-img {
    transform: translate(-10px, -10px);
}

.frame:hover .frame-border {
    transform: translate(10px, 10px);
    border-color: var(--primary);
}

/* Banner Breaker */
.banner-breaker {
    background: var(--accent);
    text-align: center;
    position: relative;
    margin-top: 50px;
}

.banner-content {
    padding: 80px 20px 40px;
}

.banner-breaker h2 {
    font-size: 4rem;
    color: #fff;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* Gallery Showcase */
.gallery-showcase {
    padding: 100px 5%;
    background: var(--bg-soft);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 4rem;
    color: var(--primary);
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.masonry-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    width: 45%;
}

.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.view-text {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2rem;
    color: var(--primary);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.gallery-item:hover .view-text {
    transform: translateY(0);
}

/* Footer */
footer {
    background: #0B1120;
    padding: 60px 5% 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.social-links {
    margin-bottom: 40px;
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: var(--bg-soft);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--bg-main);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* --- ANIMATIONS --- */

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes slow-pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
}

.wobble:hover {
    animation: wobble-anim 0.8s ease-in-out infinite alternate;
}

@keyframes wobble-anim {
    0% { transform: rotate(-2deg); }
    100% { transform: rotate(2deg); }
}

.wiggle-on-hover:hover {
    animation: text-wiggle 0.5s ease-in-out infinite;
}

@keyframes text-wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* Scroll Animations Initial State */
.fade-up, .fade-up-delay, .fade-up-delay-2, .slide-in-left, .slide-in-right, .zoom-in, .pop-in {
    opacity: 0;
    visibility: hidden;
}

.bounce-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bounce-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up-delay {
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.fade-up-delay-2 {
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.fade-up.active, .fade-up-delay.active, .fade-up-delay-2.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide-in-left {
    transform: translateX(-50px);
    transition: all 1s ease;
}

.slide-in-right {
    transform: translateX(50px);
    transition: all 1s ease;
}

.slide-in-left.active, .slide-in-right.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.zoom-in.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.pop-in {
    transform: scale(0.8) translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pop-in.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 3rem;
    z-index: 5;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.8));
}

.bolt-1 { top: 20%; left: 15%; animation-delay: 0s; }
.bolt-2 { bottom: 30%; right: 15%; animation-delay: 2s; font-size: 2rem; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 900px) {
    .glass-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.9rem;
    }

    .hero-content {
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .ca-container {
        flex-direction: column;
        border-radius: 15px;
        padding: 10px;
    }

    code#ca-text {
        font-size: 0.8rem;
        word-break: break-all;
        text-align: center;
    }

    .split-section {
        flex-direction: column;
        padding-top: 50px;
    }
    
    .text-block h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .banner-breaker h2 {
        font-size: 2.5rem;
    }
    
    .masonry-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-item {
        width: 90%;
    }
}
