
/* =====================================
   WASIAT4D2 - THE BLACKJACK MAGAZINE
   MAGAZINE COVER DESIGN
===================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
    --paper: #fffdf7;
    --ink: #25252b;
    --coral: #ff725e;
    --blue: #4263eb;
    --yellow: #f5c84c;
    --muted: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
}

/* HEADER */

.site-header {
    width: 100%;
    padding: 24px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9e5dc;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--coral);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color .3s;
}

.nav-menu a:hover {
    color: var(--coral);
}

.edition {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
}

/* MAGAZINE COVER */

.magazine-cover {
    min-height: 740px;
    padding: 65px 7% 80px;
    position: relative;
    overflow: hidden;
}

.cover-label {
    display: inline-block;
    background: var(--yellow);
    padding: 9px 15px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 28px;
    transform: rotate(-2deg);
}

.cover-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 45px;
}

.cover-content {
    position: relative;
    z-index: 2;
}

.cover-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(65px, 8vw, 112px);
    line-height: .95;
    letter-spacing: -5px;
    margin-bottom: 28px;
}

.cover-content h1 span {
    color: var(--coral);
    display: block;
    font-style: italic;
}

.cover-description {
    max-width: 470px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.cover-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    padding: 17px 25px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .3s;
}

.cover-button:hover {
    background: var(--ink);
    transform: translateY(-4px);
}

.cover-button span {
    font-size: 20px;
}

/* PLAYING CARDS */

.cover-visual {
    min-height: 440px;
    background: #f8e9db;
    border-radius: 48% 48% 8px 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 190px;
    height: 275px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,.13);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 17px;
    transition: transform .5s;
}

.card-ace {
    transform: rotate(-13deg) translateX(-65px);
    z-index: 2;
}

.card-king {
    transform: rotate(12deg) translateX(65px);
    z-index: 1;
}

.cover-visual:hover .card-ace {
    transform: rotate(-18deg) translateX(-90px) translateY(-10px);
}

.cover-visual:hover .card-king {
    transform: rotate(18deg) translateX(90px) translateY(10px);
}

.card-rank {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 900;
    line-height: 1;
}

.card-suit {
    font-size: 75px;
    text-align: center;
}

.red-card {
    color: #df394d;
}

.black-card {
    color: #24242a;
}

.card-bottom {
    align-self: flex-end;
    transform: rotate(180deg);
}

.visual-caption {
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #806b5d;
}

/* EDITORIAL FOOTER LINE */

.cover-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 75px;
    padding-top: 20px;
    border-top: 1px solid #ded8ce;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 850px) {

    .site-header {
        padding: 20px 5%;
    }

    .edition {
        display: none;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 10px;
    }

    .magazine-cover {
        padding: 50px 6%;
    }

    .cover-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cover-content h1 {
        font-size: clamp(65px, 13vw, 95px);
    }

    .cover-visual {
        min-height: 380px;
    }
}

@media (max-width: 480px) {

    .site-header {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 23px;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }

    .magazine-cover {
        padding: 40px 5%;
    }

    .cover-content h1 {
        font-size: 65px;
        letter-spacing: -3px;
    }

    .cover-description {
        font-size: 14px;
    }

    .cover-visual {
        min-height: 320px;
    }

    .card {
        width: 145px;
        height: 215px;
    }

    .card-rank {
        font-size: 35px;
    }

    .card-suit {
        font-size: 55px;
    }

    .cover-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* =====================================
   EDITORIAL INTRODUCTION
===================================== */

.editorial-intro {
    padding: 85px 7%;
    background: #f3eee5;
}

.editorial-topline,
.editorial-bottom,
.guide-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #777;
}

.editorial-topline {
    padding-bottom: 20px;
    border-bottom: 1px solid #d8d0c4;
}

.editorial-heading {
    margin: 75px 0 65px;
}

.section-kicker {
    color: var(--coral);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.editorial-heading h2,
.guide-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-top: 18px;
}

.editorial-heading h2 span,
.guide-heading h2 span {
    display: block;
    color: var(--blue);
    font-style: italic;
}

