@font-face {
    font-family: IQOS-Bold;
    src: url(fonts/IQOS-Bold.woff2);
}

@font-face {
    font-family: IQOS-Light;
    src: url(fonts/IQOS-Light.woff2);
}

@font-face {
    font-family: IQOS-Regular;
    src: url(fonts/IQOS-Regular.woff2);
}


body.comm-page-custom-terea-midnight body, body.comm-page-custom-midnight-eredmenytabla-teszt body {
    margin: 0;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
    background: #000;
}

.midnight-top body {
    background: #000 !important;
    text-align: center;

}

body.comm-page-custom-terea-midnight img, body.comm-page-custom-midnight-eredmenytabla-teszt img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.comm-page-custom-terea-midnight button, body.comm-page-custom-midnight-eredmenytabla-teszt button {
    -webkit-tap-highlight-color: transparent;
}

/* MidnightCampaign.css tartalma */
.midnight-campaign {
    width: 100%;
    background: #000;
    position: relative;
    overflow-x: hidden;
}

.header-image {
    width: 100%;
    max-width: 1506px;
    height: auto;
    display: block;
    margin: 9px auto;
}

.intro-number {
    font-size: 38px;
    font-family: IQOS-Bold;
    color: #BE6B17;
}

.intro-main {
    font-size: 38px;
    font-family: IQOS-Regular;
    color: #fff;
}

.intro-subtitle {
    font-size: 20px;
    font-family: IQOS-Bold;
    color: #fff;
}

.section-title {
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 157%;
    letter-spacing: 3px;
    margin-bottom: 29px;
}

.section-title.gold {
    color: #F4D991;
}

.gold {
    color: #F4D991;
}

.section-title.white {
    color: #fff;
}

.subsection-title {
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 157%;
    letter-spacing: 3px;
    margin-bottom: 29px;
}

.subsection-title2 {
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 157%;
    letter-spacing: 3px;
    margin-bottom: 60px;
}

.subsection-title.gold {
    color: #F4D991;
}

.subsection-title.white {
    color: #fff;
}


.fontos {
    background: #170D09 !important;
}

