:root {
    --bg-color: #0c0c0c;
    --grid-color: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-orange: #FF5722;
    --accent-yellow: #FFC107;
    --accent-green: #009B3A;
    --font-heading: 'Impact', 'Oswald', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Nav */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links a,
.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--accent-yellow);
}

/* Hero Grid Background */
.hero-grid {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 2rem;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Typography */
.giant-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 9vw, 10rem);
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.text-accent {
    color: var(--text-primary);
    /* Keep it white/black based on design, maybe change later */
}

.text-white {
    color: var(--text-primary);
}

.text-hot {
    color: var(--text-primary);
    /* Currently keeping uniform, or can add distinct color */
}

/* Sub Hero Stats */
.sub-hero {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 150px;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-preview {
    width: 320px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.hero-app-preview:hover {
    transform: rotate(-5deg) scale(1.02);
}

/* Floating Elements */
.floating-sticker {
    position: absolute;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.sticker-1 {
    top: 15%;
    right: calc(50% + 120px);
    width: 140px;
    transform: rotate(-15deg);
    z-index: 3;
}

.sticker-2 {
    bottom: 20%;
    left: calc(50% + 120px);
    width: 160px;
    animation-delay: 2s;
    transform: rotate(15deg);
    z-index: 3;
}

.floating-sticker img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-15deg);
    }

    50% {
        transform: translateY(-20px) rotate(-10deg);
    }
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    z-index: 10;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0;
    /* Square buttons per robust design style? Or keep rounded? Let's go somewhat sharp */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background: #e64a19;
}

.btn-outline {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}


/* Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.stickers-section,
.screenshots-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Pack Showcase - Featured + Gallery Layout */
.pack-showcase {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.featured-pack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    flex-shrink: 0;
}

.featured-image {
    width: 300px;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.featured-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pack-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.featured-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

.featured-meta {
    margin: 0.5rem 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.featured-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Gallery Cards */
.pack-gallery-wrapper {
    flex: 1;
    overflow: hidden;
}

.pack-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.pack-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    flex-shrink: 0;
    width: 180px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-card.active {
    border-color: var(--accent-green);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Gallery Navigation */
.gallery-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.pack-indicator {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 300;
    margin-left: auto;
}

/* Mobile responsive for pack showcase */
@media (max-width: 900px) {
    .pack-showcase {
        flex-direction: column;
    }

    .featured-pack {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .featured-image {
        width: 250px;
        height: 300px;
    }

    .featured-description {
        max-width: 100%;
    }

    .gallery-card {
        width: 150px;
        height: 200px;
    }
}

/* Mobile responsive for carousel */
@media (max-width: 768px) {
    .pack-carousel {
        flex-direction: column;
    }

    .carousel-dots {
        flex-direction: row;
        order: 2;
    }

    .carousel-slide {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .pack-image {
        width: 180px;
        height: 180px;
    }

    .pack-info {
        align-items: center;
    }

    .pack-description {
        text-align: center;
    }

    .pack-meta {
        justify-content: center;
    }
}

.screenshots-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    justify-content: center;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 280px;
    max-width: 320px;
    background: linear-gradient(145deg, #1a2e1a, #0d1f0d);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #333;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sub-hero {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .giant-text {
        font-size: 15vw;
    }

    .hero-cta {
        position: static;
        justify-content: center;
        margin-top: 3rem;
    }

    .glass-nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .sticker-1 {
        right: auto;
        left: 0;
        top: -20px;
        width: 100px;
    }

    .sticker-2 {
        left: auto;
        right: 0;
        bottom: -20px;
        width: 120px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up-prepare {
    opacity: 0;
    transform: translateY(20px);
}