.editorial-grid {
    display: grid;
    grid-template-columns: .55fr 1.4fr 1fr;
    gap: 45px;
    align-items: start;
}

.editorial-number span {
    font-family: 'Playfair Display', serif;
    font-size: 85px;
    color: var(--coral);
}

.editorial-number p {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.editorial-copy h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 20px;
}

.editorial-copy p {
    color: #666;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 18px;
}

.editorial-link {
    display: inline-block;
    margin-top: 18px;
    text-decoration: none;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.editorial-link span {
    margin-left: 10px;
    font-size: 18px;
}

.editorial-quote {
    background: var(--yellow);
    padding: 30px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 65px;
    line-height: .8;
}

.editorial-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.4;
}

.quote-caption {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.editorial-bottom {
    margin-top: 75px;
    padding-top: 20px;
    border-top: 1px solid #d8d0c4;
}


/* =====================================
   CARD VALUE GUIDE
===================================== */

.card-guide {
    padding: 100px 7%;
    background: var(--paper);
}

.guide-heading {
    max-width: 650px;
    margin-bottom: 60px;
}

.guide-heading p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 20px;
}

.card-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-item {
    padding: 35px 28px;
    border: 1px solid #e7e1d7;
    background: #fff;
    transition: transform .3s, box-shadow .3s;
}

.value-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.value-symbol {
    font-family: 'Playfair Display', serif;
    font-size: 95px;
    font-weight: 900;
    line-height: 1.2;
}

.red-symbol {
    color: #df394d;
}

.value-number {
    display: block;
    color: var(--coral);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 15px;
}

.value-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin: 14px 0;
}

.value-item p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    min-height: 75px;
}

.value-item strong {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #eee8df;
}

.guide-footer {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid #e7e1d7;
}


/* =====================================
   RESPONSIVE EDITORIAL
===================================== */

@media (max-width: 850px) {

    .editorial-grid {
        grid-template-columns: 1fr 2fr;
    }

    .editorial-quote {
        grid-column: 1 / -1;
        min-height: 200px;
    }

    .card-value-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {

    .editorial-intro,
    .card-guide {
        padding: 65px 6%;
    }

    .editorial-heading {
        margin: 50px 0 40px;
    }

    .editorial-heading h2,
    .guide-heading h2 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .editorial-number span {
        font-size: 65px;
    }

    .editorial-copy h3 {
        font-size: 26px;
    }

    .card-value-grid {
        grid-template-columns: 1fr;
    }

    .value-item p {
        min-height: auto;
    }

    .editorial-bottom,
    .guide-footer {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* =====================================
   HOW TO PLAY - EDITORIAL RULES
===================================== */

.how-to-play {
    padding: 90px 7%;
    background: #f3eee5;
}

.rules-topline,
.rules-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #d8d0c4;
    padding-bottom: 20px;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.rules-heading {
    max-width: 650px;
    margin: 75px 0 55px;
}

.rules-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 7vw, 85px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 18px 0;
}

.rules-heading h2 span {
    color: var(--coral);
    font-style: italic;
}

.rules-heading p {
    max-width: 470px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.rule-card {
    background: #fffdf7;
    padding: 28px 23px;
    min-height: 340px;
    position: relative;
    border: 1px solid #e7e1d7;
    transition: transform .3s, box-shadow .3s;
}

.rule-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,.07);
}

.rule-index {
    font-size: 10px;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: 2px;
}

.rule-icon {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-weight: 800;
    color: var(--blue);
    margin: 30px 0 20px;
}

.rule-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    margin-bottom: 13px;
}

.rule-card p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}

.rule-tag {
    display: inline-block;
    margin-top: 25px;
    padding-top: 13px;
    border-top: 1px solid #e7e1d7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rules-note {
    display: flex;
    gap: 25px;
    align-items: center;
    background: var(--yellow);
    padding: 23px 27px;
    margin-top: 35px;
}

