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

/* ===== BASE ===== */
body {
    font-family: 'Poppins', sans-serif;
    background: #0d0d0d;
    color: #cdcdcd;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: rgba(8, 8, 8, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: padding 0.3s ease;
}

/* Shrink on scroll */
.navbar.scrolled .navbar-inner {
    padding: 10px 28px;
    background: rgba(6, 6, 6, 0.82);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00C6A7;
    flex-shrink: 0;
}

/* Desktop links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: rgba(205, 205, 205, 0.7);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.nav-yt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.nav-yt:hover {
    background: rgba(255, 0, 0, 0.22);
    color: #ff4444;
    border-color: rgba(255, 0, 0, 0.35);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #cdcdcd;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px 14px;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
    max-height: 200px;
    opacity: 1;
}

.mobile-link {
    text-decoration: none;
    color: rgba(205, 205, 205, 0.8);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.mobile-link:hover, .mobile-link:active {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.mobile-link-yt {
    color: #ff6b6b;
}

.mobile-link-yt:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

/* ===== HERO ===== */
main.hero {
    flex: 1;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 24px 80px;
    max-width: 780px;
    width: 100%;
    gap: 28px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 700;
    line-height: 1.06;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
    animation: fadeUp 0.6s ease both;
}

/* ===== DESCRIPTION CARD ===== */
.desc-card {
    background: rgba(5, 5, 5, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #00C6A7;
    border-radius: 6px;
    padding: 22px 30px;
    font-size: 0.97rem;
    line-height: 1.8;
    color: rgba(220, 220, 220, 0.85);
    text-align: left;
    max-width: 640px;
    width: 100%;
    backdrop-filter: blur(8px);
    animation: fadeUp 0.6s 0.1s ease both;
}

.featured-packs-card {
    text-align: left;
}

.featured-pack-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-pack-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-pack-row span {
    color: #fff;
    font-weight: 600;
}

.featured-pack-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.featured-pack-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 5px;
    border: 1px solid rgba(0, 198, 167, 0.35);
    background: rgba(0, 198, 167, 0.1);
    color: #00C6A7;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.featured-pack-actions a:hover {
    background: #00C6A7;
    color: #000;
    transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.6s 0.18s ease both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.btn-primary { background: #00C6A7; color: #000; }
.btn-primary:hover { background: #00deba; transform: translateY(-2px); }

.btn-youtube { background: #FF0000; color: #fff; border: none; }
.btn-youtube:hover { background: #cc0000; transform: translateY(-2px); }

/* ===== FEATURED SECTION ===== */
.featured-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 780px;
    animation: fadeUp 0.6s 0.12s ease both;
}

.featured-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.featured-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00C6A7;
}

.featured-heading strong {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}

/* ===== PACK CARD (shared with textures.html) ===== */
.pack-card {
    background: #161616;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pack-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,198,167,0.28);
    box-shadow: 0 8px 28px rgba(0,0,0,0.38);
}

.pack-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pack-icon {
    width: 40px; height: 40px;
    background: rgba(0,198,167,0.08);
    border: 1px solid rgba(0,198,167,0.18);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.65rem; font-weight: 700;
    color: #00C6A7; letter-spacing: 0.5px;
}

.pack-badge {
    font-size: 0.65rem; font-weight: 600;
    padding: 3px 9px; border-radius: 100px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-teal  { background: rgba(0,198,167,0.13);   color: #00C6A7; }
.badge-grey  { background: rgba(255,255,255,0.06);  color: rgba(205,205,205,0.5); }
.badge-blue  { background: rgba(80,160,255,0.13);   color: #78b8ff; }
.badge-red   { background: rgba(255,80,80,0.13);    color: #ff8080; }
.badge-pink  { background: rgba(255,130,200,0.13);  color: #ff99d6; }

.pack-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #fff; letter-spacing: 0.2px;
}

.pack-res {
    font-size: 0.72rem !important;
    color: rgba(205,205,205,0.3) !important;
    letter-spacing: 0.3px;
    margin-top: -4px;
}

.pack-card p {
    font-size: 0.81rem;
    color: rgba(205,205,205,0.5);
    line-height: 1.65;
    flex: 1;
}

.pack-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.dl-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: #00C6A7; color: #000;
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.81rem;
    padding: 9px 18px; border-radius: 5px;
    text-decoration: none; transition: background 0.18s, transform 0.18s;
    flex: 1; justify-content: center;
}
.dl-btn:hover { background: #00deba; transform: translateY(-1px); }

.dl-btn-outline {
    background: transparent;
    color: rgba(205,205,205,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
}
.dl-btn-outline:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

.pack-desc-hidden {
    display: none !important;
}

/* ===== FOOTER ===== */
footer {
    width: 100%;
    box-sizing: border-box;
    background: #000000;
    color: #cdcdcd;
    text-align: center;
    padding: 26px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .navbar-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .navbar-inner { padding: 13px 18px; }
    .navbar.scrolled .navbar-inner { padding: 10px 18px; }

    .hero-content {
        padding: 90px 18px 60px;
        gap: 22px;
    }
    h1 { font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.5px; }
    .desc-card { padding: 16px 18px; font-size: 0.9rem; }
    .cta-row { gap: 10px; width: 100%; }
    .btn { flex: 1; justify-content: center; min-width: 140px; }

    .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .navbar-inner { padding: 12px 16px; }
    .navbar-brand { font-size: 0.95rem; }

    .hero-content { padding: 80px 16px 48px; gap: 18px; }
    h1 { font-size: clamp(1.8rem, 10vw, 2.4rem); }
    .desc-card { padding: 14px 16px; font-size: 0.87rem; }
    .featured-pack-row { align-items: flex-start; flex-direction: column; }
    .featured-pack-actions { width: 100%; justify-content: flex-start; }
    .featured-pack-actions a { flex: 1; }
    .cta-row { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 0.9rem; }
    footer {
    width: 100%;
    box-sizing: border-box; font-size: 0.78rem; padding: 20px 16px; }
}

@media (max-width: 360px) {
    .navbar-brand { font-size: 0.88rem; }
    .hero-content { padding: 76px 12px 40px; }
    h1 { font-size: 1.7rem; }
    .desc-card { font-size: 0.82rem; padding: 12px 14px; }
}

