/* ============================================
   Mystake Casino Italia – Site 2
   CSS Prefix: mc2-
   Font: Raleway
   Layout: Top-bar, card tiles, guide steps (numbered boxes)
   Breakpoints: 320, 768, 1024, 1440
   ============================================ */

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

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

body {
    font-family: 'Raleway', sans-serif;
    background: #0D0D1A;
    color: #FFFFFF;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* CONTAINER */
.mc2-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* CTA BUTTONS */
.mc2-cta {
    display: inline-block;
    background: #FF1744;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-align: center;
    white-space: nowrap;
}

.mc2-cta:hover {
    background: #CC0026;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.35);
}

.mc2-cta--s { padding: 8px 18px; font-size: 13px; }
.mc2-cta--l { padding: 15px 38px; font-size: 15px; }

/* TOP BAR */
.mc2-topbar {
    background: #0B0B18;
    border-bottom: 2px solid #FF1744;
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 7px 0;
}

.mc2-topbar__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
    color: #D0C8E8;
}

.mc2-topbar strong { color: #FFB300; }

.mc2-topbar__x {
    background: none;
    border: none;
    color: #907890;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    margin-left: auto;
    padding: 0 4px;
}

/* HEADER */
.mc2-header {
    position: sticky;
    top: 41px;
    z-index: 100;
    background: rgba(13, 13, 26, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 23, 68, 0.18);
}

.mc2-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    gap: 14px;
}

.mc2-logo img { height: 38px; width: auto; }

.mc2-menu ul {
    display: flex;
    gap: 2px;
}

.mc2-menu a {
    color: #B8B0D0;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}

.mc2-menu a:hover {
    color: #fff;
    background: rgba(255, 23, 68, 0.1);
}

.mc2-header__end {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* TOGGLE (BURGER) */
.mc2-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mc2-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.mc2-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mc2-toggle.active span:nth-child(2) { opacity: 0; }
.mc2-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PANELS */
.mc2-panel {
    padding: 68px 0;
}

.mc2-panel--dark {
    background: #080812;
}

.mc2-panel h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    margin-bottom: 14px;
    color: #fff;
    letter-spacing: -0.3px;
}

.mc2-lead {
    color: #B0A8C8;
    font-size: 15px;
    max-width: 700px;
    margin-bottom: 36px;
}

.mc2-panel p {
    color: #C8C0DC;
    font-size: 15px;
    margin-bottom: 16px;
}

/* BANNER (HERO) */
.mc2-banner {
    padding: 60px 0 44px;
    background: linear-gradient(135deg, #0D0D1A 0%, #14082A 60%, #0D0D1A 100%);
}

.mc2-banner__layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 32px;
    align-items: center;
    margin-bottom: 44px;
}

.mc2-banner__h1 {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.mc2-banner__h1 em {
    font-style: normal;
    color: #FF1744;
}

.mc2-banner__copy p {
    color: #C0B8D8;
    font-size: 15px;
    margin-bottom: 24px;
}

.mc2-banner__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.mc2-banner__disc {
    font-size: 12px;
    color: #6858A0;
}

.mc2-banner__shot img {
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(255, 23, 68, 0.15);
    width: 100%;
}

/* TOC */
.mc2-toc {
    background: rgba(255, 23, 68, 0.05);
    border: 1px solid rgba(255, 23, 68, 0.2);
    border-left: 3px solid #FF1744;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    max-width: 680px;
}

.mc2-toc__label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FF1744;
    margin-bottom: 14px !important;
}

.mc2-toc ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
}

.mc2-toc a {
    color: #B8B0D0;
    font-size: 13px;
    font-weight: 500;
    padding: 3px 0;
    transition: color 0.2s;
    display: block;
}

.mc2-toc a:hover { color: #FF1744; }

/* DUO (SPLIT) LAYOUT */
.mc2-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mc2-duo--flip .mc2-duo__shot { order: 2; }
.mc2-duo--flip .mc2-duo__text { order: 1; }

.mc2-duo__shot img {
    border-radius: 10px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
    width: 100%;
}

.mc2-duo__text h2 { margin-bottom: 14px; }

.mc2-duo__text p {
    color: #C0B8D8;
    font-size: 15px;
    margin-bottom: 14px;
}

/* SPORT ICONS */
.mc2-sports-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.mc2-sport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 23, 68, 0.06);
    border: 1px solid rgba(255, 23, 68, 0.2);
    border-radius: 6px;
    padding: 10px 14px;
    min-width: 68px;
    transition: background 0.2s, border-color 0.2s;
}

.mc2-sport:hover {
    background: rgba(255, 23, 68, 0.14);
    border-color: rgba(255, 23, 68, 0.5);
}