.hogyan1 {
    background: linear-gradient(180deg, #946921 0%, #2E210A 100%) !important;
}

.hogyan2 {
    background: linear-gradient(180deg, #C08C22 0%, #5A4210 100%) !important;
}

.hogyan3 {
    background: linear-gradient(180deg, #714F20 20%, #2E210A 100%) !important;
}

.hogyan4 {
    background: linear-gradient(180deg, #513412 20%, #1A0F03 100%) !important;
}

.hogyan5 {
    background: linear-gradient(180deg, #414038 20%, #1A1919 100%) !important;
}

.card-text {
    text-align: center;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    color: #fff;
    margin: 0;
    align-content: center;
}

.text-light {
    font-family: IQOS-Regular;
    font-size: 16px;
    color: #fff;
}

.text-normal {
    font-family: IQOS-Bold;
    font-size: 16px;
    color: #fff;
}

.ordering-guide-section {
    margin-bottom: 40px;
    position: relative;
    /* Hozzáadva a gombok pozicionálásához */
}


.campaign-intro-text {
    color: #fff;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 38px;
    letter-spacing: 3.8px;
    display: block;
}


.winning-cards {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* .prize-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
} */

.prize-main {
    font-family: IQOS-Bold;
    font-size: 30px;
    color: #fff;
}

.contest-rules {
    color: #fff;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 38px;
    line-height: 1.2em;
    letter-spacing: 3.8px;
    max-width: 1699px;
    margin: 60px auto;
}

.carousel-bg {
    position: relative;
    width: 100%;
    overflow: hidden;

    background: linear-gradient(180deg, #000000 5%, #5E3F19 20%, #5E3F19 65%, #000000 95%);
}

.carousel-track {
    display: flex;
    /* A transition és a transform a JS által lesz kezelve */
}

.product-card {
    display: flex;
    width: 600px;
    min-width: 600px;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #000;
    margin: 0 15px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
    /* Térköz a kártyák között */
}

.product-image {
    width: 100%;
    height: 326.43px;
    object-fit: contain;
    margin-top: 30px;
}

.product-info {
    text-align: center;
    color: #fff;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
}

.product-name {
    font-size: 30px;
    font-family: IQOS-Bold;
    line-height: 39px;
    letter-spacing: 2.4px;
    margin: 0 0 8px 0;
}

.product-series {
    font-size: 24px;
    font-family: IQOS-Regular;
    line-height: 39px;
    letter-spacing: 2.4px;
    margin: 0;
}

.product-ean {
    font-size: 24px;
    font-family: IQOS-Regular;
    line-height: 39px;
    letter-spacing: 2.4px;
    margin: 0;
}

.ean-bold {
    font-family: IQOS-Bold;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 1);
}

.hero {
    /* <!-- MEGJEGYZÉS: A kép elérési útját cseréld le a megfelelőre! --> */
    background: url('./images/head.jpg');
    background-size: 110% auto;
    background-position: right;
    height: 450px;
    background-repeat: no-repeat;
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav svg {
    width: 98px;
    height: 98px;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
}

.pagination-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #000;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.pagination-dot.active {
    background: #fff;
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}


.leaderboard-background {
    /* <!-- MEGJEGYZÉS: A kép elérési útját cseréld le a megfelelőre! --> */
    background: url('./images/bg.png');
    background-size: 100%;
    background-repeat: no-repeat;
}

.leaderboard-container {
    border: 1px solid #3B2819;
    background: rgba(0, 0, 0, 0.9);
}

.leaderboard-title {
    color: #fff;
    text-align: center;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 157%;
    letter-spacing: 3px;
    margin: 0 0 29px 0;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leaderboard-item {
    display: flex;
    padding: 20px 40px;
    justify-content: center;
    align-items: center;
    gap: 32px;
    border-radius: 20px;
    border: 1px solid #3B2819;
    background: #170D09;
}

.leaderboard-item.highlighted {
    background: #2B170F;
}

.rank-indicator {
    width: 54px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 200%;
    letter-spacing: 2px;
}

.store-name {
    width: 438px;
    color: #fff;
    text-align: center;
    font-family: IQOS-Bold, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 200%;
    letter-spacing: 2px;
}

.store-value {
    width: 37px;
    color: #fff;
    text-align: center;
    font-family: IQOS-Bold, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 200%;
    letter-spacing: 2px;
}

.ready-text {
    text-align: center;
    font-family: IQOS-Bold, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 157%;
    letter-spacing: 2px;
    padding: 60px 111px;
    margin: 0;
}

.campaign-footer {
    width: 100%;
    min-height: 400px;
    background: #34303D;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
}

.footer-image {
    width: 100%;
    max-width: 1536px;
    height: auto;
}

.mt-4 {
    margin-top: 70px !important;
}

/* Responsive Design */
@media (max-width: 1920px) {
    .header-image {
        width: 100%;
        height: auto;
    }

    .hero {
        background-size: 110% auto;
        background-position: right;
        height: 450px;
    }

    .leaderboard-background {
        width: 100%;
        height: auto;
        left: 0;
    }

    .footer-image {
        width: 100%;
        height: auto;
    }
}
   .intro-number2 {
        font-size: 16px;
        color: #BE6B17;
    }
@media (max-width: 1200px) {

    .intro-number,
    .intro-main {
        font-size: 28px;
    }

 

    .section-title,
    .subsection-title {
        font-size: 24px;
    }

    .campaign-intro-text,
    .contest-rules {
        font-size: 28px;
    }

    .card-text {
        font-size: 16px;
    }

    .product-card {
        width: 500px;
        min-width: 500px;
    }

    .leaderboard-container {
        width: 90%;
        padding: 40px;
    }
}

@media (max-width: 768px) {


    .intro-number,
    .intro-main {
        font-size: 24px;
    }

    .intro-subtitle {
        font-size: 16px;
    }

    .section-title,
    .subsection-title {
        font-size: 20px;
    }

    .campaign-intro-text,
    .contest-rules {
        font-size: 18px;
        /* margin-bottom: 60px; */
    }

    .card-text {
        font-size: 16px;
        padding: 0 10px;
    }

    .info-card {
        padding: 40px 20px;
        height: auto;
    }

    .product-carousel {
        height: auto;
        margin: 60px 0;
    }

    .carousel-track {
        padding: 0;
    }

    .product-card {
        width: 320px;
        min-width: 320px;
        padding: 20px;
    }

    .product-image {
        height: auto;
        max-height: 250px;
    }

    .product-name {
        font-size: 24px;
    }

    .product-series,
    .product-ean {
        font-size: 18px;
    }

    .carousel-nav {
        width: 60px;
        height: 100%;
    }

    .carousel-nav svg {
        width: 40px;
        height: 40px;
    }

    .carousel-pagination {
        position: static;
        margin-top: 30px;
        gap: 20px;
    }

    .pagination-dot {
        width: 24px;
        height: 24px;
    }

    .prize-cards {
        width: 100%;
    }

    .prize-main {
        font-size: 28px;
    }

    .leaderboard-container {
        position: relative;
        width: calc(100% - 32px);
        margin: 16px;
        padding: 24px 16px;
        left: auto;
        top: auto;
        transform: none;
    }

    .leaderboard-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .leaderboard-item {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .rank-indicator {
        width: 40px;
        font-size: 16px;
    }

    .store-name {
        width: auto;
        flex: 1;
        min-width: 150px;
        font-size: 16px;
        text-align: left;
    }

    .store-value {
        width: auto;
        font-size: 16px;
    }

    .ready-text {
        font-size: 16px;
        padding: 40px 16px;
    }

    .campaign-footer {
        height: auto;
        padding: 40px 16px;
    }

    .footer-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {

    .intro-number,
    .intro-main {
        font-size: 20px;
    }

    .intro-subtitle {
        font-size: 14px;
    }

    .section-title,
    .subsection-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .campaign-intro-text,
    .contest-rules {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .card-text {
        font-size: 14px;
        line-height: 180%;
    }

    .info-card {
        padding: 30px 16px;
    }

    .product-card {
        width: 280px;
        min-width: 280px;
        padding: 16px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-series,
    .product-ean {
        font-size: 16px;
    }

    .carousel-nav {
        width: 50px;
    }

    .carousel-nav svg {
        width: 30px;
        height: 30px;
    }

    .pagination-dot {
        width: 20px;
        height: 20px;
    }

    .carousel-pagination {
        gap: 15px;
    }

    .prize-main {
        font-size: 24px;
    }

    .leaderboard-container {
        padding: 20px 12px;
    }

    .leaderboard-title {
        font-size: 18px;
    }

    .leaderboard-item {
        padding: 10px 12px;
        gap: 8px;
    }

    .rank-indicator {
        width: 30px;
        font-size: 14px;
    }

    .store-name,
    .store-value {
        font-size: 14px;
    }

    .ready-text {
        font-size: 14px;
        padding: 30px 16px;
    }
}

@media (max-width: 375px) {

    .section-title,
    .subsection-title {
        font-size: 16px;
    }

    .campaign-intro-text,
    .contest-rules {
        font-size: 14px;
    }

    .card-text {
        font-size: 13px;
    }

    .product-card {
        width: 250px;
        min-width: 250px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-series,
    .product-ean {
        font-size: 14px;
    }

    .leaderboard-title {
        font-size: 16px;
    }

    .store-name {
        min-width: 120px;
        font-size: 13px;
    }
}

.main-header {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    /* Enyhe háttér a jobb olvashatóságért */
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-nav .nav-list a {
    background: #74410D;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: IQOS-Bold;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
}

.main-nav .nav-list a:hover {
    color: #8d541b;
    background: #311b05;

}



/* Mobil nézet (hamburger menü) */
@media (max-width: 992px) {
    .main-header {
        justify-content: flex-end;
        /* A hamburger jobbra kerül */
    }

    .hero {
        background: url('./images/head_mob.jpg');
        background-size: 110% auto;
        background-position: -40px;
        height: 400px;
        background-repeat: no-repeat;
    }

    .main-nav {

        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .main-header.nav-open .main-nav {
        transform: translateX(0);
        /* Láthatóvá tesszük */
    }

    .main-nav .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .main-nav .nav-list a {
        font-size: 16px;
    }

    .hamburger-menu {
        display: block;
        /* Láthatóvá tesszük a hamburgert */
    }

    /* Hamburger "X" animáció */
    .main-header.nav-open .hamburger-menu span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .main-header.nav-open .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    .main-header.nav-open .hamburger-menu span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #F4D991;
    border: 1px solid #3B2819;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, background-color 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: rgba(23, 13, 9, 0.9);
    /* #170D09 */
}

/* Rejtett állapot */
.back-to-top-btn.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    /* Ne lehessen rákattintani, amíg rejtve van */
}

@media (max-width: 768px) {
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

.vonal {
    width: 50%;
    height: 1px;
    background: #F4D991;
    margin: 10px auto 50px;
}

@media (max-width: 1100px) {
    .hely {
        position: absolute;
        place-self: center;
                padding-bottom: 40px;
        z-index: 10;
    }

    .midnight-bottom {
        height: 3740px;
        width: 100%;
    }

    .midnight-top {
        height: 1360px;
        width: 100%;
    }

    .info-card {
        padding: 0;
        gap: 10px;
        background: #7F521E;
        background: linear-gradient(180deg, #5E3F19 0%, #15130E 100%);
        margin: 10px;
        border-radius: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .info-card img {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .info-card .icon img {
        border-radius: 0;
        margin-top: 10px;
    }
    .icon, .icon2 {
    margin-top: 30px;
    margin-bottom: 10px;
}
}

@media (min-width: 1100px) {
    .icon {
    margin-top: 50px;
}
    .icon2 {
    margin-top: 20px;
}
    .hely {
        position: absolute;
        margin-bottom: 285px;
        z-index: 10;
    }

    .card-text {
        text-align: center;
        font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 16px;
        color: #fff;
        margin: 0;
        min-height: 157px;
    }

    .info-card {
        flex: 1;
        display: flex;
        align-content: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-radius: 20px;
        background: #7F521E;
        background: linear-gradient(180deg, #5E3F19 0%, #15130E 100%);
        margin: 10px;
    }

    .info-card img {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .info-card .icon img {
        border-radius: 0;
        margin-top: 10px;
    }

    .card-text {
        padding: 20px;


    }

    .midnight-bottom {
        height: 2390px;
        width: 100%;
    }

    .midnight-top {
        height: 1280px;
        width: 100%;
    }
}

body.comm-page-custom-terea-midnight #main, body.comm-page-custom-midnight-eredmenytabla-teszt #main{
    background: #000 !important;
}

body.comm-page-custom-terea-midnight iframe, body.comm-page-custom-midnight-eredmenytabla-teszt iframe {
    overflow: hidden !important;
}

.hely img {
    width: 96px;
    height: auto;
    place-self: center;
}
body.comm-page-custom-terea-midnight .row, body.comm-page-custom-midnight-eredmenytabla-teszt .row {
    place-content: center;
    justify-content: center !important;
}
.prize-cards .info-card {
            padding-top: 0px;
}
.jogi {
    font-size: 14px;
    color: #FFFFFF;
    font-family: IQOS-Regular, -apple-system, Roboto, Helvetica, sans-serif;
    padding: 20px;
    text-align: left;
}
    .info-card-bg {
        background: linear-gradient(180deg, #5E3F19 70%, #15130E 100%);
    }
  body.comm-page-custom-terea-midnight .forceCommunityRichText ul>li:before, body.comm-page-custom-midnight-eredmenytabla-teszt .forceCommunityRichText ul>li:before {
    content: '' !important;
}
#IC-00008065-36 {
  height: auto !important; 
  /* Vagy ha azt akarod, hogy kitöltse a helyet: */
  /* height: 100% !important; */
}