﻿/* Estilos da loja (coins.php / furafila.php) — cards 3D, hero, checkout */
/* Reset & base (igual página principal) */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top, #1b2838 0, #05070b 45%, #000 100%);
            color: #f5f5f5;
            -webkit-font-smoothing: antialiased;
        }
        html.page-coins-html {
            height: 100%;
            max-height: 100dvh;
            overflow: hidden;
            overscroll-behavior: none;
        }
        html.page-coins-html body.page-coins {
            height: 100%;
            max-height: 100dvh;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navbar moderna (igual principal) */
        .navbar {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            max-width: 100%;
            z-index: 1000;
            backdrop-filter: blur(10px);
            background: transparent;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
            padding-top: env(safe-area-inset-top, 0);
        }
        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            gap: 20px;
        }
        .logo img {
            height: 40px;
            filter: drop-shadow(0 0 10px rgba(0,0,0,0.7));
        }
        .nav-right-side {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        nav ul {
            list-style: none;
            display: flex;
            gap: 18px;
        }
        nav a {
            position: relative;
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #d0d8ff;
            text-decoration: none;
            padding-bottom: 4px;
            transition: color 0.2s ease;
        }
        nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: transparent;
            transition: width 0.25s ease;
        }
        nav a:hover {
            color: #ffffff;
        }
        nav a:hover::after {
            width: 100%;
        }

        /* Login / usuário (base igual principal) */
        .login-area {
            display: flex;
            align-items: center;
        }
        .btn-steam-top {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.16);
            background: radial-gradient(circle at top left, rgba(0,255,163,0.15), rgba(0,0,0,0.9));
            color: #e5f7ff;
            font-size: 11px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            text-decoration: none;
            transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
        }
        .btn-steam-top i {
            font-size: 16px;
        }
        .btn-steam-top:hover {
            transform: translateY(-1px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.7);
            border-color: rgba(0,255,163,0.6);
            background: radial-gradient(circle at top left, rgba(0,255,163,0.28), rgba(0,0,0,0.9));
        }
        .btn-steam-top span {
            white-space: nowrap;
        }

        /* Usuário logado (igual principal) */
        .user-logged {
            display: flex;
            align-items: center;
            gap: 12px;
            background: radial-gradient(circle at top left, rgba(237, 22, 14, 0.25), rgba(10,10,20,0.95));
            padding: 8px 16px;
            border-radius: 999px;
            border: 1px solid rgba(242, 67, 61, 0.6);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
        }
        .user-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.6);
            object-fit: cover;
        }
        .user-info {
            display: flex;
            flex-direction: column;
            line-height: 1.25;
        }
        .user-name {
            font-family: "Oswald", system-ui, sans-serif;
            font-size: 13px;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .user-sid {
            font-size: 10px;
            color: #ff8ba7;
            font-weight: 600;
        }
        .logout-link {
            font-size: 10px;
            color: #94a3b8;
            text-decoration: none;
            margin-top: 2px;
        }
        .logout-link:hover {
            color: #e2e8f0;
        }

        /* Hero / fundo (igual principal) */
		.hero {
			height: 100vh;
			background: url('../img/4kws.jpg') top/cover no-repeat;
			display: flex;
			align-items: bottom center;
			position: relative;
			background-position: center 60%;
			overflow: hidden;
		}
        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: url("img/imagem3.jpg") center right/cover no-repeat;
			filter: grayscale(0.35) contrast(1.08) brightness(0.55);
            transform: scale(1.02);
            opacity: 1;
        }
        .hero-overlay {
            position: absolute;
            inset: 0;
			backdrop-filter: blur(0px);
			-webkit-backdrop-filter: blur(1px);
            background:
                radial-gradient(ellipse 15% 40% at 10% 10%, rgba(248, 113, 113, 0.08), transparent 5%);
        }
        .hero-overlay::after {
            /* faíscas discretas ao fundo */
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle, rgba(255,255,255,0.14) 0, transparent 55%),
                radial-gradient(circle, rgba(255,255,255,0.12) 0, transparent 55%),
                radial-gradient(circle, rgba(255,255,255,0.1) 0, transparent 55%);
            background-size: 7px 7px, 9px 9px, 11px 11px;
            background-position:
                5% 10%,
                60% 30%,
                85% 70%;
            opacity: 0.18;
            pointer-events: none;
            mix-blend-mode: screen;
            animation: sparksFloat 16s linear infinite alternate;
        }
        @keyframes sparksFloat {
            0% {
                background-position:
                    5% 10%,
                    60% 30%,
                    85% 70%;
            }
            100% {
                background-position:
                    10% 5%,
                    55% 40%,
                    80% 65%;
            }
        }

        /* Conteúdo hero base (usado aqui para título da loja) */
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 620px;
        }

        /* Botões principais (aproveitados na loja também) */
        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }
        .btn-discord,
        .btn-steam-main {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 11px 20px;
            border-radius: 999px;
            border: 1px solid transparent;
            font-size: 12px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, border-color 0.35s ease, background 0.35s ease;
            white-space: nowrap;
        }
        .btn-discord {
            background: radial-gradient(circle at top left, #5865f2, #3844a7);
            border-color: rgba(99, 102, 241, 0.85);
            color: #ffffff;
            box-shadow: 0 14px 40px rgba(56, 69, 187, 0.8);
        }
        .btn-discord:hover {
            transform: translateY(-1px);
            filter: brightness(1.07);
            box-shadow: 0 16px 40px rgba(56, 69, 187, 0.85);
        }
        .btn-steam-main {
            background: radial-gradient(circle at top right, rgba(248, 113, 113, 0.95), rgba(239, 68, 68, 0.9));
            border-color: rgba(248, 113, 113, 0.9);
            color: #fff;
            box-shadow: 0 14px 40px rgba(127, 29, 29, 0.85);
        }
        .btn-steam-main:hover {
            transform: translateY(-1px);
            filter: brightness(1.04);
            box-shadow: 0 16px 42px rgba(127, 29, 29, 0.9);
        }

        /* Rodapé (igual principal) */
        .site-footer {
            margin-top: auto;
            border-top: 1px solid rgba(148, 163, 184, 0.2);
            background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(2,6,23,0.98));
            color: #9ca3af;
            font-size: 12px;
        }
        .site-footer-inner {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 0 max(10px, env(safe-area-inset-bottom, 0px));
            gap: 16px;
            text-align: center;
            min-height: 52px;
        }
        .site-footer span {
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .site-footer-social {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
        }
        .site-footer-social a {
            color: #e5e7eb;
            transition: color 0.2s ease, transform 0.2s ease;
        }
        .site-footer-social a:hover {
            color: #f97373;
            transform: translateY(-1px);
        }

        /* --- RESPONSIVO (igual principal) --- */
        @media (max-width: 900px) {
            .nav-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                padding: 8px 0;
            }
            .nav-right-side {
                width: 100%;
                justify-content: space-between;
                flex-wrap: wrap;
                row-gap: 6px;
            }
            nav ul {
                flex-wrap: wrap;
                row-gap: 6px;
            }
            nav a {
                font-size: 10px;
            }
            .user-logged,
            .btn-steam-top {
                padding: 6px 10px;
            }
            .hero {
                padding-top: 28px;
            }
            .hero-content {
                max-width: 100%;
            }
            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            .hero-buttons a {
                width: 100%;
                justify-content: center;
            }
            .site-footer-inner {
                flex-direction: column;
                align-items: center;
                gap: 6px;
                min-height: 44px;
            }
            body.page-coins .shop-wrapper {
                padding: clamp(120px, 34vw, 165px) max(12px, env(safe-area-inset-left, 0px)) 8px max(12px, env(safe-area-inset-right, 0px)) !important;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }
            .logo img {
                height: 32px;
            }
            .nav-right-side {
                flex-direction: column;
                align-items: flex-start;
            }
            .login-area {
                align-self: stretch;
                justify-content: flex-start;
            }
        }

        body.page-coins {
            overflow: hidden;
            min-height: 100dvh;
            height: 100dvh;
            max-height: 100dvh;
            width: 100%;
            display: flex;
            flex-direction: column;
            overscroll-behavior: none;
            touch-action: manipulation;
        }
        body.page-coins .navbar {
            flex-shrink: 0;
        }
        body.page-coins .site-footer {
            margin-top: 0;
            flex-shrink: 0;
        }
        body.page-coins .hero.hero--coins {
            flex: 1 1 0;
            min-height: 0;
            align-items: stretch;
            padding: 0;
            overflow: visible;
            display: flex;
            flex-direction: column;
        }
        body.page-coins .hero.hero--coins > .hero-overlay {
            pointer-events: none;
        }
        body.page-coins .shop-wrapper {
            flex: 1 1 auto;
            min-height: 0;
            min-width: 0;
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            overflow-y: auto;
            overscroll-behavior: contain;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding-left: max(16px, env(safe-area-inset-left, 0px));
            padding-right: max(16px, env(safe-area-inset-right, 0px));
            scrollbar-width: thin;
            scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
        }
        body.page-coins .shop-wrapper::-webkit-scrollbar {
            width: 6px;
        }
        body.page-coins .shop-wrapper::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.35);
            border-radius: 999px;
        }

        /* --- ESTILOS ESPECÍFICOS DA LOJA DE COINS (em cima do layout base) --- */
        .shop-wrapper { 
            padding: clamp(72px, 10vh, 96px) 15px clamp(8px, 1.2vh, 14px) 15px;
            position: relative; 
            z-index: 1; 
            max-width: 1240px;
            margin: 0 auto;
        }
        .shop-title { text-align: center; margin-bottom: clamp(8px, 1.2vh, 14px); flex-shrink: 0; }
        body.page-coins .shop-title p {
            font-size: clamp(11px, 1.4vw, 13px);
            margin-top: 6px;
            line-height: 1.3;
        }
        .shop-title h1 { font-family: 'Oswald', sans-serif; font-size: clamp(30px, 5vw, 46px); text-transform: uppercase; color: #fff; letter-spacing: 0.18em; overflow-wrap: anywhere; }
        /* COINS — degradê animado (ida e volta) */
        .shop-title h1 .coins-title-gradient {
            display: inline-block;
            position: relative;
            font-weight: 700;
            padding: 0 0.02em;
            background: linear-gradient(
                110deg,
                #62deb4 0%,
                #035efc 9%,
                #fbbf24 20%,
                #035efc 34%,
                #5492d1 46%,
                #62deb4 58%,
                #22c976 72%,
                #5492d1 86%,
                #ff3e3e 100%
            );
            background-size: 340% 100%;
            background-position: 0% 50%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: coinsGradientSweep 3.5s ease-in-out infinite alternate;
            will-change: background-position, filter;
        }
        @keyframes coinsGradientSweep {
            0% {
                background-position: 0% 50%;
                filter: drop-shadow(0 0 12px rgba(34, 131, 201, 0.4)) drop-shadow(0 0 22px rgba(251, 191, 36, 0.14));
            }
            50% {
                background-position: 52% 50%;
                filter: drop-shadow(0 0 24px rgba(33, 78, 184, 0.75)) drop-shadow(0 0 42px rgba(251, 191, 36, 0.38));
            }
            100% {
                background-position: 100% 50%;
                filter: drop-shadow(0 0 16px rgba(62, 176, 138, 0.55)) drop-shadow(0 0 34px rgba(251, 191, 36, 0.26));
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .shop-title h1 .coins-title-gradient {
                animation: none;
                filter: none;
                background: linear-gradient(110deg, #ff3e3e, #ff9f0a);
                background-size: 100% 100%;
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                -webkit-text-fill-color: transparent;
            }
        }
        .shop-title p { color: #cbd5f5; font-size: 14px; max-width: 520px; margin: 12px auto 0; }
        
        .balance-display { 
            background: radial-gradient(circle at top left, rgba(34,197,94,0.24), rgba(15,23,42,0.95)); 
            border: 1px solid rgba(34,197,94,0.7); 
            padding: 16px 28px; 
            border-radius: 999px; 
            display: inline-flex; 
            align-items: center;
            gap: 12px;
            margin-bottom: 26px; 
            box-shadow: 0 18px 40px rgba(15,23,42,0.9);
            max-width: 100%;
        }
        .balance-display small { color: #a3e635; display: block; letter-spacing: 0.16em; font-size: 10px; text-transform: uppercase; }
        .balance-display strong { color: #bbf7d0; font-size: 24px; }
        .balance-display--dual {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }
        .balance-display--dual .balance-inner {
            min-width: 120px;
        }
        .balance-row {
            display: flex;
            flex-wrap: wrap;
            gap: clamp(10px, 1.5vw, 16px);
            justify-content: center;
            margin-bottom: clamp(8px, 1.2vh, 14px);
            padding: clamp(6px, 1vh, 10px) clamp(10px, 1.5vw, 14px);
            perspective: 1100px;
            flex-shrink: 0;
            overflow: visible;
        }
        .balance-card {
            position: relative;
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: min(100%, 200px);
            padding: 14px 18px;
            border-radius: 16px;
            overflow: visible;
            transform-style: preserve-3d;
            backface-visibility: hidden;
            will-change: transform;
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.06) inset,
                0 16px 36px rgba(0, 0, 0, 0.38);
        }
        .balance-card.is-tilting {
            transition: transform 0.1s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.1) inset,
                0 24px 48px rgba(0, 0, 0, 0.48);
        }
        .balance-card--namalsk {
            background: linear-gradient(145deg, rgba(56, 189, 248, 0.18) 0%, rgba(15, 23, 42, 0.96) 55%, rgba(8, 12, 24, 0.98) 100%);
            border: 1px solid rgba(56, 189, 248, 0.38);
        }
        .balance-card--chernarus {
            background: linear-gradient(145deg, rgba(248, 113, 113, 0.16) 0%, rgba(15, 23, 42, 0.96) 55%, rgba(8, 12, 24, 0.98) 100%);
            border: 1px solid rgba(248, 113, 113, 0.35);
        }
        .balance-card__icon {
            flex-shrink: 0;
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transform: translateZ(18px);
        }
        .balance-card--namalsk .balance-card__icon {
            background: rgba(56, 189, 248, 0.15);
            border: 1px solid rgba(56, 189, 248, 0.35);
            color: #7dd3fc;
            box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
        }
        .balance-card--chernarus .balance-card__icon {
            background: rgba(248, 113, 113, 0.12);
            border: 1px solid rgba(248, 113, 113, 0.32);
            color: #fca5a5;
            box-shadow: 0 8px 20px rgba(248, 113, 113, 0.12);
        }
        .balance-card__body {
            display: flex;
            flex-direction: column;
            gap: 2px;
            line-height: 1.2;
            transform: translateZ(12px);
        }
        .balance-card__body small {
            font-size: 9px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-weight: 700;
            color: #94a3b8;
        }
        .balance-card--namalsk .balance-card__body small { color: #7dd3fc; }
        .balance-card--chernarus .balance-card__body small { color: #fca5a5; }
        .balance-card__body strong {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1.15rem, 2.4vw, 1.45rem);
            letter-spacing: 0.04em;
            color: #f8fafc;
        }
        .balance-card--namalsk .balance-card__body strong { color: #e0f2fe; }
        .balance-card--chernarus .balance-card__body strong { color: #fee2e2; }
        .checkout-server-picker {
            margin-bottom: 14px;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.25);
            background: rgba(2, 6, 23, 0.5);
        }
        .checkout-server-label {
            font-size: 11px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #94a3b8;
            margin: 0 0 10px;
            font-weight: 700;
        }
        .checkout-server-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .checkout-server-opt {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid rgba(148, 163, 184, 0.2);
            cursor: pointer;
            font-size: 13px;
            color: #e2e8f0;
            transition: border-color 0.2s, background 0.2s;
        }
        .checkout-server-opt:has(input:checked) {
            border-color: rgba(248, 113, 113, 0.7);
            background: rgba(248, 113, 113, 0.08);
        }
        .checkout-server-opt input { accent-color: #f87171; }
        .checkout-server-hint {
            font-size: 11px;
            color: #f87171;
            margin-top: 8px;
            display: none;
        }
        .checkout-server-hint.is-visible { display: block; }

        .cards-container { 
            display: grid; 
            grid-template-columns: repeat(4, minmax(0, 1fr)); 
            grid-auto-rows: auto;
            gap: clamp(14px, 2vw, 22px); 
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            align-items: stretch;
            flex: 0 0 auto;
            overflow: visible;
            padding: clamp(10px, 1.5vh, 16px) clamp(12px, 2vw, 18px) clamp(14px, 2vh, 20px);
            perspective: 1200px;
            perspective-origin: center center;
        }
        .pack-card {
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: auto;
            height: auto;
            text-align: left;
            border-radius: 16px;
            overflow: visible;
            background: transparent;
            border: none;
            box-shadow: none;
            transform-style: preserve-3d;
            backface-visibility: hidden;
            will-change: transform;
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .pack-card.is-tilting {
            transition: transform 0.1s ease-out;
        }
        .tilt-glare {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            z-index: 5;
            opacity: 0;
            transition: opacity 0.28s ease;
            background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.24), transparent 52%);
            mix-blend-mode: overlay;
        }
        .pack-card.is-tilting .tilt-glare {
            opacity: 1;
        }
        .pack-card__inner::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.55), rgba(251, 191, 36, 0.45), transparent);
            opacity: 0.9;
            pointer-events: none;
            z-index: 2;
        }
        .pack-card--tier-pro .pack-card__inner::before {
            background: linear-gradient(90deg, transparent, #f97316, #fbbf24, #34d399, transparent);
            height: 3px;
        }
        .pack-card--tier-elite .pack-card__inner {
            border-color: rgba(251, 191, 36, 0.28);
        }
        .pack-card--tier-elite .pack-card__inner::before {
            background: linear-gradient(90deg, transparent, #fde68a, #fbbf24, #f59e0b, transparent);
            height: 3px;
        }
        .pack-card--featured .pack-card__inner {
            border-color: rgba(251, 191, 36, 0.35);
        }
        .pack-card__badge {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 3;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #0f172a;
            background: linear-gradient(135deg, #fde68a, #fbbf24);
            padding: 5px 10px;
            border-radius: 999px;
            box-shadow: 0 6px 16px rgba(251, 191, 36, 0.35);
            pointer-events: none;
        }
        .pack-card__badge--elite {
            background: linear-gradient(135deg, #a7f3d0, #34d399);
            color: #064e3b;
            box-shadow: 0 6px 16px rgba(52, 211, 153, 0.35);
        }
        .pack-card__inner {
            position: relative;
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            min-height: auto;
            padding: 0;
            height: auto;
            width: 100%;
            border-radius: inherit;
            overflow: hidden;
            background: linear-gradient(165deg, rgba(18, 28, 52, 0.96) 0%, rgba(10, 16, 32, 0.98) 55%, rgba(6, 10, 22, 1) 100%);
            border: 1px solid rgba(148, 163, 184, 0.18);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.05) inset,
                0 14px 32px rgba(0, 0, 0, 0.4);
            transition: border-color 0.25s ease, box-shadow 0.25s ease;
        }
        .pack-card.is-tilting .pack-card__inner {
            border-color: rgba(74, 222, 128, 0.32);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.08) inset,
                0 28px 56px rgba(0, 0, 0, 0.52),
                0 0 36px rgba(16, 185, 129, 0.12);
        }
        .pack-card--tier-elite .pack-card__inner {
            border-color: rgba(251, 191, 36, 0.28);
        }
        .pack-card--featured .pack-card__inner {
            border-color: rgba(251, 191, 36, 0.35);
        }
        .pack-card__media {
            position: relative;
            padding: clamp(12px, 1.6vh, 16px) clamp(12px, 1.6vw, 16px) clamp(8px, 1.2vh, 12px);
            transform: translateZ(20px);
            background:
                radial-gradient(ellipse 80% 70% at 50% 100%, rgba(52, 211, 153, 0.12), transparent 65%),
                radial-gradient(ellipse 60% 50% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
                rgba(2, 6, 23, 0.35);
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }
        .pack-card--tier-elite .pack-card__media {
            background:
                radial-gradient(ellipse 80% 70% at 50% 100%, rgba(251, 191, 36, 0.14), transparent 65%),
                radial-gradient(ellipse 60% 50% at 50% 0%, rgba(248, 113, 113, 0.08), transparent 60%),
                rgba(2, 6, 23, 0.35);
        }
        .pack-card__img-wrap {
            width: 100%;
            height: clamp(72px, 11vh, 96px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }
        .pack-card__img-wrap img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
            transition: transform 0.35s ease, filter 0.35s ease;
        }
        .pack-card:hover .pack-card__img-wrap img,
        .pack-card.is-tilting .pack-card__img-wrap img {
            transform: scale(1.06) translateY(-2px);
            filter: drop-shadow(0 14px 28px rgba(52, 211, 153, 0.25));
        }
        .pack-card__amount {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1rem, 2vw, 1.25rem);
            font-weight: 700;
            color: #f8fafc;
            letter-spacing: 0.06em;
            line-height: 1.1;
            margin: 0;
            text-align: center;
        }
        .pack-card__amount span {
            display: block;
            font-size: 0.55em;
            font-weight: 600;
            letter-spacing: 0.18em;
            color: #64748b;
            margin-bottom: 2px;
        }
        .pack-card__body {
            flex: 1 1 auto;
            padding: clamp(6px, 1vh, 10px) clamp(10px, 1.5vw, 14px) 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
            transform: translateZ(14px);
        }
        .pack-card__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }
        .pack-card__chip {
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 4px 8px;
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.2);
            color: #94a3b8;
            background: rgba(15, 23, 42, 0.6);
        }
        .pack-card__chip--bonus {
            color: #86efac;
            border-color: rgba(74, 222, 128, 0.35);
            background: rgba(6, 78, 59, 0.35);
        }
        .pack-card__rate {
            font-size: 10px;
            color: #64748b;
            margin: 0;
            line-height: 1.35;
        }
        .pack-card__footer {
            margin-top: auto;
            padding: clamp(6px, 1vh, 10px) clamp(10px, 1.5vw, 14px) clamp(8px, 1.2vh, 12px);
            display: flex;
            flex-direction: column;
            gap: 6px;
            transform: translateZ(16px);
        }
        .pack-card__price {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
            padding: clamp(6px, 1vh, 10px) clamp(8px, 1.2vw, 12px);
            border-radius: 12px;
            background: rgba(2, 6, 23, 0.55);
            border: 1px solid rgba(148, 163, 184, 0.12);
        }
        .pack-card__price-label {
            font-size: 10px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #64748b;
            font-weight: 600;
        }
        .pack-card__price-value {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1rem, 2vw, 1.25rem);
            font-weight: 700;
            background: linear-gradient(110deg, #086e1c, #71bf80, #FFFFFF);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            letter-spacing: 0.04em;
            line-height: 1;
        }
        .pack-card .btn-steam-top {
            width: 100%;
            justify-content: center;
            margin-top: 0;
        }

        .btn-buy { 
            background: radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.42), rgba(5, 150, 105, 0.94) 48%, rgba(6, 78, 59, 0.98) 100%);
            color: #f0fdf4; 
            text-decoration: none; 
            padding: clamp(8px, 1.2vh, 10px) clamp(10px, 1.5vw, 14px); 
            border-radius: 999px; 
            font-weight: bold; 
            display: inline-flex; 
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-transform: uppercase; 
            font-size: 13px;
            border: 1px solid rgba(74, 222, 128, 0.65);
            letter-spacing: 0.12em;
            transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, border-color 0.3s ease;
            cursor: pointer;
            box-shadow: 0 10px 28px rgba(6, 78, 59, 0.45);
        }
        .btn-buy:hover {
            transform: translateY(-2px);
            filter: brightness(1.06);
            box-shadow: 0 18px 42px rgba(5, 150, 105, 0.55);
            border-color: #86efac;
        }

        /* Saldo no nav (aproveitando layout) */
        .user-balance-nav {
            display: none;
            font-weight: bold;
            color: #4caf50;
            font-size: 13px;
            margin: 2px 0;
        }

        @media (max-width: 1200px) {
            .cards-container {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        @media (max-width: 900px) {
            .cards-container {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .pack-card,
            .pack-card:hover {
                transition: none;
                transform: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .pack-card,
            .balance-card {
                transition: none;
                will-change: auto;
            }
            .pack-card.is-tilting,
            .pack-card:hover {
                transform: none !important;
            }
        }

        /* Mobile: grid 2 colunas compacto, sem rolagem da página */
        @media (max-width: 768px) {
            body.page-coins .shop-wrapper {
                padding-bottom: 8px !important;
            }
            .shop-title { margin-bottom: clamp(8px, 2.5vw, 18px); }
            .shop-title p { font-size: clamp(11px, 3vw, 13px); margin-top: 6px; line-height: 1.35; }
            .balance-display { padding: 8px 16px; margin-bottom: 8px; }
            .balance-display strong { font-size: clamp(1rem, 4vw, 1.25rem); }
            .user-logged {
                width: 100%;
                justify-content: center;
            }
            .cards-container {
                padding: clamp(10px, 1.8vh, 16px) clamp(8px, 2vw, 12px) clamp(12px, 2vh, 18px);
                grid-template-columns: repeat(2, minmax(0, 1fr));
                grid-auto-rows: auto;
                gap: clamp(10px, 2vw, 14px);
                margin-top: 0;
            }
            .balance-row { margin-bottom: 6px; gap: 8px; padding: 6px 8px; }
            .balance-card { padding: 10px 12px; min-width: 0; flex: 1 1 calc(50% - 8px); }
            .balance-card__icon { width: 34px; height: 34px; font-size: 14px; }
            .balance-card__body strong { font-size: clamp(0.95rem, 3.5vw, 1.1rem); }
            .pack-card__media { padding: 12px 10px 8px; }
            .pack-card__img-wrap { height: clamp(64px, 18vw, 88px); margin-bottom: 6px; }
            .pack-card__amount { font-size: clamp(0.85rem, 3.2vw, 1rem); }
            .pack-card__body { padding: 10px 10px 0; gap: 6px; }
            .pack-card__chip { font-size: 8px; padding: 3px 6px; }
            .pack-card__rate { font-size: 9px; }
            .pack-card__footer { padding: 10px 10px 12px; gap: 8px; }
            .pack-card__price { padding: 8px 10px; }
            .pack-card__price-value { font-size: clamp(0.95rem, 3.5vw, 1.15rem); }
            .btn-buy, .pack-card .btn-steam-top { padding: 8px 8px; font-size: 9px; letter-spacing: 0.06em; }
            .pack-card__badge { top: 8px; right: 6px; font-size: 7px; padding: 3px 6px; }
            .pack-card:hover { transform: none; }
            .user-balance-nav {
                display: block;
            }
        }

        @media (max-width: 420px) {
            .balance-row { flex-direction: column; align-items: stretch; }
            .balance-card { flex: 1 1 auto; width: 100%; }
        }

        /* Paisagem em telefone */
        @media (max-height: 520px) and (orientation: landscape) {
            body.page-coins .shop-wrapper {
                padding-top: 56px !important;
                padding-bottom: 12px !important;
            }
            .shop-title { margin-bottom: 4px; }
            .shop-title h1 { font-size: clamp(1rem, 4vh, 1.35rem); }
            .shop-title p { display: none; }
            .cards-container {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 6px;
                margin-top: 4px;
            }
            .pack-card__img-wrap { height: 52px; }
            .pack-card__footer { padding: 8px; }
            .balance-display { padding: 4px 12px; margin-top: 4px; }
            .site-footer-inner { min-height: 36px; padding-top: 4px; padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)); }
        }

        .alert-info {
            background: rgba(37, 99, 235, 0.9);
            color: white;
            padding: 8px 12px;
            border-radius: 8px;
            margin: 0 auto 8px;
            display: block;
            width: 100%;
            max-width: 560px;
            font-size: 12px;
            box-shadow: 0 8px 24px rgba(15,23,42,0.6);
        }

        button.btn-buy {
            font-family: inherit;
            border: none;
            width: 100%;
        }

        /* Checkout modal — overlay escuro + blur (mesmo padrão da página VIP) */
        .coins-checkout-overlay {
            position: fixed;
            inset: 0;
            z-index: 450;
            display: none;
            align-items: center;
            justify-content: center;
            padding: min(20px, 4vw);
        }
        .coins-checkout-overlay.is-open {
            display: flex;
        }
        .coins-checkout-overlay__backdrop {
            position: absolute;
            inset: 0;
            background: rgba(2, 6, 23, 0.72);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: none;
            padding: 0;
            cursor: pointer;
        }
        .coins-checkout-dialog {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            max-height: min(88vh, 640px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(8, 12, 24, 0.99));
            box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
        }
        .coins-checkout-dialog__head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 18px 12px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        }
        .coins-checkout-dialog__title {
            font-family: 'Oswald', system-ui, sans-serif;
            font-size: 17px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f8fafc;
            margin: 0;
            line-height: 1.25;
        }
        .coins-checkout-dialog__subtitle {
            font-size: 11px;
            color: #94a3b8;
            margin: 4px 0 0;
            font-weight: 400;
            letter-spacing: 0.02em;
        }
        .coins-checkout-close {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            border: 1px solid rgba(148, 163, 184, 0.25);
            background: rgba(15, 23, 42, 0.8);
            color: #e2e8f0;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, border-color 0.2s, color 0.2s;
        }
        .coins-checkout-close:hover {
            background: rgba(30, 41, 59, 0.95);
            border-color: rgba(74, 222, 128, 0.45);
            color: #fff;
        }
        .coins-checkout-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 14px 16px 10px;
            flex-wrap: wrap;
        }
        .coins-checkout-steps .sep {
            color: rgba(148, 163, 184, 0.55);
            font-size: 12px;
            user-select: none;
        }
        .coins-step-pill {
            font-size: 10px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 7px 12px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.08);
            color: #f1f5f9;
            font-weight: 600;
            transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
        }
        .coins-step-pill.is-done {
            background: linear-gradient(135deg, #16a34a, #15803d);
            border-color: rgba(34, 197, 94, 0.65);
            color: #ecfdf5;
            box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
        }
        .coins-step-pill.is-active:not(.is-done) {
            background: rgba(255, 255, 255, 0.95);
            border-color: #fff;
            color: #0f172a;
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
        }
        .coins-checkout-body {
            padding: 8px 18px 18px;
            overflow-y: auto;
            flex: 1;
            min-height: 0;
        }
        .coins-checkout-panel {
            display: none;
            animation: coinsPanelIn 0.22s ease;
        }
        .coins-checkout-panel.is-visible {
            display: block;
        }
        @keyframes coinsPanelIn {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .coins-checkout-panel h4 {
            font-size: 13px;
            color: #e2e8f0;
            margin: 0 0 10px;
            font-weight: 600;
            letter-spacing: 0.03em;
        }
        .coins-checkout-panel p {
            font-size: 12px;
            color: #94a3b8;
            line-height: 1.5;
            margin: 0 0 12px;
        }
        .coins-summary-box {
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(2, 6, 23, 0.45);
            padding: 14px 14px;
            margin-bottom: 14px;
        }
        .coins-summary-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            font-size: 12px;
            color: #cbd5e1;
            padding: 4px 0;
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }
        .coins-summary-row:last-child {
            border-bottom: none;
        }
        .coins-summary-row strong {
            color: #f8fafc;
            font-weight: 600;
        }
        .coins-summary-section-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; margin: 0 0 8px; font-weight: 700; }
        .coins-summary-table-head {
            display: grid;
            grid-template-columns: 1fr auto auto;
            gap: 8px;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #64748b;
            padding: 0 0 6px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.15);
            margin-bottom: 4px;
        }
        .coins-summary-item-row { align-items: flex-start; }
        .coins-summary-item-row .coins-item-name { font-weight: 600; color: #e2e8f0; padding-right: 8px; }
        .coins-summary-row--muted { opacity: 0.88; }
        .coins-summary-row--muted .coins-price-ref { text-decoration: line-through; color: #94a3b8; font-weight: 500; }
        .coins-summary-row--discount { color: #86efac; }
        .coins-summary-row--discount strong { color: #bbf7d0; }
        .coins-summary-row--total {
            margin-top: 6px;
            padding-top: 10px;
            border-top: 1px solid rgba(74, 222, 128, 0.35);
            font-size: 13px;
        }
        .coins-summary-row--total span { font-weight: 700; color: #e2e8f0; }
        .coins-summary-row--total strong { font-size: 15px; color: #4ade80; letter-spacing: 0.02em; }
        .coins-summary-box--compact { margin-top: 0; }
        .coins-conclusion-lead { font-size: 12px; color: #94a3b8; line-height: 1.55; margin: 0 0 12px; padding: 12px 12px; border-radius: 10px; border: 1px solid rgba(74, 222, 128, 0.25); background: rgba(15, 23, 42, 0.65); }
        .coins-conclusion-lead i { color: #4ade80; margin-right: 8px; }
        .coins-conclusion-lead strong { color: #f8fafc; }
        .coins-pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; }
        .coins-pay-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #e2e8f0;
            border: 1px solid rgba(148, 163, 184, 0.4);
            background: rgba(2, 6, 23, 0.55);
        }
        .coins-pay-chip i { font-size: 14px; color: #4ade80; }
        .coins-pay-note { font-size: 11px; color: #64748b; text-align: center; line-height: 1.45; margin: 0 0 12px; }
        .coins-mp-badge { font-size: 10px; color: #94a3b8; text-align: center; margin: 0 0 8px; letter-spacing: 0.04em; }
        .coins-mp-badge i { color: #00b1ea; margin-right: 6px; }
        .coins-checkout-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 4px;
        }
        .coins-btn-secondary {
            width: 100%;
            padding: 11px 16px;
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.35);
            background: transparent;
            color: #e2e8f0;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s;
        }
        .coins-btn-secondary:hover {
            background: rgba(148, 163, 184, 0.1);
            border-color: rgba(226, 232, 240, 0.45);
        }
        .coins-btn-primary {
            width: 100%;
            padding: 13px 16px;
            border-radius: 999px;
            border: 1px solid rgba(74, 222, 128, 0.65);
            background: radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.42), rgba(5, 150, 105, 0.94) 48%, rgba(6, 78, 59, 0.98) 100%);
            color: #f0fdf4;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: 0 10px 32px rgba(6, 78, 59, 0.45);
            transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, border-color 0.2s;
        }
        .coins-btn-primary:hover {
            transform: translateY(-2px);
            filter: brightness(1.06);
            border-color: #86efac;
            box-shadow: 0 20px 48px rgba(5, 150, 105, 0.5);
        }
        .coins-pay-hint {
            font-size: 11px;
            color: #64748b;
            text-align: center;
            margin: 0 0 10px;
            line-height: 1.45;
        }

        /* Entrada da página: blur + revelação suave (igual chernarus.php) */
        .page-enter-curtain {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(0, 0, 0, 0.42);
            backdrop-filter: blur(28px) saturate(1.12);
            -webkit-backdrop-filter: blur(28px) saturate(1.12);
            opacity: 1;
            pointer-events: auto;
            transition: opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1),
                        backdrop-filter 1.2s ease,
                        -webkit-backdrop-filter 1.2s ease;
        }
        .page-enter-curtain.is-hidden {
            opacity: 0;
            backdrop-filter: blur(0);
            -webkit-backdrop-filter: blur(0);
            pointer-events: none;
        }

        body.page-entering .navbar,
        body.page-entering .hero,
        body.page-entering .hero-account,
        body.page-entering .site-footer {
            opacity: 0;
            filter: blur(14px);
            transform: translateY(22px);
            transition: none;
        }
        body.page-entering .navbar {
            transform: translateY(-16px);
            filter: blur(10px);
        }

        body.page-enter-done .navbar,
        body.page-enter-done .hero,
        body.page-enter-done .hero-account,
        body.page-enter-done .site-footer {
            opacity: 1;
            filter: none;
            transform: none;
            transition: opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1),
                        transform 1.2s cubic-bezier(0.33, 1, 0.68, 1),
                        filter 1.05s ease;
        }
        body.page-enter-done .navbar {
            transition-delay: 0.06s;
        }
        body.page-enter-done .hero,
        body.page-enter-done .hero-account {
            transition-delay: 0.14s;
        }
        body.page-enter-done .site-footer {
            transition-delay: 0.32s;
        }

        @media (prefers-reduced-motion: reduce) {
            .page-enter-curtain {
                transition-duration: 0.15s;
            }
            body.page-enter-done .navbar,
            body.page-enter-done .hero,
            body.page-enter-done .hero-account,
            body.page-enter-done .site-footer {
                transition-duration: 0.15s !important;
                transition-delay: 0s !important;
            }
        }
