/* DESIGN SYSTEM & VARIABLES */
/* CHICKING USE DRAW YOUR BAG CAMPAIGN*/
/* DEVELOPED BY BANZ TECHNOLOGIES*/

:root {
    --primary-red: #d3122a;
    --dark-bg: #111111;
    --dark-card: #181818;
    --accent-orange: #e37e1b;
    --accent-yellow: #f2a900;
    --white: #ffffff;
    --text-muted: #888888;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 769px) {
    .container {
        width: 76%; 
    }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-normal);
}

.btn-nav {
    background-color: var(--white);
    color: var(--primary-red);
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    background-color: #f7f7f7;
}

.btn-main {
    background-color: var(--white);
    color: var(--primary-red);
    font-size: 1.2rem;
    padding: 1rem 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15), 0 5px 15px rgba(0,0,0,0.3);
    background-color: #fcfcfc;
}

.btn-footer {
    background-color: var(--white);
    color: #333333;
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
}

.btn-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

.btn-footer-submit {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-footer-submit:hover {
    background-color: #fcfcfc;
}

.btn-block {
    display: block;
    width: 100%;
}

/* HERO SECTION (RED HEADER) */
.hero-section {
    background: radial-gradient(circle, #e51d2e 0%, #a80f1e 100%);
    position: relative;
    height: 100vh;
    height: 100dvh;
    border-bottom: 8px solid var(--accent-orange);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Corner Ornaments */
.corner-ornament {
    position: absolute;
    width: 120px;
    height: 120px;
    color: var(--accent-yellow);
    opacity: 0.85;
    pointer-events: none;
    z-index: 10;
}

.corner-ornament img {
    width: 100%;
    height: 100%;
    display: block;
}

.corner-ornament.top-left {
    top: 20px;
    left: 20px;
}

.corner-ornament.bottom-left {
    bottom: 20px;
    left: 20px;
    transform: rotate(-90deg);
}

.corner-ornament.bottom-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.corner-ornament.top-right {
    top: 20px;
    right: 20px;
    transform: rotate(90deg);
}

/* Top Nav */
.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    z-index: 15;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Chicking Cursive Logo */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.logo-image {
    max-width: 200px;
    height: auto;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    color: var(--white);
    font-size: 3rem;
    line-height: 1;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15);
}

.logo-sub {
    background-color: var(--accent-yellow);
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 4px;
    margin-top: -5px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-buttons {
    position: absolute;
    right: 2.5rem;
    top: 2.5rem;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    z-index: 20;
}

/* Hero Main Content */
.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
    z-index: 12;
    padding-bottom: 0.5rem;
    min-height: 0;
}

.bag-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    min-height: 0;
    margin-bottom: 0.75rem;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.bag-image-wrapper:hover {
    transform: scale(1.03) rotate(-1deg);
}

.bag-image {
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    margin: 5px;
}

/* Display default states (Show video, hide static fallback) */
.static-bag-fallback {
    display: none;
}
.animated-bag {
    display: block;
}

/* Hide video and show static transparent PNG fallback on Apple iOS/Safari */
.webkit-video-fallback .animated-bag {
    display: none !important;
}
.webkit-video-fallback .static-bag-fallback {
    display: block !important;
    animation: floatBag 4s ease-in-out infinite;
}

@keyframes floatBag {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Double-safety CSS feature query hack targeting Apple WebKit engines */
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
    .animated-bag {
        display: none !important;
    }
    .static-bag-fallback {
        display: block !important;
        animation: floatBag 4s ease-in-out infinite;
    }
}

.hero-headings {
    max-width: 800px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--accent-yellow);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* HOW TO ENTER SECTION */
.how-to-enter-section {
    background-color: var(--dark-bg);
    /* Dotted background pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 0);
    background-size: 20px 20px;
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
}

.title-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-orange);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.step-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background-color: transparent;
    transition: transform var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.step-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #eeeeee;
    line-height: 1.5;
}

.step-divider {
    width: 2px;
    height: 100%;
    background-color: var(--accent-orange);
    opacity: 0.8;
    align-self: center;
}

.step-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.animated-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-orange);
    transition: color var(--transition-fast);
}

.step-card:hover .animated-icon {
    color: var(--white);
}

/* Icon Animations */

/* 1. Download Arrow Movement */
@keyframes downloadSlide {
    0% {
        transform: translateY(-8px);
        opacity: 0;
    }
    30% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.icon-download .arrow-shaft {
    animation: downloadSlide 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

/* 2. Pencil Writing Motion */
@keyframes pencilWrite {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    25% {
        transform: rotate(-10deg) translate(-2px, -2px);
    }
    70% {
        transform: rotate(10deg) translate(2px, 2px);
    }
    100% {
        transform: rotate(0deg) translate(0, 0);
    }
}

@keyframes lineSketch {
    0% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
}

.icon-pencil .sketch-line {
    stroke: var(--accent-orange);
    opacity: 0.6;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke var(--transition-fast);
    animation: lineSketch 2s ease-in-out infinite;
}

.icon-pencil .pencil-body {
    transform-origin: 62.5% 82%;
    animation: pencilWrite 1s ease-in-out infinite;
}

/* 3. Checkmark Animation */
@keyframes clipboardPop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes checkmarkLoop {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0;
    }
    15%, 85% {
        transform: scale(1.08);
        opacity: 1;
    }
    30%, 70% {
        transform: scale(1);
        opacity: 1;
    }
}

.icon-check {
    transform-origin: center;
    animation: clipboardPop 2.5s ease-in-out infinite;
}

.icon-check .check-mark {
    transform-origin: 48% 50%;
    animation: checkmarkLoop 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}


/* DEADLINES BAR - TIMELINE DESIGN */
.deadlines-bar {
    background: linear-gradient(180deg, #880212 0%, #111111 100%);
    padding: 4rem 0;
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Background gradient glow */
.deadlines-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 250px;
    background: radial-gradient(circle, rgba(227, 126, 27, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.deadlines-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.deadlines-main-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    position: relative;
}

.deadlines-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
    border-radius: 2px;
}

.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin-top: 1.5rem;
}

.timeline-track {
    position: absolute;
    top: 27px; /* aligns with center of node-markers */
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--accent-orange), var(--accent-yellow));
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(227, 126, 27, 0.2);
}

.timeline-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    text-align: center;
    transition: transform var(--transition-normal);
}

.node-marker {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 3px solid var(--accent-orange);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(0, 0, 0, 0.6);
    transition: all var(--transition-normal);
    z-index: 5;
}

/* Pulsing effect on the active marker */
.timeline-node::before {
    content: '';
    position: absolute;
    top: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    opacity: 0;
    z-index: -1;
    transition: all var(--transition-normal);
}

.timeline-node:hover::before {
    animation: markerPulse 1.5s infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.timeline-node:hover .node-marker {
    background-color: var(--primary-red);
    border-color: var(--accent-yellow);
    color: var(--white);
    transform: scale(1.18);
    box-shadow: 0 0 20px rgba(211, 18, 42, 0.6);
}

.node-content {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    width: 85%;
    max-width: 240px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.timeline-node:hover .node-content {
    background-color: rgba(211, 18, 42, 0.06);
    border-color: rgba(211, 18, 42, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(211, 18, 42, 0.15);
}

.node-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #eeeeee;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.timeline-node:hover .node-label {
    color: var(--accent-yellow);
}

.node-date {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* Animations for timeline entrance */
@keyframes timelineNodeEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-node {
    opacity: 0;
    animation: timelineNodeEntrance 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: calc(var(--node-index) * 0.2s);
}

/* Responsive vertical timeline for mobile */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
        padding-left: 1.5rem;
        margin-top: 2rem;
    }

    .timeline-track {
        left: 49px; /* align with vertical nodes */
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
        background: linear-gradient(to bottom, var(--primary-red), var(--accent-orange), var(--accent-yellow));
    }

    .timeline-node {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
        animation-delay: calc(var(--node-index) * 0.15s);
    }

    .node-marker {
        width: 50px;
        height: 50px;
        min-width: 50px;
        z-index: 5;
    }

    .timeline-node::before {
        width: 50px;
        height: 50px;
    }

    .node-content {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.25rem;
    }

    .timeline-node:hover .node-content {
        transform: translateX(8px);
        box-shadow: 0 10px 25px rgba(211, 18, 42, 0.15);
    }
}


/* PRIZES SECTION */
.prizes-section {
    background-color: var(--dark-bg);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 0);
    background-size: 20px 20px;
    padding: 5rem 0;
}

.icon-trophy {
    color: var(--accent-yellow);
}

.prizes-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.prizes-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prize-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.prize-card p {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.6;
}

/* Laptop Image */
.laptop-img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    justify-self: center;
    align-self: center;
}

/* Yellow Ribbon Bow */
.ribbon-bow {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 65px;
    height: 65px;
    color: var(--accent-yellow);
    z-index: 10;
    transform: rotate(-15deg);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
    transition: transform var(--transition-normal);
}

.laptop-container-wrapper:hover .ribbon-bow {
    animation: bowJiggle 0.8s ease-in-out;
}

@keyframes bowJiggle {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    20%, 60% { transform: rotate(-25deg) scale(1.05); }
    40%, 80% { transform: rotate(-5deg) scale(1.05); }
}

/* Laptop Base and Screen Structure */
.laptop-mockup {
    width: 100%;
    perspective: 1000px;
}

.laptop-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #0c0c0c;
    border: 12px solid #222222;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-normal);
}