.rules-note strong {
    font-size: 10px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.rules-note p {
    font-size: 12px;
    line-height: 1.7;
}

.rules-bottom {
    margin-top: 65px;
    padding-top: 20px;
    border-top: 1px solid #d8d0c4;
    border-bottom: none;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .how-to-play {
        padding: 65px 6%;
    }

    .rules-heading {
        margin: 50px 0 35px;
    }

    .rules-heading h2 {
        font-size: 52px;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .rule-card {
        min-height: auto;
    }

    .rules-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rules-topline,
    .rules-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* =====================================
   BLACKJACK INTERACTIVE TABLE
===================================== */

.blackjack-section {
    padding: 90px 7%;
    background: var(--paper);
}

.game-topline,
.game-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #777;
}

.game-topline {
    padding-bottom: 20px;
    border-bottom: 1px solid #e5dfd5;
}

.game-heading {
    max-width: 650px;
    margin: 70px 0 45px;
}

.game-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 7vw, 85px);
    line-height: 1.05;
    margin: 18px 0;
    letter-spacing: -3px;
}

.game-heading h2 span {
    color: var(--coral);
    display: block;
    font-style: italic;
}

.game-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* TABLE */

.blackjack-table {
    background:
        radial-gradient(ellipse at center, #267b58 0%, #14553e 65%, #103e30 100%);
    border: 10px solid #a77b45;
    border-radius: 220px 220px 30px 30px;
    padding: 65px 35px 40px;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
    overflow: hidden;
}

.table-brand {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #f6d77a;
}

.table-brand span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.game-hand {
    margin: 45px auto 30px;
}

.hand-label {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hand-label small {
    color: #f6d77a;
    font-size: 9px;
}

.playing-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-height: 130px;
    margin-top: 20px;
}

.playing-card {
    width: 82px;
    height: 116px;
    border-radius: 8px;
    background: white;
    color: #25252b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
    position: relative;
    border: 2px solid #eee7dc;
}

.card-back {
    background: repeating-linear-gradient(
        45deg,
        #284cae,
        #284cae 5px,
        #4168d5 5px,
        #4168d5 10px
    );
    border: 4px solid white;
    outline: 2px solid #d5b66b;
    color: #f6d77a;
}

.card-back span {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    border: 1px solid #f6d77a;
    padding: 3px 12px;
}

.playing-card.revealed {
    animation: cardReveal .55s ease both;
}

.card-value {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 900;
}

.card-suit-small {
    font-size: 32px;
}

.red-suit {
    color: #df394d;
}

.hand-total {
    color: #f6d77a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 15px;
}

.table-divider {
    width: 55%;
    margin: 25px auto;
    border-top: 1px solid rgba(255,255,255,.25);
    position: relative;
}

.table-divider span {
    position: relative;
    top: -12px;
    background: #14553e;
    padding: 0 15px;
    color: #f6d77a;
    font-size: 11px;
    font-weight: 800;
}

.game-result {
    margin: 30px auto 20px;
}

.game-result span {
    color: #f6d77a;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 800;
}

.game-result p {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.8);
}

.deal-button {
    border: none;
    padding: 18px 35px;
    background: #f6d77a;
    color: #25252b;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .3s;
}

.deal-button:hover {
    background: white;
    transform: translateY(-3px);
}

.deal-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.game-disclaimer {
    margin-top: 25px;
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.65);
}

.game-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5dfd5;
}

/* CARD ANIMATION */

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(-25px) rotateY(90deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .blackjack-section {
        padding: 65px 5%;
    }

    .game-heading {
        margin: 50px 0 35px;
    }

    .game-heading h2 {
        font-size: 52px;
    }

    .blackjack-table {
        padding: 60px 15px 30px;
        border-width: 6px;
        border-radius: 110px 110px 20px 20px;
    }

    .playing-card {
        width: 68px;
        height: 100px;
    }

    .game-result span {
        font-size: 20px;
    }

    .game-topline,
    .game-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* =====================================
   BLACKJACK INSIGHTS
===================================== */

.insights-section {
    padding: 100px 7%;
    background: #fffdf7;
}

.insights-topline,
.insights-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.insights-topline {
    padding-bottom: 20px;
    border-bottom: 1px solid #e5dfd5;
}

.insights-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding: 90px 0;
    align-items: start;
}

