@font-face {
    font-family: Congenial;
    src: url(../fonts/font-heavy.ttf);
    font-weight: 600;
}
@font-face {
    font-family: Congenial;
    src: url(../fonts/font-medium.ttf);
    font-weight: 400;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: Congenial, Arial, sans-serif;
    /* background-color: #644e97; */
    /* background: linear-gradient(180deg, rgba(133,122,188,1) 0%, rgba(81,71,134,1) 100%); */
    background-color: #7d69af;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    /* background-color: #644e97; */
}

.logo img {
    height: 5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav li {
    position: relative;
}

.main-nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 1rem;
    width: 1px;
    background-color: white;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 0 2rem;
}

.content-wrapper {
    display: flex;
    width: 90%;
    max-width: 1400px;
    background-color: #634f97;
    border-radius: 50px;
    padding: 5rem;
    position: relative;
    overflow: visible;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.text-container {
    flex: 2;
    z-index: 2;
    padding-right: 3rem;
}

.main-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.subheading {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.subheading-span {
    color: #8ecbef;
}

.buttons-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: #8ecbef;
    color: #3b2774;
}

.secondary-button {
    background-color: #8ecbef;
    color: #3b2774;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bunny-container {
    overflow: visible;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.bunny-image {
    max-height: 600px;
    position: absolute;
    bottom: -5rem;
    right: 0rem;
}

/* How to Play Section */
.how-to-play {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-left: 10rem;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.search-card {
    position: absolute;
    width: 350px;
    height: 200px;
    top: 0;
    right: 0;
    transform: rotate(10deg);
    z-index: 10;
}

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

.card-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #644e97;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.video-container {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 3rem;
    background-color: #634f97;
    border-radius: 50px;
}

.video-wrapper {
    width: 100%;
    position: relative;
    background: #333;
    border-radius: 50px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.instructions-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
    gap: 5rem;
    align-items: flex-start;
}

.arrow-container {
    margin-top: -2rem;
}

.arrow-image {
    width: 100px;
    margin-left: 2rem;
}

.instruction-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    margin-left: -3rem;
}

.instruction-card-2 {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
    margin-left: -3rem;
}

.instruction-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.instruction-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

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

.steps-container {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #644e97;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-description {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #8ecbef;
}

.step-description-secondary {
    color: #fff;
}

/* Store Hunt Section */
.store-hunt {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #634f97;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.store-hunt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    position: relative;
    margin-top: -2rem;
}

.store-egg-image {
    width: 175px;
    height: 175px;
    position: relative;
    rotate: -30deg;
    top: -5rem;
    left: -2rem;
}

.store-egg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-title {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
    flex-grow: 1;
    margin-top: 4rem;
}

.store-card {
    position: relative;
    top: -4rem;
    right: -5rem;
    width: 350px;
    margin-bottom: 1rem;
    /* height: 250px; */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: rotate(10deg);
}

.store-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #644e97;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.store-content {
    width: 100%;
    margin-top: -5rem;
    margin-bottom: 2rem;
}

.store-description {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #8ecbef;
}

.store-description-secondary {
    font-size: 1.5rem;
    line-height: 1.3;
    opacity: 0.9;
    font-weight: 400;
}

/* Store Video Section */
.store-video-section {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.store-video {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.store-info-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* gap: 3rem; */
    margin-bottom: 3rem;
    padding: 0 3rem;
}

.store-info-container-first-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-info-text {
    width: 100%;
    /* max-width: 600px; */
    margin: 0;
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
}

.store-info-text p {
    margin-bottom: 1.5rem;
}

.store-info-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0rem;
    padding: 0 2rem;
}

.store-info-card {
    width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-10deg);
    top: 2rem;
    left: -5rem;
    position: relative;
}

.store-info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-eggs-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.store-eggs-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.store-eggs-image img:first-child {
    position: relative;
    rotate: 0deg;
    right: -1rem;
    bottom: -3rem;
}

.store-eggs-image img:nth-child(2) {
    position: relative;
    rotate: -20deg;
    right: 2rem;
    bottom: 2rem;
}

.store-happy-customer {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(10deg);
    top: 3rem;
    position: relative;
}

.store-customer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-conclusion {
    width: 100%;
    max-width: 650px;
    margin: 2rem 0 auto;
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: left;
}

.store-conclusion-span {
    color: #8ecbef;
}

.thanks-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.thanks-text {
    font-size: 2.5rem;
    color: #8ecbef;
    font-weight: 600;
    position: relative;
}

.store-hunt-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* Footer Styles */
.main-footer {
    width: 100%;
    background-color: #f7f4f4;
    padding-top: 5rem;
    text-align: center;
    margin-top: auto;
    position: relative;
}

