@font-face {
    font-family: 'Congenial';
    src: url('../fonts/Congenial-Regular.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Congenial-Bold';
    src: url('../fonts/Congenial-Bold.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Lorrach';
    src: url('../fonts/Lorrach-Heavy.otf') format('opentype');
}

/* =================================== */
/* Styles for Content Pages (Privacy, Rules, etc.) */
/* =================================== */

/* Ensure the body takes full height and uses the landing page background */
body {
    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
table {
    margin: 2rem;
}
th {
    font-family: 'Congenial-Bold', sans-serif;
    font-size: 1.5em;
    color: var(--milka-white);
    text-align: left;
    padding: 15px 30px 15px 0;
}
td {
    font-family: 'Congenial', sans-serif;
    font-size: 1em;
    line-height: 0.5;
    color: var(--milka-white);
    text-align: left;
    padding: 10px 0;
}

/* Ensure .landing-container allows flex! */
.landing-container {
    display: flex;
    flex-direction: column;
    flex: 1; 
}

/* Main content area */
.main-content {
    flex: 1; 
    padding: 20px 0 40px; 
}

.content-container {
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 50px 60px; 
}

/* Headings */
.content-container h1 {
    font-family: 'Congenial-Bold', sans-serif; 
    font-size: 2.5em; 
    color: var(--milka-white); 
    text-align: center;
    margin-top: 0; 
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--milka-light-purple); 
}

/* Paragraphs */
.content-container p {
    font-family: 'Congenial', sans-serif;
    text-align: justify;
    font-size: 1.2em; 
    line-height: 1.7;
    margin-bottom: 1.2em;
    color: var(--milka-white); 
}

/* Strong/Bold text (used as subheadings in privacy policy) */
.content-container strong {
    font-family: 'Congenial-Bold', sans-serif; 
    text-align: left;
    color: var(--milka-white);
    display: block; 
    margin-top: 1.5em; 
    margin-bottom: 0.5em; 
    font-size: 1.6em;
    line-height: 1.4;
}

/* Links */
.content-container a {
    color: var(--milka-white); 
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-container a:hover {
    color: var(--milka-purple);
}

.content-container ul {
    margin-left: 20px;
}

.content-container ol {
    margin-left: 20px;
}

.content-container li {
    line-height: 1.7;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.content-container a {
    color: var(--milka-white); 
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-container a:hover {
    color: var(--milka-purple);
}

.content-container h2 {
    font-family: 'Congenial-Bold', sans-serif; 
    color: var(--milka-white);
    display: block; 
    margin-top: 1.5em; 
    margin-bottom: 0.5em; 
    font-size: 1.8em;
}
/* Responsive adjustments for content container */
@media (max-width: 992px) {
    .content-container {
        max-width: 90%;
        padding: 40px 45px;
    }
    .content-container h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 30px 25px;
        margin: 20px auto;
    }
     .content-container h1 {
        font-size: 1.8em;
    }
    .content-container p {
        font-size: 0.95em;
    }
     .content-container strong {
        font-size: 1.05em;
    }
}



/* =====================
   Base styles
===================== */
:root {
    --milka-purple: #3B2774;
    --milka-light-blue: #8BD1F0;
    --milka-white: #FFFFFF;
}

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

body {
    /* Base styles are inherited from main CSS */
    font-family: 'Congenial', sans-serif;
    overflow-x: hidden; 
    background-image: url(../images/bg-dt.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 
}

@media (max-width: 768px) {
    body {
        background-image: url(../images/bg-m.jpg);
        background-attachment: scroll; 
    }
}

.landing-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.full-width-bg {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: var(--milka-purple);
    position: relative;
}

/* Common section styles */
.section-title {
    font-family: 'Lorrach', sans-serif;
    font-size: 55px;
    line-height: 1.15em;
    text-transform: uppercase;
    color: var(--milka-white);
    text-align: center;
    margin-bottom: 60px;
}

.section-description {
    font-family: 'Congenial', sans-serif;
    font-size: 26px;
    line-height: 1em;
    color: var(--milka-white);
    margin-top: 20px;
}

/* =====================
   Header/Navigation
===================== */
.header {
    padding: 0;
    background-color: var(--milka-purple);
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    justify-content: center;
}

.header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 160px;
    width: 100%;
    max-width: 1440px;
}

.header-logo img {
    max-height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Lorrach', sans-serif;
    font-size: 25px;
    line-height: 2.4em;
    text-transform: uppercase;
    color: var(--milka-white);
    text-decoration: none;
}

.nav-link.active {
    color: var(--milka-light-blue);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 102;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.hamburger-lines .line {
    height: 3px;
    width: 100%;
    background-color: var(--milka-white);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--milka-purple);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 99;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu a {
    font-family: 'Lörrach', sans-serif;
    font-weight: 800;
    font-size: 25px;
    text-transform: uppercase;
    line-height: 2.4em;
    color: var(--milka-white);
    text-decoration: none;
}

.mobile-menu a.active {
    color: var(--milka-light-blue);
}

/* Language Selector Dropdown */
.header-language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.language-selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selected .flag {
    width: 36px;
    border-radius: 6px;
    height: auto;
    object-fit: cover;
}

.dropdown-icon {
    width: 24px;
    height: 24px;
    fill: var(--milka-white);
    transition: transform 0.3s ease;
}

.header-language-selector.open .dropdown-icon {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 12px;
    background-color: var(--milka-purple);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    flex-direction: column;
    padding: 10px;
    margin-top: 8px;
}

.header-language-selector.open .language-dropdown {
    display: flex;
    gap: 15px;
}

.language-dropdown .flag-container {
    padding: 6px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-dropdown .flag-container:hover {
    border: 2px solid var(--milka-light-blue);
}

.language-dropdown .flag-container.active {
    opacity: 0.4;
}

.language-dropdown .flag-container.active {
    border: none;
}

.language-dropdown .flag {
    width: 36px;
    height: auto;
    object-fit: cover;
}

.language-selector-wrapper {
    display: flex;
    gap: 10px;
}

.flag-container {
    cursor: pointer;
    transition: opacity 0.3s;
    width: 30px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.flag-container.active {
    opacity: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================
   Hero Section
===================== */
.hero-section {
    color: var(--milka-white);
    position: relative;
    overflow: hidden;
}

.main-wrapper {
    padding: 40px 80px 0;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 600px;
    flex: 1;
    padding-right: 2rem;
}

.logo-section {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 300px;
}

.hero-title {
    font-family: 'Lorrach', sans-serif;
    font-size: 3rem;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-family: 'Congenial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
}

.app-links {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.app-link img {
    height: 50px;
}

.desktop-hero-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 700px;
}

.mobile-hero-container {
    display: none;
}

/* =====================
   How-to Section
===================== */
.how-to-section {
    position: relative;
    padding: 100px 0;
    margin: calc(10vh + 30px) 0; 
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: max(calc(10vh + 30px), 80px);
    margin-bottom: max(calc(10vh + 30px), 80px);
}

/* Main purple background */
.how-to-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--milka-purple);
    z-index: -2;
}

/* Top wave */
.how-to-section .wave-top {
    position: absolute;
    top: calc(-10vh - 29px);
    left: 0;
    width: 100%;
    height: calc(10vh + 30px); 
    background-image: url('../images/background-top.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    z-index: -1;
    min-height: 80px; 
    max-height: 180px; 
}

/* Bottom wave */
.how-to-section .wave-bottom {
    position: absolute;
    bottom: calc(-10vh - 29px);
    left: 0;
    width: 100%;
    height: calc(10vh + 30px); 
    background-image: url('../images/background-bottom.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    z-index: -1;
    min-height: 80px; 
    max-height: 180px; 
}

.how-to-content {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}

.how-to-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.how-to-card {
    background-color: #7D69AF;
    border-radius: 16px;
    width: 350px;
    padding: 2.5rem 2rem;
    box-shadow: 0px 2px 4px 0px rgba(62, 52, 69, 0.04), 0px 24px 48px -8px rgba(62, 52, 69, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    flex: 1 0 calc(33.33% - 30px);
    max-width: 350px;
}

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

.step-number-container {
    width: 45px;
    height: 45px;
    background-color: #8BD1F0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.step-number {
    font-family: 'Congenial-Bold', sans-serif;
    font-size: 32px;
    color: #FFFFFF;
    line-height: 1em;
    letter-spacing: 1.1%;
}

.step-title {
    font-family: 'Congenial-Bold', sans-serif;
    font-size: 32px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 0.875em;
    margin: 0;
    text-align: center;
}

.step-icon {
    width: 148px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin: 0.5rem 0;
}

.step-text {
    font-family: 'Congenial', sans-serif;
    font-size: 26px;
    line-height: 1.077em;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    margin-top: auto;
    max-width: 311px;
}

/* =====================
   Products Section
===================== */
.products-section {
    padding: 80px 0;
    text-align: center;
}

.products-section-title,
.prizes-section-title {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.products-slider,
.prizes-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Product Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    
    max-width: calc((350px * 3) + (35px * 2));
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    margin: 0 auto;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    scroll-snap-type: x mandatory;
}

.slider-wrapper::-webkit-scrollbar {
    display: none; 
}

.product-card {
    flex: 0 0 350px;
    width: 350px;
    height: 575px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 0 10px 15px;
    gap: 8px;
    color: white;
    scroll-snap-align: center;
}

.product-image {
    height: 320px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.product-info {
    padding: 0 10px;
    text-align: left;
    margin-bottom: 8px;
}

.product-name {
    font-family: 'CongenialMilka Bold', 'Congenial', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1em;
    margin: 0;
}

.product-description {
    padding: 0 10px;
    text-align: left;
    flex-grow: 1; 
}

.product-description p {
    font-family: 'CongenialMilka Regular', 'Congenial', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.15em;
    margin: 0;
}

/* Slider Navigation - positioned relative to the products-slider */
.slider-navigation {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: calc(100% + 100px); 
    left: -50px; 
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0;
    z-index: 10;
}

.slider-button {
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.slider-button-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #8BD1F0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-button:hover .slider-button-circle {
    background-color: #6BB5D4;
    transform: scale(1.05);
}

.slider-button:active .slider-button-circle {
    transform: scale(0.95);
}


.slider-button::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(59, 39, 116, 0.2);
    z-index: -1;
}

/* Media queries for different screen sizes */

@media (max-width: 1400px) {
    .slider-navigation {
        width: calc(100% + 80px);
        left: -40px;
    }
}


@media (max-width: 1200px) {
    .slider-container {
        
        max-width: calc((350px * 2) + 35px);
    }
    
    .slider-navigation {
        width: calc(90%);
        left: 5%;
    }
    
    .product-card {
        flex: 0 0 350px;
        width: 350px;
    }
}


@media (max-width: 992px) {
    .product-card {
        flex: 0 0 300px;
        width: 300px;
        height: 500px;
    }
    
    .product-image {
        height: 280px;
        margin-bottom: 15px;
    }
    
    .product-image img {
        max-height: 240px;
    }
    
    .product-name {
        font-size: 28px;
    }
    
    .product-description p {
        font-size: 22px;
    }
    
    .slider-wrapper {
        gap: 20px;
    }
}


@media (max-width: 768px) {
    .slider-container {
        
        max-width: 280px;
        padding: 20px 0;
        margin: 0 auto;
        position: relative;
    }
    
    .slider-wrapper {
        gap: 20px;
        padding: 0;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 280px;
        width: 280px;
        height: 450px;
        scroll-snap-align: center;
        margin: 0 auto;
    }
    
    .product-image {
        height: 240px;
        margin-bottom: 12px;
    }
    
    .product-image img {
        max-height: 200px;
    }
    
    .product-name {
        font-size: 24px;
    }
    
    .product-description p {
        font-size: 18px;
    }
    
    
    .slider-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-button.prev-button {
        left: -20px;
    }
    
    .slider-button.next-button {
        right: -20px;
    }
    
    .slider-button-circle {
        width: 50px;
        height: 50px;
    }
    
    .slider-button::before {
        width: 60px;
        height: 60px;
    }
}


@media (max-width: 480px) {
    .slider-container {
        max-width: 240px;
    }
    
    .product-card {
        flex: 0 0 240px;
        width: 240px;
        height: 400px;
    }
    
    .product-image {
        height: 200px;
        margin-bottom: 10px;
    }
    
    .product-image img {
        max-height: 180px;
    }
    
    .product-name {
        font-size: 22px;
    }
    
    .product-description p {
        font-size: 16px;
    }
    
    .slider-button.prev-button {
        left: -18px;
    }
    
    .slider-button.next-button {
        right: -18px;
    }
    
    .slider-button-circle {
        width: 40px;
        height: 40px;
    }
    
    .slider-button::before {
        width: 50px;
        height: 50px;
    }
}

.products-placeholder,
.prizes-placeholder {
    width: 100%;
    margin-bottom: 60px;
}

.products-image,
.prizes-image {
    max-width: 100%;
    height: auto;
}

.points-notice {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================
   Prizes Section
===================== */
.prizes-section {
    padding: 80px 0;
    text-align: center;
}

/* Prize Slider Styles */
.prizes-slider .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    
    max-width: calc((350px * 3) + (35px * 2));
    margin: 0 auto;
}

.prize-card {
    flex: 0 0 350px;
    width: 350px;
    height: 595px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 0 10px 15px;
    gap: 8px;
    background-color: var(--milka-purple);
    color: white;
    scroll-snap-align: center;
}

.prize-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 22px;
    position: relative;
}

.prize-quantity {
    font-family: 'CongenialMilka Heavy', 'Congenial Bold', 'Congenial', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 0.5em;
    color: white;
    margin-bottom: 8px;
}

.prize-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.prize-name {
    font-family: 'CongenialMilka Heavy', 'Congenial Bold', 'Congenial', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 0.8em;
    text-align: center;
    color: white;
    margin: 0;
    margin-top: 10px;
}

.prize-description {
    padding: 0 20px;
    margin-top: 60px;
    text-align: center;
    flex-grow: 1;
}

.prize-description p {
    font-family: 'CongenialMilka Regular', 'Congenial', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1em;
    text-align: center;
    color: white;
    margin: 0;
}

/* Media queries for prize cards */
@media (max-width: 1200px) {
    .prizes-slider .slider-container {
        max-width: calc((350px * 2) + 35px);
    }
}

@media (max-width: 992px) {
    .prizes-slider .slider-container {
        max-width: calc((300px * 2) + 20px);
    }
    
    .prize-card {
        flex: 0 0 300px;
        width: 300px;
        height: 530px;
    }
    
    .prize-quantity {
        font-size: 40px;
    }
    
    .prize-name {
        font-size: 28px;
    }
    
    .prize-description {
        margin-top: 40px;
    }
    
    .prize-description p {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .prizes-slider .slider-container {
        max-width: 280px;
    }
    
    .prize-card {
        flex: 0 0 280px;
        width: 280px;
        height: 480px;
    }
    
    .prize-image {
        padding-top: 30px;
        gap: 15px;
    }
    
    .prize-quantity {
        font-size: 36px;
    }
    
    .prize-image img {
        max-height: 180px;
    }
    
    .prize-name {
        font-size: 24px;
    }
    
    .prize-description {
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .prize-description p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .prizes-slider .slider-container {
        max-width: 240px;
    }
    
    .prize-card {
        flex: 0 0 240px;
        width: 240px;
        height: 420px;
    }
    
    .prize-image {
        padding-top: 20px;
        gap: 10px;
    }
    
    .prize-quantity {
        font-size: 32px;
    }
    
    .prize-image img {
        max-height: 150px;
    }
    
    .prize-name {
        font-size: 22px;
    }
    
    .prize-description {
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .prize-description p {
        font-size: 16px;
    }
}

/* =====================
   App Links Section
===================== */
.app-links-section {
    padding: 80px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.app-links-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-links-description {
    font-family: 'Congenial', sans-serif;
    font-size: 26px;
    line-height: 1em;
    color: var(--milka-white);
    margin-bottom: 30px;
}

.app-download-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* =====================
   Footer
===================== */
.footer {
    position: relative;
    padding: 0;
    padding-top: max(calc(10vh + 60px), 140px); 
    padding-bottom: 30px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(10vh + 31px); 
    background-image: url('../images/background-top.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    z-index: 0;
    min-height: 80px; 
    max-height: 180px; 
}

.background-middle {
    position: absolute;
    top: calc(10vh + 30px); 
    left: 0;
    width: 100%;
    height: calc(100% - (10vh + 30px));
    background-color: var(--milka-purple);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 20px 0;
}

.footer-link {
    font-family: 'Congenial', sans-serif;
    font-size: 26px;
    color: var(--milka-white);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.social-icon img {
    width: 40px;
    height: 40px;
}

.footer-logo img {
    height: 60px;
}

.copyright {
    font-family: 'Congenial', sans-serif;
    font-size: 18px;
    color: var(--milka-white);
    line-height: 1em;
    margin-top: 10px;
}

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

/* Large screens (≤1200px) */
@media (max-width: 1200px) {
    /* Header */
    .header .header-inner {
        padding: 16px 80px;
    }
    
    .nav-link {
        font-size: 20px;
    }

    /* Hero */
    .main-wrapper {
        padding: 40px 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.4rem;
    }
    
    /* How-to section */
    .section-title {
        font-size: 48px;
    }

    .how-to-card {
        width: 320px;
        padding: 2rem 1.5rem;
        flex: 1 1 320px;
    }
    
    .step-text {
        font-size: 24px;
    }
    
    /* Wave elements */
    .how-to-section .wave-top {
        top: calc(-8vh - 29px);
        height: calc(8vh + 30px);
    }
    
    .how-to-section .wave-bottom {
        bottom: calc(-8vh - 29px);
        height: calc(8vh + 30px);
    }
    
    .background-top {
        height: calc(8vh + 31px);
    }
    
    .background-middle {
        top: calc(8vh + 30px);
        height: calc(100% - (8vh + 30px));
    }
    
    .how-to-section {
        margin-top: max(calc(8vh + 30px), 80px);
        margin-bottom: max(calc(8vh + 30px), 80px);
    }
    
    .footer {
        padding-top: max(calc(8vh + 60px), 120px);
    }
}

/* Medium screens (≤992px) */
@media (max-width: 992px) {
    /* Hero */
    .hero-text {
        max-width: 70%;
    }

    /* How-to section */
    .how-to-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .how-to-grid {
        gap: 25px;
    }

    .how-to-card {
        flex: 1 0 calc(33.33% - 20px);
        min-width: 250px;
        max-width: 320px;
        padding: 1.8rem 1.2rem;
        gap: 1.2rem;
    }

    .step-icon {
        width: 120px;
    }
    
    .step-title {
        font-size: 28px;
    }
    
    .step-text {
        font-size: 20px;
    }
    
    /* Content sections */
    .section-description,
    .app-links-description {
        font-size: 22px;
    }
    
    /* Footer */
    .footer-link {
        font-size: 22px;
    }
}

/* Intermediate breakpoint for 2-card layout */
@media (max-width: 850px) and (min-width: 769px) {
    .how-to-grid {
        gap: 20px;
    }
    
    .how-to-card {
        flex: 1 0 calc(50% - 20px); 
        max-width: calc(50% - 20px);
    }
}

/* Small screens (≤768px) */
@media (max-width: 768px) {
    /* Header */
    .header {
        position: relative;
        z-index: 100;
    }
    
    .header .header-inner {
        padding: 12px 40px;
        position: relative;
        justify-content: space-between;
    }
    
    
    .header-right .nav-links {
        display: none;
    }
    
    
    .mobile-menu-toggle {
        display: block;
    }
    
    
    .mobile-menu.show {
        display: flex;
    }
    
    /* Hero */
    .main-wrapper {
        padding: 30px 40px;
    }

    .hero-section .logo-section {
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .hero-section .hero-title {
        font-size: 2.25rem;
        margin: 0 auto 1.25rem;
        text-align: center;
    }

    .hero-section .hero-text {
        font-size: 1.125rem;
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .hero-section .app-links {
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    
    
    .desktop-hero-container {
        display: none;
    }

    .mobile-hero-container {
        display: block;
        margin: 0 auto 1.5rem;
        text-align: center;
    }
    
    /* How-to section */
    .how-to-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .how-to-grid {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .how-to-card {
        width: 90%;
        max-width: 350px;
        padding: 2rem 1.5rem;
        gap: 1rem;
        flex: 0 0 auto;
    }
    
    .step-title {
        font-size: 26px;
    }
    
    /* Content sections */
    .products-section,
    .prizes-section,
    .app-links-section {
        padding: 60px 0;
    }

    .products-section-title,
    .prizes-section-title {
        margin-bottom: 40px;
    }

    .section-description,
    .app-links-description {
        font-size: 18px;
    }
    
    /* Footer */
    .footer {
        padding-top: max(calc(6vh + 60px), 100px);
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-link {
        font-size: 18px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }

    .footer-logo img {
        height: 40px;
    }

    .copyright {
        font-size: 14px;
    }
    
    /* Wave elements */
    .how-to-section .wave-top {
        top: calc(-6vh - 29px);
        height: calc(6vh + 30px);
    }
    
    .how-to-section .wave-bottom {
        bottom: calc(-6vh - 29px);
        height: calc(6vh + 30px);
    }
    
    .background-top {
        height: calc(6vh + 31px);
    }
    
    .background-middle {
        top: calc(6vh + 30px);
        height: calc(100% - (6vh + 30px));
    }
    
    .how-to-section {
        margin-top: max(calc(6vh + 30px), 80px);
        margin-bottom: max(calc(6vh + 30px), 80px);
    }
}

/* Extra small screens (≤480px) */
@media (max-width: 480px) {
    /* How-to section */
    .how-to-card {
        width: 95%;
        padding: 1.5rem 1rem;
        gap: 0.8rem;
    }
    
    .step-number-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.3rem;
    }
    
    .step-number {
        font-size: 28px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .step-icon {
        width: 100px;
        margin: 0.3rem 0;
    }
    
    .step-text {
        font-size: 18px;
    }
}