/* -------------------------------------------------------------
 * PRYHMSHIFT EVENTS - MASTER STYLESHEET & 3D SAFE ENGINE
 * ------------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    background-color: #120207;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Header & Mobile Dropdown */
header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#mobileNavMenu {
    box-sizing: border-box;
    max-width: 100%;
}

/* Footer Shield */
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-grid {
    width: 100%;
    box-sizing: border-box;
}

/* -------------------------------------------------------------
 * HERO SECTION & 3D CARD DECK (PURE CSS + JS HYBRID)
 * ------------------------------------------------------------- */
.hero-section-visual {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 70px;
    background-color: #1E020A;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-deck-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 480px;
    perspective: 1200px;
    margin: 0 auto;
}

.hero-deck-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.hero-deck-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid rgba(201, 169, 98, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transform-origin: center bottom;
    background-color: #1E020A;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-deck-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Instant Pure CSS 3D Stacking (Fallback before JS) */
.hero-deck-card:nth-child(1) {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
    z-index: 10;
}
.hero-deck-card:nth-child(2) {
    transform: translate3d(18px, -12px, -30px) scale(0.95) rotate(3.5deg);
    opacity: 0.92;
    z-index: 9;
}
.hero-deck-card:nth-child(3) {
    transform: translate3d(-16px, -24px, -60px) scale(0.90) rotate(-3deg);
    opacity: 0.82;
    z-index: 8;
}
.hero-deck-card:nth-child(4) {
    transform: translate3d(10px, -34px, -90px) scale(0.85) rotate(2deg);
    opacity: 0.7;
    z-index: 7;
}
.hero-deck-card:nth-child(n+5) {
    transform: translate3d(0, -40px, -120px) scale(0.8) rotate(0deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* -------------------------------------------------------------
 * RESPONSIVE BREAKPOINTS
 * ------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }
    .hero-btn-group {
        justify-content: center !important;
    }
    .hero-deck-wrapper {
        max-width: 380px !important;
        height: 420px !important;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .monotone-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 600px) {
    .hero-deck-wrapper {
        max-width: 100% !important;
        height: 380px !important;
    }
    .trust-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-btn-group {
        width: 100% !important;
        flex-direction: column !important;
    }
    .hero-btn-group a {
        width: 100% !important;
        text-align: center !important;
    }
}