/* ============================================
   SUMMER SUNSET GIVEAWAY - STYLES
   ============================================
   Color Palette (easy to edit):
   --sunset-orange: #ff7e5f
   --sunset-coral:  #feb47b
   --sunset-pink:   #ff6b9d
   --sunset-purple: #c084fc
   --sunset-blue:   #7dd3fc
   --cream:         #fff5f0
   --dark:          #2d1b2e
   ============================================ */

:root {
    /* === EDIT COLORS HERE === */
    --color-primary: #ff7e5f;
    --color-secondary: #feb47b;
    --color-accent: #ff6b9d;
    --color-purple: #c084fc;
    --color-blue: #7dd3fc;
    --color-cream: #fff5f0;
    --color-dark: #2d1b2e;
    --color-text: #4a3f4a;
    --color-text-light: #7a6e7a;
    --color-white: #ffffff;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(45, 27, 46, 0.08);
    --shadow-hover: 0 12px 40px rgba(45, 27, 46, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   SUMMER SUNSET HERO
============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    /* First image */
    background-image: url("images/12.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    isolation: isolate;
}

/* Animated background zoom */
.hero::before {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: -3;

    background-image: url("images/12.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    animation: sunsetZoom 18s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* Warm cinematic overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(
            circle at 50% 43%,
            rgba(255, 214, 120, 0.08) 0%,
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(255, 126, 95, 0.08) 0%,
            rgba(255, 90, 40, 0.08) 45%,
            rgba(35, 12, 18, 0.28) 100%
        );
}

/* Slow cinematic movement */
@keyframes sunsetZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.07);
    }
}


/* ============================================
   HERO BACKGROUND EFFECTS
============================================ */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Soft moving sunlight */
.hero__bg::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 42%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 230, 150, 0.22) 0%,
        rgba(255, 180, 80, 0.10) 30%,
        transparent 70%
    );

    filter: blur(20px);
    animation: sunGlow 6s ease-in-out infinite alternate;
}

@keyframes sunGlow {
    0% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.12);
    }
}


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

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;

    width: 5px;
    height: 5px;

    background: rgba(255, 245, 210, 0.75);

    box-shadow:
        0 0 8px rgba(255, 230, 150, 0.9),
        0 0 18px rgba(255, 180, 80, 0.5);

    /*
     * IMPORTANT:
     * Do not put floatParticle and sparkleParticle on the
     * same element. Both animations change "transform", so
     * they fight each other and can stop the falling motion.
     * The falling motion stays on .particle and the sparkle
     * animation is moved to the pseudo-element below.
     */
    animation: floatParticle var(--particle-duration, 12s) linear infinite;

    pointer-events: none;

    will-change: transform, opacity;
}

.particle::after {
    content: "";
    position: absolute;
    inset: -3px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 0 8px rgba(255, 230, 150, 0.85),
        0 0 16px rgba(255, 180, 80, 0.45);

    animation: sparkleParticle 2.5s ease-in-out infinite alternate;

    pointer-events: none;
}

@keyframes floatParticle {
    0% {
        transform: translate3d(0, 105vh, 0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        transform: translate3d(-10px, 70vh, 0) scale(0.85);
    }

    50% {
        transform: translate3d(20px, 45vh, 0) scale(1);
    }

    70% {
        transform: translate3d(-12px, 20vh, 0) scale(0.9);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate3d(-20px, -10vh, 0) scale(0.5);
        opacity: 0;
    }
}

@keyframes sparkleParticle {
    0% {
        opacity: 0.25;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1.3);
    }
}


/* ============================================
   HERO CONTENT
============================================ */

.hero__content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 900px;

    padding: 80px 24px;

    animation: heroContentIn 1.2s cubic-bezier(.16,1,.3,1) both;
}

@keyframes heroContentIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.96);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