.camera {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #333333;
    z-index: 5;
}

.screen-content {
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.utensils-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    height: 60%;
    width: 100%;
    padding-bottom: 5%;
}

.utensil {
    height: 80px;
    color: var(--white);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.utensil.fork {
    height: 75px;
}

.utensil.spoon {
    height: 80px;
}

.utensil.knife {
    height: 78px;
}

/* Floating animation on hover */
@keyframes floatUtensil {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.laptop-container-wrapper:hover .utensil.fork {
    animation: floatUtensil 1.5s ease-in-out infinite;
}

.laptop-container-wrapper:hover .utensil.spoon {
    animation: floatUtensil 1.5s ease-in-out infinite 0.2s;
}

.laptop-container-wrapper:hover .utensil.knife {
    animation: floatUtensil 1.5s ease-in-out infinite 0.4s;
}

.laptop-base {
    width: 114%;
    margin-left: -7%;
    position: relative;
    z-index: 2;
}

.base-top {
    height: 10px;
    background-color: #a0a0a0;
    border-radius: 0 0 4px 4px;
    border-top: 1px solid #c8c8c8;
}

.notch {
    width: 60px;
    height: 4px;
    background-color: #404040;
    margin: 0 auto;
    border-radius: 0 0 3px 3px;
}

/* Hover Screen Glow and perspective shift */
.laptop-container-wrapper:hover .laptop-screen {
    box-shadow: 0 0 30px rgba(211, 18, 42, 0.4), 0 25px 50px rgba(0,0,0,0.5);
    transform: rotateX(2deg);
}


/* FOOTER SECTION */
.footer-section {
    background-color: var(--dark-bg);
    border-top: 1px solid #222222;
    padding: 4rem 0 3rem 0;
}

/* Footer Agreement Checkbox */
.footer-agreement {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
    text-align: center;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.4;
    user-select: none;
    transition: color var(--transition-fast);
}

.agreement-label:hover {
    color: var(--white);
}

.agreement-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-red);
    cursor: pointer;
}

