/* ==========================================================================
   Event Packages & Stage Equipment Page Styles
   Website: เกมส์งานวัด.net
   Generated for optimized SEO & browser caching
   ========================================================================== */

:root {
            --brand-primary: #1565c0;
            --brand-secondary: #f57c00;
            --brand-yellow: #ffc107;
            --brand-dark: #15102a;
            --brand-light: #fff8f0;
            --brand-text: #212529;
            --brand-green: #047833;
            --brand-red: #b71c1c;
        }

        /* Impeccable Browser Surfaces & WCAG Enforcements */
        ::selection {
            background: #ffe082;
            color: #1a1a2e;
        }
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }
        ::-webkit-scrollbar-track {
            background: #f1ede6;
        }
        ::-webkit-scrollbar-thumb {
            background: #1565c0;
            border-radius: 5px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #0d47a1;
        }

        /* Prevent anti-pattern [tiny-text] & ensure contrast */
        small, .small {
            font-size: 0.9rem !important;
            line-height: 1.5;
        }
        .text-muted {
            color: #555555 !important;
        }
        .text-danger {
            color: #b71c1c !important;
        }
        .price-desc-text {
            font-size: 0.95rem;
            color: #495057;
            line-height: 1.4;
            display: block;
            margin-top: 3px;
        }

        body {
            font-family: 'Kanit', sans-serif;
            color: var(--brand-text);
            background-color: #f8f9fa;
            font-size: 1.05rem;
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6, .font-heading {
            font-family: 'Kanit', sans-serif;
            font-weight: 600;
        }

        /* Container Expansion for Spacious Wide View */
        .container-wide {
            width: 100% !important;
            max-width: 1560px !important;
            padding-left: 20px;
            padding-right: 20px;
        }
        @media (min-width: 1600px) {
            .container-wide {
                max-width: 1680px !important;
            }
        }

        /* Unified Centered Navbar moved to css/awakegame.css */

        /* Button Typography Scale */
        .btn {
            font-family: 'Kanit', sans-serif;
            font-size: 1.05rem;
            font-weight: 500;
        }
        .btn-sm {
            font-size: 0.95rem !important;
            padding: 6px 16px;
        }
        .btn-lg {
            font-size: 1.15rem !important;
            padding: 12px 28px;
        }

        /* Page Hero Banner - Festive Sunset Indigo Gradient */
        .page-hero {
            background: linear-gradient(135deg, rgba(21, 16, 42, 0.94) 0%, rgba(191, 54, 12, 0.88) 100%),
                        url('image/event-games/electric-wire/เกมส์สัมผัสสายฟ้า-เกมส์อีเว้นท์-01.jpg') center/cover no-repeat;
            color: #ffffff;
            padding: 135px 0 65px;
            text-align: center;
        }
        .page-badge {
            display: inline-block;
            background: rgba(0, 0, 0, 0.45);
            border: 1.5px solid #ffd54f;
            color: #ffe082;
            padding: 6px 22px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            text-shadow: 0 1px 2px rgba(0,0,0,0.6);
        }
        .page-title {
            font-size: clamp(1.85rem, 4vw, 2.5rem);
            font-weight: 700;
            margin-bottom: 14px;
            color: #ffffff;
            line-height: 1.3;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }
        .page-subtitle {
            font-size: clamp(1.0rem, 2vw, 1.15rem);
            color: #ffffff;
            max-width: 880px;
            margin: 0 auto;
            line-height: 1.7;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
        }

        /* Breadcrumb */
        .breadcrumb-container {
            background: #ffffff;
            border-bottom: 1px solid #ebe5dc;
            padding: 14px 0;
            font-size: 0.95rem;
        }
        .breadcrumb-container a {
            color: #555555;
            text-decoration: none;
        }
        .breadcrumb-container a:hover {
            color: #bf360c;
        }
        .breadcrumb-container span.active {
            color: #bf360c;
            font-weight: 600;
        }

        /* Top Features Banner */
        .feature-bar-box {
            background: #ffffff;
            border-radius: 18px;
            padding: 24px 20px;
            margin-bottom: 30px;
            border: 1px solid #ebe5dc;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
        }
        .feature-item-pill {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 8px 12px;
        }
        .feature-item-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #e0f2f1;
            color: #00695c;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        .feature-item-title {
            font-weight: 700;
            font-size: 1.05rem;
            color: #1f1b2e;
            margin-bottom: 2px;
        }
        .feature-item-sub {
            font-size: 0.9rem;
            color: #555555;
            line-height: 1.4;
        }

        /* Quick Navigation Pills */
        .game-nav-wrap {
            background: #ffffff;
            border-radius: 18px;
            padding: 24px;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
            border: 1px solid #ebe5dc;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .game-nav-title {
            font-family: 'Kanit', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: #1f1b2e;
            margin-bottom: 14px;
        }
        .game-nav-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .game-nav-btn {
            font-size: 0.95rem;
            font-weight: 500;
            padding: 8px 18px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            border-radius: 50px;
            background: #f7f4ee;
            color: #212529;
            text-decoration: none !important;
            border: 1px solid #e2ddd5;
            transition: all 0.2s;
        }
        .game-nav-btn:hover {
            background: var(--brand-yellow);
            color: #1f1b2e;
            border-color: #ffd54f;
            transform: translateY(-2px);
        }

        /* Video Card */
        .video-card {
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.06);
            border: 1px solid #ebe5dc;
            height: 100%;
        }

        /* Individual Game Item Card - Spacious & Beautiful */
        .game-item-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid #ebe5dc;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .game-item-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
        }
        .game-card-header {
            background: linear-gradient(135deg, #1f1b2e 0%, #2b1f3d 100%);
            color: #ffffff;
            padding: 20px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 3px solid var(--brand-yellow);
        }
        .game-card-title {
            font-size: clamp(1.25rem, 2.5vw, 1.5rem);
            font-weight: 600;
            margin: 0;
            color: #ffffff;
        }
        .game-card-badge {
            background: var(--brand-yellow);
            color: #1a1a2e;
            font-size: 0.95rem;
            font-weight: 600;
            padding: 4px 16px;
            border-radius: 50px;
            letter-spacing: 0.3px;
        }
        .game-card-body {
            padding: 24px;
        }
        .game-desc-lead {
            font-size: 1.05rem;
            color: #444;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        /* Large Interactive Image Box */
        .game-gallery-container {
            width: 100%;
        }
        .color-picker-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }
        .btn-color-pill {
            font-size: 0.95rem;
            font-weight: 500;
            padding: 6px 14px;
            min-height: 40px;
            display: inline-flex;
            align-items: center;
            border-radius: 50px;
            border: 1px solid #ccc;
            background: #fdfdfd;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .btn-color-pill:hover, .btn-color-pill.active {
            background: #1f1b2e;
            color: #ffd54f;
            border-color: #1f1b2e;
        }
        .game-main-img-box {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            height: 440px;
            background: radial-gradient(circle at center, #261f3d 0%, #120e20 100%);
            margin-bottom: 12px;
            cursor: pointer;
            box-shadow: 0 4px 18px rgba(0,0,0,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        @media (min-width: 1400px) {
            .game-main-img-box {
                height: 480px;
            }
        }
        @media (max-width: 576px) {
            .game-main-img-box {
                height: 330px;
            }
        }
        .game-main-img-box img {
            max-width: 100%;
            max-height: 100%;
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            margin: auto;
            transition: opacity 0.25s ease, transform 0.3s ease;
        }
        .game-main-img-box:hover img {
            transform: scale(1.02);
        }
        .game-img-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0,0,0,0.72);
            backdrop-filter: blur(4px);
            color: #fff;
            font-size: 1.25rem;
            font-weight: 500;
            padding: 4px 14px;
            border-radius: 50px;
            z-index: 5;
        }
        .game-zoom-btn {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(0,0,0,0.65);
            color: #fff;
            font-size: 1.25rem;
            padding: 4px 14px;
            border-radius: 50px;
            z-index: 5;
            transition: background 0.2s;
        }
        .game-main-img-box:hover .game-zoom-btn {
            background: #1565c0;
        }
        .game-thumbs-row {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 6px;
        }
        .game-thumb-item {
            flex: 0 0 84px;
            height: 72px;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid #ddd;
            background: #181428;
            cursor: pointer;
            opacity: 0.8;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .game-thumb-item img {
            max-width: 100%;
            max-height: 100%;
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #181428;
        }
        .game-thumb-item:hover, .game-thumb-item.active {
            opacity: 1;
            border-color: var(--brand-yellow);
            box-shadow: 0 2px 10px rgba(255, 193, 7, 0.45);
            transform: translateY(-2px);
        }

        /* Pricing Section (Flat Hierarchy, WCAG Compliant) */
        .price-grid-box {
            background: transparent;
            border-top: 1px dashed #e2ddd5;
            border-bottom: 1px dashed #e2ddd5;
            padding: 14px 4px;
            margin: 16px 0;
        }
        .badge-area-event {
            display: inline-block;
            background: #e0f2f1;
            color: #004d40;
            border: 1px solid #b2dfdb;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 50px;
            padding: 3px 14px;
        }
        .badge-area-booth {
            display: inline-block;
            background: #fff3e0;
            color: #bf360c;
            border: 1px solid #ffcc80;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 50px;
            padding: 3px 14px;
        }
        .price-val-main {
            font-family: 'Kanit', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            color: #b71c1c;
            margin: 4px 0 2px;
            line-height: 1.25;
        }
        .price-val-alt {
            font-family: 'Kanit', sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: #00695c;
            margin: 4px 0 2px;
        }

        /* Feature List */
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 10px 0 16px 0;
        }
        .feature-list li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 8px;
            font-size: 1.05rem;
            color: #333333;
        }
        .feature-list li i {
            position: absolute;
            left: 0;
            top: 4px;
            color: #047833;
            font-size: 1.15rem;
        }

        /* Sidebar & Bottom Styling */
        .sidebar-box {
            background: #ffffff;
            border-radius: 18px;
            padding: 24px;
            border: 1px solid #ebe5dc;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            margin-bottom: 25px;
        }
        .sidebar-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1f1b2e;
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--brand-yellow);
        }

        /* Footer & Floating Contact Buttons moved to css/awakegame.css */
        @media (max-width: 768px) {
            .page-title { font-size: 1.85rem; }
            .page-subtitle { font-size: 1.0rem; }
            .game-card-title { font-size: 1.25rem; }
            .game-card-body { padding: 18px; }
            .game-main-img-box { height: 260px; }
        }