/* ============================================
   SMALL BADGE
============================================ */

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 18px;

    margin-bottom: 22px;

    color: #fff;

    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 50px;

    background: rgba(45, 20, 20, 0.20);

    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 30px rgba(0,0,0,0.15),
        inset 0 0 20px rgba(255,255,255,0.08);

    animation:
        fadeInDown 0.9s 0.15s both,
        badgeFloat 4s ease-in-out 1.2s infinite;
}

.hero__eyebrow::before {
    content: "✦";

    color: #ffe3a3;
    font-size: 1rem;

    animation: starSpin 3s linear infinite;
}

.hero__eyebrow::after {
    content: "✦";

    color: #ffe3a3;
    font-size: 1rem;

    animation: starSpin 3s linear infinite reverse;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

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

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}


/* ============================================
   MAIN TITLE
============================================ */

.hero__title {
    position: relative;

    margin: 0 0 22px;

    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 7rem);

    font-weight: 700;

    line-height: 0.98;
    letter-spacing: -2px;

    color: #fff;

    text-shadow:
        0 4px 10px rgba(0,0,0,0.20),
        0 10px 35px rgba(0,0,0,0.28);

    animation:
        titleReveal 1.1s 0.25s cubic-bezier(.16,1,.3,1) both;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.88);
        letter-spacing: 8px;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -2px;
    }
}

.hero__line {
    display: block;
}

/* Summer Sunset */
.hero__line:first-child {
    position: relative;
}

/* Giveaway */
.hero__line--accent {
    position: relative;

    font-style: italic;
    font-weight: 400;

    color: #fff4dc;

    text-shadow:
        0 3px 10px rgba(0,0,0,0.25),
        0 0 25px rgba(255, 210, 130, 0.30);

    animation:
        giveawayFloat 4s ease-in-out 1.5s infinite;
}

@keyframes giveawayFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-6px) rotate(1deg);
    }
}


/* Shimmer moving across title */
.hero__title::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 35%,
            rgba(255,255,255,0.45) 48%,
            rgba(255,255,255,0.75) 50%,
            rgba(255,255,255,0.45) 52%,
            transparent 65%
        );

    background-size: 250% 100%;
    background-position: 150% 0;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    pointer-events: none;

    animation: titleShimmer 5s ease-in-out 2s infinite;
}

@keyframes titleShimmer {
    0%, 55% {
        background-position: 150% 0;
    }

    80%, 100% {
        background-position: -50% 0;
    }
}


/* ============================================
   SUBTITLE
============================================ */

.hero__subtitle {
    max-width: 620px;

    margin: 0 auto 34px;

    color: rgba(255,255,255,0.95);

    font-size: clamp(0.95rem, 2vw, 1.18rem);
    font-weight: 400;

    line-height: 1.7;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.35);

    animation:
        fadeInUp 1s 0.65s both;
}


/* ============================================
   CTA BUTTON
============================================ */

.hero__cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 34px;

    color: #e85c42;

    background: #fff;

    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;

    border-radius: 50px;

    border: 2px solid rgba(255,255,255,0.8);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.20),
        0 0 0 rgba(255,255,255,0);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;

    animation:
        fadeInUp 1s 0.9s both,
        ctaPulse 3s ease-in-out 2s infinite;

    overflow: hidden;
}

/* Moving shine */
.hero__cta::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.8),
        transparent
    );

    transform: skewX(-20deg);

    animation: buttonShine 4s ease-in-out 3s infinite;
}

@keyframes buttonShine {
    0%, 55% {
        left: -120%;
    }

    75%, 100% {
        left: 140%;
    }
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow:
            0 8px 25px rgba(0,0,0,0.20),
            0 0 0 rgba(255,255,255,0);
    }

    50% {
        box-shadow:
            0 12px 35px rgba(0,0,0,0.25),
            0 0 30px rgba(255,255,255,0.35);
    }
}

.hero__cta:hover,
.hero__cta:focus {
    transform: translateY(-5px) scale(1.05);

    color: #d94d35;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.28),
        0 0 35px rgba(255,255,255,0.35);

    outline: none;
}