/* Disabled footer submit button state */
.btn-footer-submit.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}


/* MODAL OVERLAY (SUBMIT FORM) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #111111;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    position: relative;
    border: 1px solid #222222;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 50;
}

.modal-close:hover {
    background-color: var(--primary-red);
    transform: rotate(90deg);
}

/* Red Campaign mesh header */
.modal-header {
    background: radial-gradient(circle, #e51d2e 0%, #a80f1e 100%);
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 0);
    background-size: 14px 14px;
    padding: 2.25rem 2.5rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--accent-orange);
    color: var(--white);
}

.modal-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.modal-logo-img {
    height: 36px;
    width: auto;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.check-badge {
    color: var(--accent-yellow);
    font-size: 1.4rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Scrollable modal body */
.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
    background-color: #151515;
}

.submit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid #222222;
    padding-bottom: 1.75rem;
}

.form-step:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-title.warning-title {
    color: var(--accent-yellow);
}

.step-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-subtitle em {
    color: rgba(255, 255, 255, 0.4);
    font-style: normal;
}

/* Field Grid Columns */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    background-color: #222222;
    border: 1px solid #333333;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: #282828;
    box-shadow: 0 0 8px rgba(227, 126, 27, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

/* Large Drag & Drop Box */
.file-upload-box {
    border: 2px dashed #333333;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.01);
    transition: all var(--transition-fast);
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--accent-orange);
    color: var(--white);
    background-color: rgba(227, 126, 27, 0.05);
}