.mc2-sport span {
    font-size: 11px;
    font-weight: 700;
    color: #FF1744;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* GUIDE STEPS */
.mc2-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mc2-guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 23, 68, 0.1);
    border-radius: 8px;
    padding: 18px 20px;
    transition: border-color 0.2s, background 0.2s;
}

.mc2-guide-step:hover {
    background: rgba(255, 23, 68, 0.04);
    border-color: rgba(255, 23, 68, 0.28);
}

.mc2-guide-step__num {
    background: rgba(255, 23, 68, 0.15);
    color: #FF1744;
    font-size: 18px;
    font-weight: 900;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mc2-guide-step__body strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.mc2-guide-step__body p {
    color: #9888B8;
    font-size: 13px;
    margin: 0;
}

/* CATEGORY GRID */
.mc2-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 44px;
}

.mc2-cat {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 23, 68, 0.12);
    transition: border-color 0.2s, transform 0.2s;
}

.mc2-cat:hover {
    border-color: rgba(255, 23, 68, 0.45);
    transform: translateY(-3px);
}

.mc2-cat img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.mc2-cat__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8,8,18,0.96), transparent);
    padding: 14px 12px 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* SUBSECTIONS */
.mc2-sub {
    margin-top: 48px;
}

.mc2-sub h3 {
    font-size: clamp(17px, 2.4vw, 24px);
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.mc2-sub p {
    color: #C0B8D8;
    font-size: 15px;
    margin-bottom: 18px;
}

/* SLOT GRID */
.mc2-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.mc2-slot {
    background: #0F0E22;
    border: 1px solid rgba(255, 23, 68, 0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s;
}

.mc2-slot:hover {
    border-color: rgba(255, 23, 68, 0.38);
    transform: translateY(-2px);
}

.mc2-slot img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.mc2-slot span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #B8B0D0;
    padding: 5px 7px;
    text-align: center;
}

/* LIVE GRID */
.mc2-live-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.mc2-live-tile {
    background: #0F0E22;
    border: 1px solid rgba(255, 23, 68, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s;
}

.mc2-live-tile:hover {
    border-color: #FF1744;
    transform: translateY(-3px);
}

.mc2-live-tile img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.mc2-live-tile span {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #C0B8D8;
    padding: 7px;
}

/* PAYMENT ICONS */
.mc2-pay-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 20px 0 32px;
}

.mc2-pay-icon {
    height: 36px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}

/* TABLES */
.mc2-tbl-box {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 23, 68, 0.12);
    margin-top: 14px;
}

.mc2-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mc2-tbl thead { background: rgba(255, 23, 68, 0.08); }

.mc2-tbl th {
    text-align: left;
    padding: 11px 15px;
    font-weight: 800;
    color: #FF1744;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mc2-tbl td {
    padding: 10px 15px;
    color: #C0B8D8;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mc2-tbl tbody tr:hover { background: rgba(255, 23, 68, 0.04); }

/* BONUS TILES */
.mc2-bonuses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 14px;
}

.mc2-bonus-tile {
    background: #0F0E22;
    border: 1px solid rgba(255, 183, 0, 0.18);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s;
}

.mc2-bonus-tile:hover {
    border-color: #FFB300;
    transform: translateY(-3px);
}

.mc2-bonus-tile img {
    width: 100%;
    aspect-ratio: 17/10;
    object-fit: cover;
}

.mc2-bonus-tile__info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mc2-bonus-tile__pct {
    font-size: 30px;
    font-weight: 900;
    color: #FFB300;
    line-height: 1;
}

.mc2-bonus-tile__info strong {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.mc2-bonus-tile__info em {
    font-style: normal;
    font-size: 12px;
    color: #9888B8;
}

/* PROMO CARDS */
.mc2-promo-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #0F0E22;
    border: 1px solid rgba(255, 23, 68, 0.18);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 14px;
    transition: border-color 0.2s;
}

.mc2-promo-card:hover { border-color: #FF1744; }

.mc2-promo-card img {
    flex-shrink: 0;
    height: 130px;
    width: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.mc2-promo-card__body {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mc2-promo-card__body strong {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.mc2-promo-card__body p {
    font-size: 13px;
    color: #9888B8;
    margin: 0;
}

/* APP BUTTONS */
.mc2-app-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.mc2-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 23, 68, 0.1);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
}

.mc2-app-btn:hover {
    background: rgba(255, 23, 68, 0.22);
    border-color: #FF1744;
}

.mc2-app-btn--rd {
    background: rgba(176, 68, 255, 0.1);
    border-color: rgba(176, 68, 255, 0.28);
}

.mc2-app-btn--rd:hover {
    background: rgba(176, 68, 255, 0.2);
    border-color: #B044FF;
}

/* FAQ ACCORDION */
.mc2-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 840px;
}

.mc2-acc-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 23, 68, 0.12);
    border-radius: 6px;
    overflow: hidden;
}

