/* ==========================================================================
   Font Face Declarations
   ========================================================================== */
@font-face {
    font-family: 'Speedee';
    src: url('fonts/Speedee_W_Rg.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Speedee';
    src: url('fonts/Speedee_W_Bd.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* McDonald's Brand Colors */
    --primary: #0066cc;
    --primary-hover: #0052a3;
    --secondary: #dc3545;
    --secondary-hover: #c82333;

    /* Background Colors */
    --background-color: #fff2e0;

    /* Typography */
    --font-family: 'Speedee', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --text-color: #000;
    --text-color-light: #333;
    --pico-color: #000 !important;

    /* Typography Sizes */
    --hero-headline-size: 48px;
    --hero-description-size: 21px;

    --button-font-size: 18px;
    --footer-text-size: 13px;
    --copyright-text-size: 13px;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Interactive Elements */
    --button-border-radius: 25px;
    --focus-outline-color: #0066cc;
    --focus-outline-width: 2px;

    /* Animation */
    --transition-duration: 0.3s;
    --float-animation-duration: 6s;
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

body > main {
    padding-block: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
.how-to-play-section h3,
.meal-section h3 {
    font-family: 'casserole-flare', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: var(--text-color);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 140vh;
    min-height: 1100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero-desktop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: float var(--float-animation-duration) ease-in-out infinite !important;
}

.hero-mcd-logo {
    position: absolute;
    top: 80px;
    left: 120px;
    z-index: 10;
}

.hero-mcd-logo .mcd-logo {
    height: 40px;
    width: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    text-align: center;
    padding: 60px 0;
    width: 100%;
}

.hero-vr-logo {
    margin-bottom: 30px;
}

.hero-vr-logo .vr-logo {
    height: 150px;
    width: auto;
}





.hero-headline {
    font-size: var(--hero-headline-size);
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-description-container {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.hero-description {
    font-size: var(--hero-description-size);
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}



/* Hero Buttons */
.hero-buttons-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.button-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.hero-buttons button,
.hero-buttons .hero-button {
    min-width: 278px;
    min-height: 50px;
    max-height: 50px;
    margin: 0 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: var(--button-font-size);
    background: linear-gradient(to bottom, #1199D6 0%, #0A5A87 100%);
    border: 1px solid #0A5A87;
    border-radius: 25px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(17, 153, 214, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.hero-buttons button:hover,
.hero-buttons .hero-button:hover {
    background: linear-gradient(to bottom, #1199D6 0%, #0D6A9A 100%);
    border-color: #0D6A9A;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(17, 153, 214, 0.4);
    transform: translateY(-1px);
}

.hero-buttons .secondary,
.hero-buttons .hero-button.secondary {
    background: linear-gradient(to bottom, #C4121E 0%, #A30F18 100%);
    border: 1px solid #A30F18;
    min-width: 574px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(237, 26, 35, 0.3);
}

.hero-buttons .secondary:hover,
.hero-buttons .hero-button.secondary:hover {
    background: linear-gradient(to bottom, #ED1A23 0%, #C4121E 100%);
    border-color: #C4121E;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(237, 26, 35, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Gameplay Section
   ========================================================================== */
.gameplay-section {
    background: var(--background-color);
    padding: var(--section-padding);
    padding-bottom: 50px;
}

.video-container {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.video-player {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}



.gameplay-highlights {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}



.highlight-content {
    flex: 1;
}

.highlight-content strong {
    color: var(--text-color);
    font-weight: 700;
}

.highlight-content ul {
    margin-top: 10px;
    margin-left: 20px;
}

.highlight-content ul li {
    margin-bottom: 8px;
}

/* ==========================================================================
   How to Play Section
   ========================================================================== */
.how-to-play-section {
    text-align: center;
}

.how-to-play-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.content-column {
    flex: 1;
    text-align: center;
}

.content-column h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.content-column ul {
    margin-bottom: 30px;
    padding-left: 0px;
    list-style: none !important;
}

.content-column ul li {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-color);
    list-style: none !important;
}

.how-to-play-content .content-column ul {
    list-style: none !important;
    text-align: center;
}

.how-to-play-content .content-column ul li {
    list-style: none !important;
}

.vertical-divider {
    width: 1px;
    background: #979797;
    min-height: 400px;
    margin: 0 20px;
    flex-shrink: 0;
}

.play-now-button {
    background: linear-gradient(to bottom, #0F7BB3 0%, #0D6A9A 100%);
    border: 1px solid #0D6A9A;
    color: white;
    font-weight: 700;
    font-size: var(--button-font-size);
    height: 50px;
    min-width: 278px;
    margin: 0 auto;
    padding: 0 40px;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(17, 153, 214, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.play-now-button:hover {
    background: linear-gradient(to bottom, #1199D6 0%, #0F7BB3 100%);
    border-color: #0F7BB3;
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(17, 153, 214, 0.4);
}



/* ==========================================================================
   Meal Section
   ========================================================================== */
.meal-section {
    background: var(--background-color);
    padding: var(--section-padding);
    text-align: center;
}

.meal-title-desktop {
    display: block;
}

.meal-title-mobile {
    display: none;
}

.meal-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.meal-content {
    margin-bottom: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.meal-image {
    text-align: center;
    margin-bottom: 30px;
}

.meal-desktop-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.meal-mobile-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: none;
}

.meal-desktop-image:hover,
.meal-mobile-image:hover {
    transform: translateY(-2px);
}

.order-now-button {
    background: linear-gradient(to bottom, #C4121E 0%, #A30F18 100%);
    border: 1px solid #A30F18;
    height: 50px;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: var(--button-font-size);
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(237, 26, 35, 0.3);
}

.order-now-button:hover {
    background: linear-gradient(to bottom, #ED1A23 0%, #C4121E 100%);
    border-color: #C4121E;
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(237, 26, 35, 0.4);
}

/* ==========================================================================
   Ad Banner
   ========================================================================== */
.ad-banner {
    margin-top: 40px;
    text-align: center;
}

.ad-banner-image {
    width: 100%;
    max-width: 728px;
    height: auto;
}

.ad-banner-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    background: var(--background-color);
    color: var(--text-color);
    padding: 0 0 70px;
    max-width: 752px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo .mcd-logo {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    text-align: left;
}

.footer-column a {
    color: var(--text-color);
    text-decoration: underline;
    transition: color 0.3s ease;
    font-size: var(--footer-text-size);
    display: inline-block;
}

.footer-column a:hover {
    color: #0066cc;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: var(--text-color-light);
    font-size: var(--copyright-text-size);
    line-height: 1.6;
}

.footer-copyright p {
    margin-bottom: 5px;
}

/* ==========================================================================
   Accessibility & Utilities
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button {
    min-height: 44px;
    min-width: 44px;
    transition: all var(--transition-duration) ease;
}

button:focus-visible,
a:focus-visible,
.video-player:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: 1px;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.hero-buttons button:focus,
.hero-buttons button:focus-visible,
.hero-buttons .hero-button:focus,
.hero-buttons .hero-button:focus-visible {
    border-radius: 25px;
}

.play-now-button:focus,
.play-now-button:focus-visible {
    border-radius: 25px;
}

.order-now-button:focus,
.order-now-button:focus-visible {
    border-radius: 25px;
}



.video-player:focus,
.video-player:focus-visible {
    border-radius: 4px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        max-height: 910px;
    }

    .hero-background {
        background-image: url('images/hero-mobile.jpg');
        background-position: center bottom;
    }

    .hero-mcd-logo {
        top: 10px;
        left: 10px;
    }

    .hero-mcd-logo .mcd-logo {
        height: 40px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-vr-logo .vr-logo {
        height: 60px;
    }

    .hero-headline {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-buttons-container {
        padding-bottom: 10px;
    }

    .hero-buttons {
        gap: 0;
    }

    .hero-buttons button,
    .hero-buttons .hero-button {
        padding: 12px 20px;
        font-size: 1rem;
        max-height: 50px;
        width: 100%;
        max-width: 300px;
        margin: 4px 0;
    }

    .hero-buttons .secondary,
    .hero-buttons .hero-button.secondary {
        width: 278px;
        min-width: auto;
    }

    .button-row {
        flex-direction: column;
        margin-bottom: 0;
    }

    /* Gameplay Section */
    .video-container {
        margin-bottom: 30px;
    }

    .video-player {
        max-width: 100%;
        margin: 0 10px;
    }

    .gameplay-section {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .gameplay-highlights {
        padding: 0 15px;
    }

    .highlights-list li {
        margin-bottom: 20px;
    }



    /* How to Play Section */
    .how-to-play-content {
        flex-direction: column;
        gap: 0;
        padding: 0 15px;
        margin-top: 20px;
    }

    .vertical-divider {
        width: 100%;
        height: 1px;
        min-height: 1px;
        margin: 20px 0 25px;
    }

    .content-column {
        text-align: center;
    }

    .content-column h3 {
        font-size: 20px;
    }

    .content-column ul {
        text-align: left;
        padding-left: 15px;
        margin-bottom: 0;
    }

    .play-now-button {
        width: 100%;
        max-width: 250px;
        margin: 20px auto 0;
    }

    /* Meal Section */
    .meal-section {
        padding: 35px 0;
    }

    .meal-title-desktop {
        display: none;
    }
    
    .meal-title-mobile {
        display: block;
    }

    .meal-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .meal-desktop-image {
        display: none;
    }

    .meal-mobile-image {
        display: block;
        max-width: 90%;
        margin: 0 auto;
    }

    .ad-banner ins {
        width: 100% !important;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: row;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
        margin-left: 0;
    }

    .footer-row {
        flex-direction: column;
        gap: 15px;
        flex: 1;
    }

    .footer-column {
        text-align: left;
        flex: 0 0 auto;
    }

    .footer-copyright {
        margin-top: 20px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-mcd-logo {
        top: 30px;
        left: 15px;
    }

    .hero-vr-logo .vr-logo {
        height: 90px;
    }

    .hero-vr-logo {
        margin-bottom: 10px;
    }

    .hero-headline {
        font-size: 48px;
        max-width: 300px;
        margin: 0 auto 20px;
        line-height: 44px;
    }

    .hero-description {
        font-size: 21px;
        line-height: 27px;
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .hero-buttons button,
    .hero-buttons .hero-button {
        font-size: 0.9rem;
        padding: 10px 16px;
        max-height: 50px;
    }

    /* Meal Section */
    .meal-mobile-image {
        max-width: 85%;
        margin: 0 auto;
    }

    /* Footer */
    .footer-links {
        gap: 20px;
        max-width: 350px;
    }

    .footer-row {
        gap: 10px;
    }

    .footer-column a {
        font-size: var(--copyright-text-size);
    }
}

/* ==========================================================================
   Reduced Motion Preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    /* Temporarily disabled to test animation */
    /* .hero-background {
        animation: none !important;
    }
    
    .hero-background *,
    .hero-buttons *,
    .meal-section *,
    .gameplay-section *,
    .how-to-play-section * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    } */
}