.hero__cta svg {
    transition: transform 0.35s ease;
}

.hero__cta:hover svg {
    transform: translateY(4px);
}


/* ============================================
   SCROLL INDICATOR
============================================ */

.hero__scroll {
    position: absolute;

    bottom: 135px;
    left: 50%;

    z-index: 5;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.85);

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll::after {
    content: "↓";

    display: block;

    margin-top: 6px;

    font-size: 1.3rem;

    animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollFloat {
    0%, 100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scrollArrow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}


/* ============================================
   WAVE
============================================ */

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;

    width: 100%;
    height: 110px;

    z-index: 6;

    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ============================================
   AUTHOR CAROUSEL
   ============================================ */
/* ============================================
   AUTHOR SPONSOR - PREMIUM SUNSET SECTION
============================================ */

.authors {
    position: relative;

    padding: 95px 0 85px;

    overflow: hidden;
}

/* Decorative background circles */
.authors::before,
.authors::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.authors::before {
    width: 280px;
    height: 280px;

    left: -150px;
    top: 80px;

    border: 1px solid rgba(255,126,95,.12);

    box-shadow:
        0 0 0 35px rgba(255,126,95,.025),
        0 0 0 70px rgba(255,126,95,.018);
}

.authors::after {
    width: 220px;
    height: 220px;

    right: -120px;
    bottom: 60px;

    border: 1px solid rgba(192,132,252,.12);

    box-shadow:
        0 0 0 30px rgba(192,132,252,.025),
        0 0 0 60px rgba(192,132,252,.015);
}

/* Section title */
.authors .section-title {
    position: relative;

    margin-bottom: 15px;
}

.authors .section-title::before {
    content: "✦  MEET THE AUTHORS  ✦";

    display: block;

    margin-bottom: 12px;

    color: var(--color-primary);

    font-family: var(--font-body);

    font-size: .68rem;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.authors .section-title::after {
    content: "";

    display: block;

    width: 65px;
    height: 3px;

    margin: 15px auto 0;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--color-primary),
            var(--color-accent)
        );
}

.authors .section-subtitle {
    max-width: 650px;

    margin-bottom: 42px;

    font-size: 1rem;

    line-height: 1.7;
}

/* Carousel */
.carousel {
    position: relative;

    padding: 0 55px;
}

.carousel__viewport {
    overflow: visible;

    border-radius: 28px;
}

.carousel__track {
    display: flex;

    transition:
        transform .65s cubic-bezier(.22,.61,.36,1);

    will-change: transform;
}

.carousel__slide {
    flex: 0 0 auto;

    padding: 12px;
}

/* Author Card */
.author-card {
    position: relative;

    height: 100%;

    padding: 32px 20px 28px;

    text-align: center;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(255,248,244,.92)
        );

    border: 1px solid rgba(255,126,95,.12);

    box-shadow:
        0 10px 35px rgba(80,40,30,.07),
        inset 0 1px 0 rgba(255,255,255,.9);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;

    overflow: hidden;
}

/* Top sunset strip */
.author-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #ff7e5f,
            #feb47b,
            #ff6b9d
        );
}

/* Decorative shine */
.author-card::after {
    content: "✦";

    position: absolute;

    right: 15px;
    top: 13px;

    color: rgba(255,126,95,.18);

    font-size: 1.1rem;
}

.author-card:hover {
    transform: translateY(-10px);

    border-color: rgba(255,126,95,.30);

    box-shadow:
        0 20px 50px rgba(80,40,30,.13),
        0 0 30px rgba(255,126,95,.08);
}

/* Author photo */
.author-card__img-wrap {
    position: relative;

    width: 225px;
    height: 225px;

    margin: 0 auto 18px;

    border-radius: 50%;

    padding: 4px;

    background:
        linear-gradient(
            135deg,
            #ff7e5f,
            #feb47b,
            #ff6b9d
        );

    box-shadow:
        0 8px 25px rgba(255,126,95,.25);

    overflow: visible;
}

