/* ============================================
   FALL_TO_GET_CLUB_STYLE.CSS — 404 Page
   Ultra-Glass Parallax Matrix background
   Requires: common.css loaded first
   ============================================ */

body {
    background: #01040d;
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Arial Black', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
body::before, body::after { display: none; }

/* ── Fixed parallax background (viewport > stage) ── */
.bg-viewport {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bg-card-wrapper {
    position: absolute;
    animation: bg-floating 6s ease-in-out infinite alternate;
    will-change: transform;
    transform-style: preserve-3d;
}

.bg-card {
    position: relative;
    width: 680px;
    height: 200px;
    background: linear-gradient(135deg, var(--main) 20%, var(--glow) 120%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: rotateX(15deg) rotateY(-15deg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    box-shadow:
        -30px 45px 75px rgba(0, 0, 0, 0.85),
        -5px 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.bg-card::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    transform: skewX(-45deg);
    transform-origin: bottom;
}

.bg-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1.5px;
    width: 1.5px;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transform: skewY(-45deg);
    transform-origin: right;
}

.bg-text {
    font-size: 162px;
    font-weight: 900;
    letter-spacing: -11px;
    color: #01040d;
    margin: 0;
    line-height: 1;
    user-select: none;
    text-shadow:
        -1.5px 2px 4px rgba(0,0,0,0.6),
        1px -1px 1px rgba(255,255,255,0.25);
    transform: translateX(-1%);
}

@keyframes bg-floating {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-12px, -20px, 25px) scale(1.02); }
}

/* Layer color variables */
.bg-viewport .lv1 { --main: rgba(218, 233, 247, 0.94); --glow: rgba(255, 255, 255, 0.5); z-index: 50; }
.bg-viewport .lv2 { --main: rgba(118, 175, 245, 0.90); --glow: rgba(214, 232, 255, 0.4); z-index: 40; }
.bg-viewport .lv3 { --main: rgba(42, 118, 244, 0.86); --glow: rgba(130, 177, 255, 0.3); z-index: 30; }
.bg-viewport .lv4 { --main: rgba(19, 68, 188, 0.82); --glow: rgba(61, 124, 255, 0.2); z-index: 20; }
.bg-viewport .lv5 { --main: rgba(7, 34, 116, 0.76); --glow: rgba(26, 77, 255, 0.15); z-index: 10; }

/* ── 404 overlay content ── */
.fall-content {
    position: relative;
    z-index: 10;
    max-width: 620px;
    text-align: center;
    background: rgba(10,18,42,0.38);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 36px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 24px 60px rgba(0, 11, 46, 0.28);
    color: #ffffff;
    animation: scaleIn .4s cubic-bezier(0.4,0,0.2,1) both;
}
.eyebrow {
    display: inline-flex;
    padding: 6px 14px; margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
}
h1 {
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 750; color: #fff;
    margin-bottom: 10px; letter-spacing: -0.03em; line-height: 1.08;
}
.fall-subtitle {
    max-width: 520px; margin: 0 auto;
    color: rgba(255,255,255,0.82);
    font-size: 15px; line-height: 1.7;
}
.back-home-btn {
    display: inline-block; margin-top: 26px;
    padding: 12px 28px; border-radius: 999px;
    background: rgba(255,255,255,0.94); color: #0839b7;
    font-size: 15px; font-weight: 700;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 12px 32px rgba(0,16,66,0.16);
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
}
.back-home-btn:hover {
    transform: translateY(-2px); background: #fff;
    box-shadow: 0 18px 36px rgba(0,16,66,0.22);
}

@media (max-width: 768px) {
    .bg-card {
        width: 520px;
        height: 150px;
    }
    .bg-text { font-size: 110px; }
    .fall-content {
        max-width: calc(100vw - 28px);
        padding: 28px 20px;
        margin-top: 42px;
    }
}

@keyframes scaleIn { from{opacity:0;transform:scale(.97)} to{opacity:1;transform:scale(1)} }