.file-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

.file-upload-box span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Small Pill-Style Upload Box */
.file-upload-box-pill {
    border: 1px solid #333333;
    background-color: #222222;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #aaaaaa;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.file-upload-box-pill:hover,
.file-upload-box-pill.dragover {
    border-color: var(--accent-orange);
    background-color: #282828;
    color: var(--white);
}

.file-upload-box-pill .file-icon {
    font-size: 1rem;
}

/* Minor Notification Bar */
.minor-info-box {
    background-color: rgba(242, 169, 0, 0.1);
    border: 1px solid rgba(242, 169, 0, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent-yellow);
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Custom Checkbox Design */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    min-width: 18px;
    background-color: #222222;
    border: 1px solid #444444;
    border-radius: 4px;
    display: block;
    position: relative;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--accent-orange);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

.label-text {
    font-size: 0.8rem;
    color: #bbbbbb;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.custom-checkbox:hover .label-text {
    color: var(--white);
}

.optional-tag {
    color: var(--text-muted);
    font-weight: 500;
}

/* Privacy notice text block */
.notice-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
}

/* Submit Section inside Modal */
.form-submit-container {
    padding-top: 1rem;
}

.btn-modal-submit {
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(211, 18, 42, 0.2);
}

.btn-modal-submit:hover {
    background-color: #be0f24;
    box-shadow: 0 8px 30px rgba(211, 18, 42, 0.35);
    transform: translateY(-2px);
}

.btn-modal-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}


/* RESPONSIVE DESIGN (MEDIA QUERIES) */

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-divider {
        width: 100%;
        height: 2px;
        margin: 1rem 0;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .corner-ornament {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .laptop-img {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.span-2 {
        grid-column: span 1;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1.75rem 1.5rem 1.25rem 1.5rem;
    }

    .top-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .logo-image {
        max-width: 130px;
    }

    .nav-buttons {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 380px;
        margin: 0.5rem auto 0 auto;
    }

    .btn-guidelines {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-nav {
        font-size: 0.8rem;
        padding: 0.5rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .bag-image {
        max-width: 100%;
        max-height: 55vh;
        width: auto;
        height: auto;
    }

    .hero-title {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .btn-main {
        font-size: 0.95rem;
        padding: 0.7rem 1.8rem;
    }

    .hero-container {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .deadlines-container {
        padding: 0 1.5rem;
    }

    .deadlines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .corner-ornament {
        display: none; /* Hide ornaments on very small screens to avoid overlay clutter */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* DROPDOWN MENU STYLES */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3rem;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform var(--transition-fast);
}

.dropdown-wrapper:hover .dropdown-toggle::after,
.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--white);
    border-radius: 12px;
    min-width: 230px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 50;
    padding: 0.5rem 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.5rem;
    color: #333333;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    text-decoration: none;
    text-align: left;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item i {
    color: #666666;
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(211, 18, 42, 0.08);
    color: var(--primary-red);
}

.dropdown-item:hover i {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .dropdown-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .dropdown-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        top: calc(100% + 6px);
        min-width: 240px;
    }
    
    .dropdown-menu.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* SUCCESS MODAL POPUP STYLES */
.success-modal-card {
    max-width: 520px;
    text-align: center;
}

.success-modal-header {
    padding: 2rem 2rem 1.25rem 2rem;
}

.success-modal-body {
    padding: 2.25rem 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    background-color: #151515;
}

.success-icon-container {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(227, 126, 27, 0.12);
    border: 2px solid var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(227, 126, 27, 0.25);
    animation: successIconPulse 2s infinite ease-in-out;
}

@keyframes successIconPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(227, 126, 27, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(227, 126, 27, 0.45);
        transform: scale(1.05);
    }
}

.success-check-icon {
    font-size: 2.5rem;
    color: var(--accent-yellow);
}

.success-message-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto;
}

.success-btn-wrapper {
    width: 100%;
    max-width: 220px;
    margin-top: 0.5rem;
}

.success-ok-btn {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 1rem;
    padding: 0.8rem 2rem;
    box-shadow: 0 6px 20px rgba(211, 18, 42, 0.3);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.success-ok-btn:hover {
    background-color: #be0f24;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 18, 42, 0.5);
}