.author-card__img-wrap::after {
    content: "";

    position: absolute;

    inset: -7px;

    border-radius: 50%;

    border: 1px dashed rgba(255,126,95,.28);

    animation: authorOrbit 10s linear infinite;
}

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

.author-card__img {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid white;

    transition: transform .5s ease;
}

.author-card:hover .author-card__img {
    transform: scale(1.07);
}

/* Author name */
.author-card__name {
    margin-bottom: 7px;

    color: var(--color-dark);

    font-family: var(--font-display);

    font-size: 1.12rem;

    line-height: 1.25;
}

/* Role */
.author-card__role {
    display: inline-block;

    padding: 5px 12px;

    border-radius: 30px;

    background: rgba(255,126,95,.08);

    color: var(--color-primary);

    font-size: .62rem;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

/* Carousel buttons */
.carousel__btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.92);

    border: 1px solid rgba(255,126,95,.15);

    box-shadow:
        0 8px 25px rgba(80,40,30,.10);

    cursor: pointer;

    color: var(--color-primary);

    transition: var(--transition);

    z-index: 5;
}

.carousel__btn:hover,
.carousel__btn:focus {
    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-accent)
        );

    color: white;

    transform:
        translateY(-50%)
        scale(1.1);

    box-shadow:
        0 10px 30px rgba(255,126,95,.30);

    outline: none;
}

.carousel__btn--prev {
    left: 0;
}

.carousel__btn--next {
    right: 0;
}

.carousel__btn svg {
    width: 20px;
    height: 20px;
}

/* Carousel dots */
.carousel__dots {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 28px;
}

.carousel__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(45,27,46,.16);

    cursor: pointer;

    transition: all .35s ease;
}

.carousel__dot--active {
    width: 32px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--color-primary),
            var(--color-accent)
        );

    box-shadow:
        0 3px 10px rgba(255,126,95,.25);
}

/* ============================================
   HERO TOP NAVIGATION
============================================ */

.hero__top-nav {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 0 34px;

    pointer-events: none;
}

.hero__nav-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 11px 19px;

    color: #fff;
    text-decoration: none;

    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;

    border: 1px solid rgba(255,255,255,0.52);
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        rgba(45, 20, 20, 0.30),
        rgba(255, 126, 95, 0.16)
    );

    box-shadow:
        0 8px 26px rgba(40, 12, 12, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.22);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow: hidden;
    pointer-events: auto;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.hero__nav-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.55),
        transparent
    );

    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.hero__nav-btn:hover,
.hero__nav-btn:focus-visible {
    color: #fff;
    transform: translateY(-3px);

    border-color: rgba(255,255,255,0.85);

    background: linear-gradient(
        135deg,
        rgba(255,126,95,0.58),
        rgba(255,107,157,0.42)
    );

    box-shadow:
        0 12px 32px rgba(45, 15, 15, 0.28),
        0 0 24px rgba(255, 214, 150, 0.18);

    outline: none;
}

.hero__nav-btn:hover::before,
.hero__nav-btn:focus-visible::before {
    left: 140%;
}

.hero__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    font-size: 1.05rem;
    line-height: 1;
}

.hero__nav-btn--back .hero__nav-icon {
    transition: transform 0.3s ease;
}

.hero__nav-btn--back:hover .hero__nav-icon,
.hero__nav-btn--back:focus-visible .hero__nav-icon {
    transform: translateX(-4px);
}

.hero__nav-btn--mail {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.20),
        rgba(255,107,157,0.25)
    );
}

.hero__nav-btn--mail .hero__nav-icon {
    font-size: 0.92rem;
    transition: transform 0.3s ease;
}

.hero__nav-btn--mail:hover .hero__nav-icon,
.hero__nav-btn--mail:focus-visible .hero__nav-icon {
    transform: translateY(-2px) rotate(-8deg);
}