.insights-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 75px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 20px 0;
}

.insights-heading h2 span {
    display: block;
    color: var(--blue);
    font-style: italic;
}

.insights-heading p {
    max-width: 430px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.insights-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-bottom: 2px solid var(--coral);
    padding-bottom: 8px;
}

.insight-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e5dfd5;
}

.insight-number {
    color: var(--coral);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
}

.insight-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin-bottom: 10px;
}

.insight-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.insights-bottom {
    padding-top: 20px;
    border-top: 1px solid #e5dfd5;
}

/* MOBILE */

@media (max-width: 700px) {

    .insights-section {
        padding: 65px 6%;
    }

    .insights-layout {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 55px 0;
    }

    .insights-heading h2 {
        font-size: 52px;
    }

    .insights-topline,
    .insights-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* =====================================
   EDITORIAL CLOSING
===================================== */

.editorial-closing {
    padding: 85px 7% 35px;
    background: #f3eee5;
}

.closing-topline,
.closing-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #777;
}

.closing-topline {
    padding-bottom: 20px;
    border-bottom: 1px solid #d8d0c4;
}

.closing-content {
    text-align: center;
    padding: 110px 15px;
}

.closing-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 8vw, 100px);
    line-height: 1;
    letter-spacing: -4px;
    margin: 25px 0;
}

.closing-content h2 span {
    display: block;
    color: var(--coral);
    font-style: italic;
}

.closing-content p {
    max-width: 480px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.closing-button {
    display: inline-block;
    margin-top: 35px;
    padding: 17px 25px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: .3s;
}

.closing-button:hover {
    background: var(--coral);
    transform: translateY(-3px);
}

.closing-bottom {
    padding-top: 20px;
    border-top: 1px solid #d8d0c4;
}


/* =====================================
   PREMIUM MAGAZINE FOOTER
===================================== */

.magazine-footer {
    padding: 75px 7% 25px;
    background: #25252b;
    color: #fffdf7;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 65px;
}

.footer-logo {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--coral);
}

.footer-brand p {
    max-width: 260px;
    margin-top: 18px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.9;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    transition: .3s;
}

.footer-socials a:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    color: var(--coral);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    transition: .3s;
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-edition span {
    font-size: 9px;
    color: #aaa;
    letter-spacing: 2px;
}

.footer-edition strong {
    font-family: 'Playfair Display', serif;
    font-size: 65px;
    color: var(--yellow);
    line-height: 1.2;
}

.footer-edition p {
    font-size: 10px;
    line-height: 1.9;
    letter-spacing: 2px;
    color: #aaa;
}

.footer-big-brand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 13vw, 175px);
    font-weight: 900;
    letter-spacing: -8px;
    text-align: center;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.2);
    padding: 20px 0 45px;
    overflow: hidden;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid #45454b;
    color: #888;
    font-size: 9px;
    letter-spacing: 1px;
}

.footer-legal div {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-big-brand {
        letter-spacing: -4px;
    }

}