.footer-bg {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    position: relative;
    bottom: -5px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.social-icons {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-links {
    width: auto;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.75rem;
}

.footer-links-row li {
    position: relative;
    padding-right: 0.7rem;
    border-right: 1px solid #7d69ac;
}

.footer-links-row li:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-links-row li:not(:last-child)::after {
    content: none;
}

.footer-links-row li a {
    color: #7d69ac;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.footer-links-row li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
}

.mondelez-logo {
    margin-top: 2rem;
}

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

.footer-copyright {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #7d69ac;
    text-align: center;
}

@media (max-width: 1600px) {
    /* Large screens adjustments */
}

@media (max-width: 1200px) {
    .content-wrapper {
        padding: 3rem;
    }
    
    .main-heading {
        font-size: 3rem;
    }
    
    .store-info-container-first-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .store-info-card {
        left: 0;
        top: 0;
        width: 350px;
        transform: rotate(-5deg);
        margin: 0 auto;
    }
    
    .store-info-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .store-info-images {
        flex-direction: column;
        align-items: center;
        gap: 0rem;
        margin-top: 0rem;
    }

    .store-video-section {
        margin-bottom: 0rem;
    }
    
    .store-eggs-image {
        margin: 2rem 0;
        flex-direction: row;
        gap: 2rem;
    }
    
    .store-eggs-image img:first-child, 
    .store-eggs-image img:nth-child(2) {
        position: static;
        rotate: 0deg;
        right: 0;
        bottom: 0;
    }
    
    .store-happy-customer {
        top: 0;
        transform: rotate(5deg);
        margin: 0 auto;
    }
    
    .store-conclusion {
        text-align: center;
        margin: 2rem auto;
    }

    .footer-thanks {
        position: relative;
        margin: 0 auto;
        left: 0;
        transform: none;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    /* Mobile styles */
    .bunny-container {
        display: none;
    }

    .store-egg-image {
        display: none;
    }
    
    .store-card {
        display: none;
    }
    
    .search-card {
        display: none;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .content-wrapper {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .how-to-play {
        margin-top: 2rem;
    }

    .text-container {
        padding-right: 0;
    }
    
    .store-info-container {
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .store-video-section {
        padding: 0;
    }
    
    .video-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .store-eggs-image {
        display: none;
    }
    
    .store-info-text {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .store-info-container-first-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .store-info-images-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .store-info-container {
        padding: 0 1rem;
        margin-bottom: 0;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .store-conclusion {
        padding: 0 1rem;
    }
    
    .main-header {
        padding: 1rem;
    }
    
    .logo img {
        height: 3.5rem;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 1rem;
    }
    
    .main-nav li:not(:last-child)::after {
        display: none;
    }
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .button {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
    }
    
    .content-wrapper {
        padding: 2rem;
        border-radius: 30px;
    }
    
    .bunny-image {
        max-height: 400px;
        position: relative;
        bottom: 0;
        right: 0;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-left: 0;
        text-align: center;
    }
    
    .search-card {
        position: relative;
        width: 250px;
        height: 150px;
        transform: none;
        margin: 0 auto 2rem;
    }
    
    .instructions-container {
        grid-template-columns: 0fr 2fr;
        gap: 0rem;
    }

    .store-content {
        margin-top: 0;
    }
    
    .arrow-container {
        display: none;
    }
    
    .instruction-card, 
    .instruction-card-2 {
        display: none;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .store-hunt-header {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }
    
    .store-title {
        font-size: 2.5rem;
        text-align: center;
        margin: 2rem 0;
    }
    
    .store-description,
    .store-description-secondary {
        font-size: 1.2rem;
    }
    
    .footer-links-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-links-row li:not(:last-child)::after {
        display: none;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
    
    .video-wrapper {
        border-radius: 25px;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .store-info-card {
        width: 280px;
        margin: 0 auto;
        left: 0;
        transform: rotate(-5deg);
    }
    
    .store-info-text p {
        font-size: 1.1rem;
    }
    
    .youtube-iframe {
        border-radius: 25px;
    }
    
    /* Footer specific styles */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-links-row li:not(:last-child)::after {
        display: none;
    }
    
    .social-icons {
        gap: 1rem;
        justify-content: center;
    }
    
    .social-icon {
        width: 25px;
        height: 25px;
    }
    
    .mondelez-logo img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    /* Further spacing adjustments for very small screens */
    .main-header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: center;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .video-container {
        padding: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .youtube-iframe {
        border-radius: 15px;
    }
    
    .main-heading {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .subheading {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .bunny-image {
        max-height: 300px;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    .store-title {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .store-description,
    .store-description-secondary,
    .store-info-text p,
    .store-conclusion {
        font-size: 1rem;
    }
    
    .store-info-card,
    .store-happy-customer {
        width: 240px;
    }
    
    .store-eggs-image {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .main-footer {
        padding: 3rem 0 2rem;
    }
    
    /* Footer specific styles for very small screens */
    .social-icons {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}