@media (max-width: 768px) {
    .hero__top-nav {
        top: 18px;
        padding: 0 16px;
        gap: 10px;
    }

    .hero__nav-btn {
        min-height: 42px;
        padding: 9px 13px;
        font-size: 0.66rem;
        letter-spacing: 0.25px;
    }

    .hero__nav-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero__top-nav {
        top: 14px;
        padding: 0 12px;
    }

    .hero__nav-btn {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.58rem;
    }

    .hero__nav-btn--back span:last-child {
        display: none;
    }

    .hero__nav-btn--back .hero__nav-icon {
        font-size: 1.25rem;
    }

    .hero__nav-btn--mail span:first-child {
        max-width: 145px;
        text-align: center;
    }
}

/* Clickable Author Name */
.author-card__name a {
    color: inherit;
    text-decoration: none;
    font: inherit;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.author-card__name a:visited {
    color: inherit;
}

.author-card__name a:hover {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
}

.author-card__name a:active {
    color: inherit;
}

/* ============================================
   CONTESTS SECTION
   ============================================ */
.contests {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, var(--color-cream) 0%, #fff 100%);
}

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

/* Contest Card */
.contest-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
}

.contest-card--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.4s ease;
}

.contest-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contest-card__img-wrap {
    position: relative;
    overflow: hidden;

    aspect-ratio: auto;
    height: auto;
    min-height: 0;

    background: transparent;

    display: block;
}

.contest-card__img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: none;

    object-fit: initial;
    object-position: center center;

    transform: none;
}

.contest-card:hover .contest-card__img {
    transform: scale(1.08);
}

.contest-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.contest-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contest-card__author {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.contest-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #30252d;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.contest-card__prize {
    font-size: 1.08rem;
    color: #40373e;
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.contest-card__prize-label {
    color: #c83f59;
    font-weight: 700;
}

.contest-card__desc {
    font-size: 1.02rem;
    color: #3b363ab0;
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
    font-weight: 500;
}

.contest-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.contest-card__btn:hover,
.contest-card__btn:focus {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35);
    filter: brightness(1.08);
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

/* =========================================================
   PREMIUM COUNTDOWN - SUMMER SUNSET
   RESPONSIVE FOR MOBILE / TABLET / DESKTOP
   ========================================================= */

.countdown-section {
   
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;

    padding: clamp(45px, 7vw, 72px) clamp(12px, 4vw, 20px)
             clamp(50px, 7vw, 78px);

    text-align: center;
}

/* Decorative sunset glow */
.countdown-glow {
    position: absolute;

    width: clamp(250px, 45vw, 420px);
    height: clamp(250px, 45vw, 420px);

    top: clamp(-220px, -25vw, -280px);
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 126, 95, 0.30) 0%,
        rgba(255, 180, 100, 0.12) 45%,
        transparent 72%
    );

    filter: blur(10px);
    pointer-events: none;
}

/* Small decorative sunset lines */
.countdown-section::before,
.countdown-section::after {
    content: "✦";

    position: absolute;

    color: rgba(255, 126, 95, 0.35);

    font-size: clamp(1rem, 2vw, 1.5rem);

    animation: countdownSparkle 3s ease-in-out infinite;

    pointer-events: none;
}

.countdown-section::before {
    left: 8%;
    top: 45%;
}

.countdown-section::after {
    right: 8%;
    top: 30%;

    animation-delay: 1.2s;
}

@keyframes countdownSparkle {
    0%, 100% {
        opacity: .3;
        transform: translateY(0) scale(.8);
    }

    50% {
        opacity: 1;
        transform: translateY(-8px) scale(1.15);
    }
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.countdown-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    box-sizing: border-box;

    padding: clamp(28px, 5vw, 38px)
             clamp(14px, 4vw, 30px)
             clamp(25px, 4vw, 32px);

    border: 1px solid rgba(255, 126, 95, 0.18);
    border-radius: clamp(20px, 4vw, 30px);

    background: rgba(255, 255, 255, 0.48);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 20px 60px rgba(120, 50, 35, 0.08),
        inset 0 1px 0 rgba(255,255,255,.8);
}