.mc2-acc-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.mc2-acc-btn::after {
    content: '›';
    font-size: 22px;
    color: #FF1744;
    flex-shrink: 0;
    transition: transform 0.2s;
    line-height: 1;
}

.mc2-acc-btn[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.mc2-acc-btn:hover { background: rgba(255, 23, 68, 0.05); }

.mc2-acc-body { padding: 0 18px 14px; }

.mc2-acc-body p {
    color: #9888B8;
    font-size: 13px;
    margin: 0;
}

/* AUTHOR */
.mc2-author-block {
    padding: 36px 0;
    background: #060610;
    border-top: 1px solid rgba(255, 23, 68, 0.1);
}

.mc2-author-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    max-width: 680px;
}

.mc2-author-card img {
    width: 78px;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 23, 68, 0.35);
}

.mc2-author-card__text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.mc2-author-card__text span {
    display: block;
    font-size: 12px;
    color: #FF1744;
    margin-bottom: 7px;
}

.mc2-author-card__text p {
    font-size: 13px;
    color: #7868A0;
    margin: 0;
}

/* FOOTER */
.mc2-footer {
    background: #050510;
    padding: 36px 0 22px;
    border-top: 1px solid rgba(255, 23, 68, 0.08);
}

.mc2-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mc2-footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.mc2-footer__links a {
    color: #6858A0;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.mc2-footer__links a:hover { color: #FF1744; }

.mc2-footer__license {
    font-size: 11px;
    color: #3A3460;
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 880px;
}

.mc2-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #3A3460;
}

/* =====================
   1024px
   ===================== */
@media (max-width: 1024px) {
    .mc2-guide { grid-template-columns: 1fr; }
    .mc2-slots { grid-template-columns: repeat(3, 1fr); }
    .mc2-live-row { grid-template-columns: repeat(2, 1fr); }
    .mc2-bonuses { grid-template-columns: repeat(3, 1fr); }
}

/* =====================
   768px
   ===================== */
@media (max-width: 768px) {
    .mc2-banner__layout { grid-template-columns: 1fr; }
    .mc2-banner__shot { display: none; }

    .mc2-duo, .mc2-duo--flip {
        grid-template-columns: 1fr;
    }
    .mc2-duo--flip .mc2-duo__shot,
    .mc2-duo--flip .mc2-duo__text {
        order: unset;
    }
    .mc2-duo__shot { order: -1; }

    .mc2-menu {
        display: none;
        position: fixed;
        top: 103px;
        left: 0;
        right: 0;
        background: rgba(13, 13, 26, 0.98);
        border-bottom: 1px solid rgba(255, 23, 68, 0.2);
        padding: 14px;
        z-index: 99;
    }
    .mc2-menu.open { display: block; }
    .mc2-menu ul { flex-direction: column; gap: 3px; }
    .mc2-menu a { display: block; padding: 10px 12px; font-size: 14px; }

    .mc2-toggle { display: flex; }

    .mc2-cats { grid-template-columns: 1fr 1fr; }
    .mc2-slots { grid-template-columns: repeat(3, 1fr); }
    .mc2-bonuses { grid-template-columns: 1fr 1fr; }

    .mc2-promo-card { flex-direction: column; }
    .mc2-promo-card img { height: auto; width: 100%; }
    .mc2-promo-card__body { padding: 14px; }

    .mc2-toc ul { grid-template-columns: 1fr; }

    .mc2-panel { padding: 46px 0; }

    .mc2-footer__top { flex-direction: column; align-items: flex-start; }
}

/* =====================
   480px
   ===================== */
@media (max-width: 480px) {
    .mc2-cats { grid-template-columns: 1fr; }
    .mc2-slots { grid-template-columns: repeat(2, 1fr); }
    .mc2-bonuses { grid-template-columns: 1fr; }
    .mc2-live-row { grid-template-columns: 1fr 1fr; }
    .mc2-banner__actions { flex-direction: column; align-items: flex-start; }
    .mc2-guide { gap: 12px; }
    .mc2-footer__bottom { flex-direction: column; }
}

/* =====================
   320px
   ===================== */
@media (max-width: 320px) {
    .mc2-wrap { padding: 0 12px; }
    .mc2-cta--l { padding: 12px 22px; font-size: 14px; }
    .mc2-banner__h1 { font-size: 23px; }
    .mc2-slots { grid-template-columns: 1fr 1fr; }
}

/* =====================
   1440px+
   ===================== */
@media (min-width: 1440px) {
    .mc2-wrap { max-width: 1300px; }
    .mc2-banner__h1 { font-size: 58px; }
}