@media (max-width: 550px) {

    .editorial-closing {
        padding: 65px 6% 30px;
    }

    .closing-content {
        padding: 75px 0;
    }

    .closing-content h2 {
        font-size: 53px;
        letter-spacing: -2px;
    }

    .closing-topline,
    .closing-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .magazine-footer {
        padding: 55px 6% 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-big-brand {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        line-height: 2;
    }

}

/* =====================================
   HEADER EXPLORE SITE BUTTON
===================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.explore-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 19px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border: 1px solid var(--ink);
    transition: .3s ease;
    white-space: nowrap;
}

.explore-button span {
    color: var(--yellow);
    font-size: 16px;
    transition: transform .3s ease;
}

.explore-button:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.explore-button:hover span {
    transform: translate(3px, -3px);
}

@media (max-width: 700px) {
    .header-actions {
        gap: 10px;
    }

    .header-actions .edition {
        display: none;
    }

    .explore-button {
        padding: 11px 13px;
        font-size: 9px;
    }
}

/* =========================================
   WASIAT4D2 - LUXURY CASINO EDITION
   GLOBAL THEME FOUNDATION
========================================= */

:root {
    --paper: #eee9dc;
    --ink: #171b18;
    --coral: #c5a66d;
    --blue: #173c30;
    --yellow: #d7bd83;
    --muted: #77766d;

    --emerald: #123b2e;
    --emerald-dark: #0b241d;
    --gold: #c5a66d;
    --gold-light: #ead8a9;
    --ivory: #eee9dc;
    --charcoal: #171b18;
    --burgundy: #642b32;
}

html {
    scroll-behavior: smooth;
    background: var(--ivory);
}

body {
    background: var(--ivory);
    color: var(--charcoal);
    font-family: 'DM Sans', sans-serif;
}

::selection {
    background: var(--gold);
    color: var(--charcoal);
}

/* HEADER */

.site-header {
    background: var(--charcoal);
    border-bottom: 1px solid rgba(197,166,109,.35);
    position: relative;
    z-index: 20;
}

.logo {
    color: var(--gold-light);
    letter-spacing: -1px;
}

.logo span {
    color: var(--gold);
}

.nav-menu a {
    color: #d7d1c4;
    transition: color .3s ease;
}

.nav-menu a:hover {
    color: var(--gold-light);
}

.edition {
    color: #b9ad96;
}

.explore-button {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

.explore-button span {
    color: var(--charcoal);
}

.explore-button:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* GLOBAL EDITORIAL COLORS */

.section-kicker {
    color: #987542;
}

.cover-content h1 span,
.editorial-heading h2 span,
.guide-heading h2 span,
.rules-heading h2 span,
.game-heading h2 span,
.closing-content h2 span {
    color: var(--gold);
}

.cover-description,
.editorial-copy p,
.guide-heading p,
.rules-heading p,
.game-heading p,
.insights-heading p,
.closing-content p {
    color: #77766d;
}

/* EDITORIAL SURFACES */

.editorial-intro,
.how-to-play,
.editorial-closing {
    background: #e5dfd1;
}

.card-guide,
.blackjack-section,
.insights-section {
    background: var(--ivory);
}

/* BUTTONS */

.cover-button {
    background: var(--emerald);
    color: var(--gold-light);
}

.cover-button:hover {
    background: var(--charcoal);
}

.editorial-link {
    color: var(--emerald);
}

.insights-link {
    border-color: var(--gold);
}

/* CARD GUIDE */

.value-item {
    background: #f8f5ed;
    border-color: #d8cfbd;
}

.value-number {
    color: #987542;
}

/* HOW TO PLAY */

.rule-card {
    background: #f8f5ed;
    border-color: #d8cfbd;
}

.rule-icon {
    color: var(--emerald);
}

.rule-index {
    color: #987542;
}

.rules-note {
    background: #d9c69b;
}

/* BLACKJACK TABLE */

.blackjack-table {
    background:
        radial-gradient(
            ellipse at center,
            #1d6148 0%,
            #123b2e 65%,
            #0b241d 100%
        );

    border-color: #b18b50;

    box-shadow:
        0 30px 70px rgba(0,0,0,.20),
        inset 0 0 35px rgba(0,0,0,.18);
}

.table-brand,
.hand-total,
.game-result span {
    color: var(--gold-light);
}

.deal-button {
    background: var(--gold);
    color: var(--charcoal);
}

.deal-button:hover {
    background: var(--gold-light);
}

/* INSIGHTS */

.insights-heading h2 span {
    color: var(--emerald);
}

.insight-number {
    color: #987542;
}

.insight-item {
    border-color: #d8cfbd;
}

/* CLOSING */

.closing-button {
    background: var(--emerald);
    color: var(--gold-light);
}

.closing-button:hover {
    background: var(--charcoal);
}

/* FOOTER */

.magazine-footer {
    background: var(--charcoal);
}

.footer-logo span,
.footer-column h4 {
    color: var(--gold);
}

.footer-edition strong {
    color: var(--gold-light);
}

.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

/* CONSISTENT TRANSITIONS */

a,
button {
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