/* =========================================================
   KICKER
   ========================================================= */

    .countdown-kicker {
        display: block;
        width: 100%;
        margin: 0 auto 10px;

        text-align: center;

        color: var(--color-primary);

        font-size: clamp(.58rem, 1.5vw, .7rem);
        font-weight: 700;

        letter-spacing: clamp(1.5px, .5vw, 3px);
        text-transform: uppercase;
    }


/* =========================================================
   MAIN TITLE
   ========================================================= */

.countdown-label {
    display: block;
    width: 100%;
    margin: 0 auto 8px;

    text-align: center;

    font-family: var(--font-display);
    font-size: clamp(1.7rem, 6vw, 3.4rem);

    font-weight: 700;
    color: var(--color-dark);

    line-height: 1.1;

    text-shadow:
        0 4px 15px rgba(255,126,95,.12);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.countdown-message {
    width: 100%;
    max-width: 500px;

    margin: 0 auto 28px;

    color: var(--color-text-light);

    font-size: clamp(.78rem, 2vw, .92rem);

    line-height: 1.6;
}


/* =========================================================
   TIMER ROW
   ========================================================= */

.countdown-timer {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: clamp(5px, 1.5vw, 12px);

    width: 100%;

    flex-wrap: nowrap;

    box-sizing: border-box;
}


/* =========================================================
   TIMER BOX
   ========================================================= */

.countdown-item {
    position: relative;

    /*
       Instead of fixed 105px,
       the box scales depending on screen width.
    */
    width: clamp(62px, 10vw, 105px);

    min-height: clamp(75px, 12vw, 115px);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: clamp(10px, 2vw, 18px)
             clamp(5px, 1.5vw, 12px);

    border-radius: clamp(12px, 2vw, 20px);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.95),
            rgba(255,244,238,.9)
        );

    border: 1px solid rgba(255,126,95,.18);

    box-shadow:
        0 10px 30px rgba(150,70,45,.10),
        inset 0 1px 0 rgba(255,255,255,.9);

    transition: var(--transition);

    flex-shrink: 1;
}

.countdown-item:hover {
    transform: translateY(-6px);

    border-color: rgba(255,126,95,.45);

    box-shadow:
        0 18px 40px rgba(150,70,45,.16),
        0 0 25px rgba(255,126,95,.12);
}


/* =========================================================
   ICON
   ========================================================= */

.countdown-icon {
    height: clamp(15px, 2vw, 20px);

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: clamp(.65rem, 1.5vw, .85rem);

    opacity: .75;
}


/* =========================================================
   NUMBER
   ========================================================= */

.countdown-item .number {
    font-family: var(--font-display);

    font-size: clamp(1.35rem, 5vw, 2.8rem);

    font-weight: 700;

    line-height: 1;

    color: var(--color-dark);

    background: linear-gradient(
        135deg,
        #d95f43,
        #ff7e5f,
        #e85c88
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   LABEL
   ========================================================= */

.countdown-item .label {
    margin-top: clamp(5px, 1vw, 8px);

    color: var(--color-text-light);

    font-size: clamp(.48rem, 1.4vw, .65rem);

    font-weight: 700;

    letter-spacing: clamp(.8px, .3vw, 2px);

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   SEPARATOR
   ========================================================= */

.countdown-separator {
    flex-shrink: 0;

    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: clamp(1rem, 3vw, 2rem);

    font-weight: 700;

    opacity: .55;

    animation: separatorPulse 1.5s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% {
        opacity: .35;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   BOTTOM MESSAGE
   ========================================================= */

.countdown-bottom {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: clamp(5px, 1.5vw, 10px);

    margin-top: clamp(20px, 4vw, 28px);

    color: var(--color-text-light);

    font-size: clamp(.6rem, 1.6vw, .72rem);

    font-weight: 500;

    letter-spacing: .5px;

    line-height: 1.5;

    flex-wrap: wrap;
}

.countdown-bottom span:first-child,
.countdown-bottom span:last-child {
    color: var(--color-primary);

    font-size: clamp(.75rem, 2vw, .9rem);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .countdown-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .countdown-content {
        max-width: 100%;
    }

    .countdown-message {
        margin-bottom: 22px;
    }

    .countdown-item:hover {
        transform: translateY(-3px);
    }

    .countdown-section::before {
        left: 4%;
    }

    .countdown-section::after {
        right: 4%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .countdown-section {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .countdown-content {
        padding: 25px 8px 25px;

        border-radius: 20px;
    }

    .countdown-kicker {
        margin-bottom: 8px;
    }

    .countdown-message {
        margin-bottom: 20px;

        padding: 0 5px;
    }

    .countdown-timer {
        gap: 4px;
    }

    .countdown-item {
        width: clamp(54px, 17vw, 72px);

        min-height: 72px;

        padding: 8px 4px;

        border-radius: 12px;
    }

    .countdown-item .number {
        font-size: clamp(1.25rem, 7vw, 1.8rem);
    }

    .countdown-item .label {
        font-size: .45rem;

        letter-spacing: .7px;

        margin-top: 5px;
    }

    .countdown-icon {
        font-size: .6rem;

        height: 13px;

        margin-bottom: 2px;
    }

    .countdown-separator {
        font-size: 1rem;
    }

    .countdown-bottom {
        margin-top: 20px;

        padding: 0 8px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   320px - 360px
   ========================================================= */

@media (max-width: 360px) {

    .countdown-section {
        padding-left: 6px;
        padding-right: 6px;
    }

    .countdown-content {
        padding-left: 5px;
        padding-right: 5px;
    }

    .countdown-timer {
        gap: 2px;
    }

    .countdown-item {
        width: clamp(49px, 16vw, 58px);

        min-height: 65px;

        padding: 6px 2px;

        border-radius: 10px;
    }

    .countdown-item .number {
        font-size: 1.15rem;
    }

    .countdown-item .label {
        font-size: .39rem;

        letter-spacing: .4px;
    }

    .countdown-icon {
        display: none;
    }

    .countdown-separator {
        font-size: .85rem;
    }

    .countdown-bottom {
        font-size: .55rem;
    }
}


/* =========================================================
   LARGE SCREENS
   ========================================================= */

@media (min-width: 1400px) {

    .countdown-content {
        max-width: 950px;
    }

    .countdown-item {
        width: 105px;
        min-height: 115px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .countdown-section::before,
    .countdown-section::after,
    .countdown-separator {
        animation: none;
    }

    .countdown-item {
        transition: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 30px;
    text-align: center;
}

.footer__brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer__nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__nav a:hover,
.footer__nav a:focus {
    color: var(--color-secondary);
}

.footer__copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .contests__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .carousel {
        padding: 0 40px;
    }
}

/* Mobile: below 768px */
@media (max-width: 767px) {
    .hero__wave {
        height: 80px;
    }
    
    .hero__cta {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
    
    .carousel {
        padding: 0 36px;
    }
    
    .carousel__btn {
        width: 38px;
        height: 38px;
    }
    
    .contests__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        margin-bottom: 8px;
    }
    
    .authors {
        padding: 60px 0 50px;
    }
    
    .contests {
        padding: 40px 0 70px;
    }
    
    .footer__nav {
        gap: 18px;
    }
}

/* Small mobile: below 480px */
@media (max-width: 479px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .carousel {
        padding: 0 32px;
    }

    .author-card {
        padding: 20px 14px;
    }
}


/* ============================================
   AUTHOR COVER - CLICKABLE + POINTER
   ============================================ */

.author-card__img-wrap {
    position: relative;
    cursor: pointer !important;
    pointer-events: auto;
}

.author-card__img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer !important;
    pointer-events: auto;
}

.author-card__img-wrap img {
    display: block;
    cursor: pointer !important;
    pointer-events: auto;
}

.author-card__img-wrap::after {
    pointer-events: none !important;
}


/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}