/* =================================================== */
/* ==         THE HAWK GAMES - MASTER CSS           == */
/* =================================================== */

/* --- 1. Root Variables & Global Reset --- */
:root {
    --primary-gold: #e0a94a;
    --light-white: #f0f0f0;
    --dark-bg: #121212;
    --card-bg: #1a1a1a;
    --border-color: #2c2c2c;
    --success-green: #27ae60;

    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--dark-bg); color: var(--light-white); line-height: 1.6; }
main:not(.hero-comp-main) { padding-top: 120px; }
.container { width: 90%; max-width: 1400px; margin: 0 auto; }

/* --- 2. Universal Components --- */
.section-title { font-family: var(--font-heading); font-size: 2.8rem; text-transform: uppercase; text-align: center; letter-spacing: 2px; margin-bottom: 3rem; padding-bottom: 1rem; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background-color: var(--primary-gold); }
.btn { display: inline-block; padding: 0.8rem 2.5rem; background-color: var(--primary-gold); color: var(--dark-bg); text-decoration: none; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1.5px; border: 2px solid var(--primary-gold); border-radius: 4px; font-weight: 700; text-align: center; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.btn:hover { background-color: transparent; color: var(--primary-gold); }
.btn.active { background-color: transparent; color: var(--primary-gold); } /* Active state for CTA */
.btn:disabled { background-color: #555; border-color: #555; color: #888; cursor: not-allowed; }
.btn:disabled:hover { background-color: #555; color: #888; }
.btn-small { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-secondary { background-color: #333; border-color: #555; color: var(--light-white); }
.btn-secondary:hover { background-color: #444; border-color: #666; }
.btn-credit { background-color: var(--success-green); border-color: var(--success-green); color: white; width: 100%; }
.btn-credit:hover { background-color: transparent; color: var(--success-green); }
.btn-link { background: none; border: none; color: var(--primary-gold); text-decoration: underline; cursor: pointer; font-size: 0.9rem; }
.placeholder { padding: 4rem; text-align: center; font-family: var(--font-heading); color: #888; }

/* --- 3. Layout: Header & Footer --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 1.5rem 0; background-color: transparent; border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease; }
.main-header.scrolled { background-color: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); border-color: var(--border-color); padding: 1rem 0; }
.main-header .container, .main-footer .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 35px; display: block; }
.main-footer { margin-top: 5rem; border-top: 1px solid var(--border-color); border-bottom: none; background-color: var(--dark-bg); padding: 1rem 0;}
.footer-links a { color: #aaa; text-decoration: none; margin-left: 1.5rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-gold); }
.copyright { color: #777; font-size: 0.9rem; }

/* --- 3a. Responsive Navigation --- */
.main-nav-desktop { display: none; align-items: center; gap: 2rem; }
.main-nav-desktop a { color: #ccc; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s ease; position: relative; padding: 0.5rem 0; }
.main-nav-desktop a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-gold); transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease; }
.main-nav-desktop a:hover:not(.btn), .main-nav-desktop a.active:not(.btn) { color: var(--primary-gold); }
.main-nav-desktop a:hover:not(.btn)::after, .main-nav-desktop a.active:not(.btn)::after { transform: scaleX(1); }
.main-nav-desktop a.btn { padding: 0.8rem 1.5rem !important; font-size: 0.9rem; }
.main-nav-desktop a.btn::after { display: none; }
.instant-win-nav-item { display: flex; align-items: center; gap: 0.75rem; }
.token-indicator { display: flex; align-items: center; gap: 0.5rem; color: var(--light-white); font-weight: 700; }
.token-indicator .token-icon { background-color: var(--primary-gold); width: 24px; height: 24px; border-radius: 4px; }
.token-indicator .token-count { font-size: 1.2rem; }
.credit-balance { background-color: rgba(39, 174, 96, 0.2); border: 1px solid var(--success-green); padding: 0.4rem 0.8rem; border-radius: 4px; font-weight: 700; font-size: 0.9rem; color: #fff; }

.hamburger-btn { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-btn span { width: 30px; height: 3px; background: var(--light-white); border-radius: 2px; transition: all 0.3s linear; position: relative; transform-origin: 1px; }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(18,18,18,0.95); backdrop-filter: blur(10px); z-index: 1000; display: flex; justify-content: center; align-items: center; transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); transform: translateX(100%); }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.mobile-nav-links a { font-family: var(--font-heading); font-size: 1.8rem; color: var(--light-white); text-decoration: none; text-transform: uppercase; }
.mobile-nav-links a.active { color: var(--primary-gold); }
.mobile-nav-links .instant-win-nav-item { flex-direction: column; gap: 1rem; }
.mobile-nav-links .token-indicator { font-size: 1.2rem; }
.mobile-nav-links .credit-balance { margin-bottom: 1rem; padding: 0.75rem 1.5rem; }

body.mobile-nav-open .mobile-nav-overlay { transform: translateX(0); }
body.mobile-nav-open .hamburger-btn span:nth-child(1) { transform: rotate(45deg) translate(2px, -1px); }
body.mobile-nav-open .hamburger-btn span:nth-child(2) { opacity: 0; transform: translateX(20px); }
body.mobile-nav-open .hamburger-btn span:nth-child(3) { transform: rotate(-45deg) translate(1px, 0px); }


/* --- 4. Competition Card Component (Homepage) --- */
.competition-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2.5rem; }
.hawk-card { position: relative; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--light-white); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.hawk-card:hover { transform: translateY(-5px); border-color: var(--primary-gold); box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 20px rgba(224, 169, 74, 0.4); }
.hawk-card__instant-win-badge { position: absolute; top: 1rem; left: 1rem; background-color: var(--primary-gold); color: var(--dark-bg); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; font-family: var(--font-body); z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hawk-card__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background-color: #333; }
.hawk-card__content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.hawk-card__title { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; line-height: 1.3; margin-bottom: 1rem; flex-grow: 1; }
.hawk-card__timer { font-size: 0.9rem; font-weight: 700; color: #ccc; margin-bottom: 1rem; text-align: center; }
.progress-bar { width: 100%; height: 8px; background-color: #111; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.progress-bar-fill { height: 100%; background-color: var(--primary-gold); transition: width 0.5s ease; }
.hawk-card__progress-text { font-size: 0.8rem; text-align: center; color: #aaa; margin-top: 0.5rem; margin-bottom: 1rem; }
.hawk-card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: 1rem; }
.hawk-card__price { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-gold); }

/* --- 5. Standard Competition Detail Page --- */
.competition-detail-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.prize-image-panel img { width: 100%; border-radius: 5px; }
.entry-details-panel { padding-top: 1rem; }
.entry-details-panel h1 { font-family: var(--font-heading); font-size: 2.8rem; text-transform: uppercase; line-height: 1.1; letter-spacing: 1px; }
.entry-details-panel .cash-alternative { color: #ccc; font-weight: 700; margin-top: 0.25rem; margin-bottom: 2rem; font-size: 1.1rem; }
.entry-details-panel .cash-alternative span { color: var(--primary-gold); }
.detail-timer { font-family: var(--font-heading); font-size: 3.5rem; text-align: left; letter-spacing: 2px; margin-bottom: 1.5rem; line-height: 1; }
.detail-timer small { font-family: var(--font-body); font-size: 0.8rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-left: 0.25rem; }
.detail-progress { margin-bottom: 2.5rem; }
.detail-progress p { font-size: 0.9rem; margin-top: 0.75rem; color: #aaa; }
.detail-section h3 { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.detail-section h3 span { color: var(--primary-gold); margin-right: 0.5rem; }
.question-text { font-size: 1.1rem; margin-bottom: 1.5rem; color: #eee; }
.answer-options, .ticket-options { display: flex; flex-direction: column; gap: 0.75rem; }
.answer-btn:not(.card-style-option), .ticket-option:not(.card-style-option) { background-color: var(--card-bg); border: 1px solid var(--border-color); color: #ccc; padding: 1rem 1.5rem; border-radius: 4px; text-align: left; font-size: 1rem; font-family: var(--font-body); cursor: pointer; transition: all 0.2s ease; }
.answer-btn:not(.card-style-option):hover, .ticket-option:not(.card-style-option):hover { border-color: #555; background-color: #222; }
.answer-btn.selected, .ticket-option.selected { background-color: var(--primary-gold); color: var(--dark-bg); border-color: var(--primary-gold); font-weight: 700; }
#entry-button { width: 100%; margin-top: 2rem; padding: 1.2rem; font-size: 1.3rem; }

/* --- 6. Modal Styles --- */
.modal-container { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-container.show { opacity: 1; pointer-events: auto; }
.modal-content { background-color: var(--card-bg); border: 1px solid var(--border-color); padding: 2rem; border-radius: 5px; width: 90%; max-width: 450px; text-align: center; }
.modal-content h2 { font-family: var(--font-heading); font-size: 1.8rem; text-transform: uppercase; }
.modal-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.loader { border: 4px solid #f3f3f3; border-radius: 50%; border-top: 4px solid var(--primary-gold); width: 40px; height: 40px; margin: 1.5rem auto; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.celebration-modal .modal-icon-success { font-size: 3rem; width: 80px; height: 80px; line-height: 80px; margin: 0 auto 1.5rem auto; border-radius: 50%; background-color: #27ae60; color: white; }
.spin-wheel-modal .wheel-container { margin-top: 2rem; margin-bottom: 2rem; }

/* --- 7. Account Page Styles --- */
.account-layout { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: flex-start; margin-top: 3rem; }
.profile-card { background-color: var(--card-bg); padding: 2rem; border: 1px solid var(--border-color); border-radius: 5px; text-align: center; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--primary-gold); }
.profile-name { font-family: var(--font-heading); font-size: 1.8rem; }
.profile-email { color: #aaa; margin-bottom: 1.5rem; word-break: break-all; }
.profile-actions { display: flex; flex-direction: column; gap: 1rem; }
.content-panel { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; padding: 2rem; margin-bottom: 2rem; }
.content-panel h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.4rem; padding-bottom: 0.75rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.preference-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.preference-row label { flex-grow: 1; }
.feedback-message { min-height: 1.2rem; margin-top: 1rem; color: var(--primary-gold); font-weight: bold; }
.toggle-switch { position: relative; display: inline-block; width: 60px; height: 34px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-gold); }
input:checked + .slider:before { transform: translateX(26px); }
.status-badge { font-weight: bold; padding: 6px 10px; border-radius: 20px; font-size: 0.8rem; text-transform: uppercase; }
.status-live { background-color: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.status-ended { background-color: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.status-won { background-color: var(--primary-gold); color: var(--dark-bg); }
.status-drawn { background-color: #555; color: #fff; }

/* --- 8. Homepage & Universal Section Styles --- */
#hero-competition-section, #how-it-works-section, #instant-win-section, #main-competitions-section, #spinner-competition-section, #past-winners-section { padding: 5rem 0; }
#hero-competition-section { padding-top: 3rem; } /* Less padding at the top */
.section-subtitle { font-size: 1.1rem; color: #ccc; text-align: center; max-width: 800px; margin: -2.5rem auto 3rem auto; line-height: 1.7; }
#past-winners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.winner-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; text-align: center; padding: 1.5rem; }
.winner-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-gold); margin-bottom: 1rem; }
.winner-card h4 { font-family: var(--font-heading); color: var(--primary-gold); font-size: 1.3rem; }
.winner-card p { color: #ccc; font-size: 0.9rem; }

/* --- 9. Competition Entry Group Styles (Account Page) --- */
.competition-entry-group { background-color: var(--dark-bg); border: 1px solid var(--border-color); border-radius: 5px; margin-bottom: 1.5rem; overflow: hidden; }
.competition-group-header { display: flex; align-items: center; gap: 1rem; padding: 1rem; background-color: #222; border-bottom: 1px solid var(--border-color); }
.group-header-image { width: 100px; height: 65px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.group-header-details { display: flex; flex-direction: column; gap: 0.5rem; }
.group-header-details h4 { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.2; margin: 0; }
.entry-list-container { padding: 0.5rem 1rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.entry-list-item { display: grid; grid-template-columns: 1fr 1fr 2fr auto; align-items: center; gap: 1rem; padding: 0.75rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--border-color); }
.entry-list-item:last-child { border-bottom: none; padding-bottom: 0.25rem; }
.entry-date { color: #aaa; }
.entry-tickets { font-weight: 700; }
.entry-numbers { color: #ccc; font-family: monospace; }
.instant-win-tag { background-color: var(--primary-gold); color: var(--dark-bg); font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 20px; font-size: 0.8rem; justify-self: end; }

/* --- 10. Spin Token Indicator (in Header) --- */
.token-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../assets/logo-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- 11. Instant Win Page (OVERHAUL) --- */
.instant-win-layout { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: flex-start; }
.spin-game-panel { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; padding: 2rem; display: flex; flex-direction: column; align-items: center; }
.spin-panel-header .section-title { margin-bottom: 0.5rem; font-size: 3.5rem; }
.spin-panel-header .section-title::after { width: 80px; }
.spin-panel-header .section-subtitle { margin-bottom: 2rem; max-width: 400px; text-align: center; }
.wheel-area { position: relative; width: 100%; max-width: 450px; margin: 1rem auto; }
.wheel-container { position: relative; width: 100%; padding-bottom: 100%; height: 0; display: flex; justify-content: center; align-items: center; }
.wheel-pointer { position: absolute; width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-top: 45px solid var(--primary-gold); top: -20px; z-index: 10; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); transition: transform 0.3s ease; }
.wheel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background-image: url('../assets/spin-wheel-bg.png'); background-size: contain; background-repeat: no-repeat; background-position: center; transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1); transform: rotate(0deg); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.btn-spin-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; z-index: 5; padding: 0; background-color: var(--light-white); color: var(--dark-bg); font-family: var(--font-heading); font-size: 1.8rem; text-transform: uppercase; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.4); transition: all 0.2s ease; cursor: pointer; }
.btn-spin-center:hover { transform: translate(-50%, -50%) scale(1.05); }
.btn-spin-center:disabled { background-color: #555; color: #888; cursor: not-allowed; }
.spin-panel-footer { min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 2rem; }
.spin-result-container { min-height: 50px; font-size: 1.2rem; font-weight: bold; }
.spin-result-container .spin-win { color: var(--primary-gold); }
.spin-result-container .spin-error { color: #e74c3c; }

/* Inventory Panel */
.inventory-panel { display: flex; flex-direction: column; gap: 2rem; }
.inventory-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; padding: 1.5rem; }
.inventory-card h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.4rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.balance-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.balance-row:not(:last-child) { border-bottom: 1px solid var(--border-color); }
.balance-item { display: flex; align-items: center; gap: 1rem; }
.balance-details { display: flex; flex-direction: column; }
.balance-value { font-size: 1.8rem; font-weight: 700; font-family: var(--font-heading); line-height: 1.2; }
.balance-details span:last-child { font-size: 0.9rem; color: #aaa; }
.inventory-card .token-icon, .inventory-card .credit-icon { font-size: 1.5rem; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 5px; }
.inventory-card .token-icon { background-color: var(--primary-gold); }
.inventory-card .credit-icon { background-color: rgba(39, 174, 96, 0.2); color: var(--success-green); font-weight: bold; }
.btn-buy-tokens { font-size: 1.8rem; line-height: 1; padding: 0; width: 40px; height: 40px; border-radius: 4px; border: 1px solid #333; background-color: #222; color: #888; transition: all 0.2s ease; cursor: pointer; }
.btn-buy-tokens:hover { background-color: #333; color: var(--light-white); }

/* Token Inventory Accordion */
.token-inventory h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.4rem; }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header { background-color: transparent; border: none; color: var(--light-white); cursor: pointer; padding: 1rem 0; width: 100%; text-align: left; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.accordion-header:hover { color: var(--primary-gold); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-content ul { list-style-type: '•  '; padding: 0.5rem 0 1rem 1.5rem; }
.accordion-content li { color: #aaa; font-family: monospace; font-size: 0.9rem; padding: 0.25rem 0; }


/* --- 12. HERO SECTION --- */
.hero-home { position: relative; height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 1rem; overflow: hidden; background-image: url('../assets/hero-bg.png'); background-position: center center; background-repeat: no-repeat; background-size: cover; }
.hero-overlay { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(18,18,18,0.4) 0%, rgba(18,18,18,0.85) 80%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-logo { display: block; margin: 0 auto 2rem auto; width: clamp(200px, 40vw, 500px); height: auto; }
.hero-content h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); line-height: 1.2; margin-top: 1.5rem; }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 1.5rem auto 2.5rem; color: #ccc; line-height: 1.7; }

/* --- 13. How It Works - Interactive Card --- */
.how-it-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; padding: 2.5rem 2rem; text-align: center; cursor: pointer; perspective: 1000px; }
.step-content { position: relative; width: 100%; min-height: 100px; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; }
.step-icon { width: 60px; height: 60px; line-height: 60px; border-radius: 50%; background-color: var(--primary-gold); color: var(--dark-bg); font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin: 0 auto 1.5rem; border: 3px solid var(--primary-gold); position: relative; transform: translateZ(40px); transition: transform 0.3s ease; }
.step-card:hover .step-icon { transform: translateZ(50px); }
.step-front, .step-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateZ(20px); }
.step-back { transform: rotateX(180deg) translateZ(20px); }
.step-front h3 { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.step-front span { color: #888; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.step-back p { color: #aaa; margin: 0; }
@media (hover: hover) { .step-card:hover .step-content { transform: rotateX(180deg); } }
.step-card.active .step-content { transform: rotateX(180deg); }

/* --- 14. Hero Competition Card (Homepage) --- */
.hero-competition-card { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; text-decoration: none; color: var(--light-white); transition: all 0.3s ease; position: relative; }
.hero-competition-card:hover { border-color: var(--primary-gold); box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
.hero-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-content { padding: 3rem; display: flex; flex-direction: column; }
.hero-card-tagline { font-family: var(--font-heading); color: var(--primary-gold); text-transform: uppercase; letter-spacing: 2px; }
.hero-card-title { font-family: var(--font-heading); font-size: 3rem; text-transform: uppercase; line-height: 1.1; margin: 0.5rem 0 1.5rem 0; }
.hero-card-timer { text-align: center; font-size: 1.2rem; margin-bottom: 1.5rem; }
.hero-card-footer { border-top: 1px solid var(--border-color); margin-top: auto; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }

/* --- 15. Spinner Competition Card (Homepage) --- */
.spinner-comp-card { text-align: center; }
.spinner-comp-prize { font-size: 1.1rem; color: #ccc; margin-top: 1rem; }
.spinner-comp-prize strong { color: var(--primary-gold); }
.spinner-comp-cta-text { color: #aaa; margin: 0.5rem 0 1.5rem 0; flex-grow: 1; }
.spinner-comp-card .hawk-card__footer { margin-top: auto; }

/* --- 16. Admin Panel (OVERHAUL) --- */
.admin-header { display: none; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.admin-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: flex-start; }
.admin-nav-container { background-color: var(--card-bg); padding: 1.5rem; border-radius: 5px; border: 1px solid var(--border-color); }
.admin-nav a { display: block; color: #ccc; text-decoration: none; padding: 0.75rem 0; font-weight: bold; border-bottom: 2px solid transparent; }
.admin-nav a:hover { color: var(--primary-gold); }
.admin-nav a.active { color: var(--primary-gold); border-bottom-color: var(--primary-gold); }
.content-panel { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.content-panel > h2 { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; padding: 1.5rem; background-color: #111; border-bottom: 1px solid var(--border-color); margin: 0; }
.admin-form { padding: 1.5rem; }
.competition-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); gap: 1.5rem; }
.competition-row:last-child { border-bottom: none; }
.comp-row-main { flex-grow: 1; }
.comp-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.5rem; }
.comp-progress-text { font-size: 0.8rem; color: #aaa; margin-bottom: 0.5rem; }
.comp-row-status { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; }
.comp-actions { display: flex; gap: 0.5rem; }
.comp-actions .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
.winner-info { background-color: var(--primary-gold); color: var(--dark-bg); padding: 0.5rem 1rem; border-radius: 4px; font-weight: bold; }

/* --- 16b. Admin Form Styling (NEW) --- */
.admin-form fieldset { border: 1px solid var(--border-color); padding: 1.5rem; margin-bottom: 1.5rem; border-radius: 5px; }
.admin-form legend { font-family: var(--font-heading); color: var(--primary-gold); padding: 0 0.5rem; font-size: 1.1rem; }
.admin-form .form-group { margin-bottom: 1rem; }
.admin-form .form-group:last-child { margin-bottom: 0; }
.admin-form .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; font-size: 0.9rem; color: #ccc; }
.admin-form input[type="text"], .admin-form input[type="url"], .admin-form input[type="number"], .admin-form input[type="datetime-local"], .admin-form select, .admin-form textarea { width: 100%; padding: 0.8rem; background-color: var(--dark-bg); border: 1px solid #444; color: var(--light-white); border-radius: 4px; font-size: 1rem; font-family: var(--font-body); }
.admin-form input:focus, .admin-form select:focus { outline: none; border-color: var(--primary-gold); box-shadow: 0 0 5px rgba(224, 169, 74, 0.5); }
.admin-form .form-group-inline { display: flex; gap: 1rem; align-items: center; }
.admin-form .form-group-inline .form-group { flex-grow: 1; }
.admin-form .btn-remove-tier { background: #c0392b; border: none; color: white; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; font-size: 1.2rem; line-height: 28px; }
.admin-form .spinner-prize-row { margin-bottom: 1.5rem; }

/* --- 17. Homepage Sections (Enhancements) --- */
#spinner-competition-section { position: relative; overflow: hidden; }
#spinner-competition-section::before { content: ''; position: absolute; top: 50%; left: 50%; width: 500px; height: 500px; background-image: url('../assets/spin-wheel-bg.png'); background-size: contain; background-repeat: no-repeat; background-position: center; transform: translate(-50%, -50%); opacity: 0.03; z-index: -1; }

/* --- 18. Hero Competition Page Overhaul (NEW) --- */
.hero-comp-header { position: relative; width: 100%; height: 80vh; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.hero-comp-header-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; }
.hero-comp-header-fg { position: relative; z-index: 2; max-width: 80%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 0 25px rgba(224, 169, 74, 0.4)); }
.hero-comp-main { padding-top: 4rem; padding-bottom: 4rem; }
.hero-comp-title-section { text-align: center; }
.hero-comp-title-section h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4rem); text-transform: uppercase; background: linear-gradient(135deg, #fff, var(--primary-gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
.cash-alternative-hero { color: #ccc; margin-top: 0.5rem; font-style: italic; }
.cash-alternative-hero span { text-decoration: underline; color: var(--primary-gold); }
.time-remaining { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; color: #888; margin-top: 3rem; }
.hero-digital-timer { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 5rem); letter-spacing: 4px; color: var(--primary-gold); text-shadow: 0 0 15px rgba(224, 169, 74, 0.7); }
.hero-comp-progress-section { margin: 2rem auto; max-width: 600px; }
.hero-comp-progress-section label { display: block; text-align: center; margin-bottom: 0.75rem; font-size: 0.9rem; color: #aaa; }
.hero-comp-progress-section .progress-bar { height: 12px; }
.hero-comp-entry-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; }
.entry-step h2 { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; }
.tickets-step .ticket-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card-style-option { background-color: transparent; border: 2px solid var(--border-color); border-radius: 5px; padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.3s ease; position: relative; }
.card-style-option:hover { border-color: var(--primary-gold); transform: translateY(-5px); }
.card-style-option.selected { border-color: var(--primary-gold); background-color: rgba(224, 169, 74, 0.1); }
.ticket-amount { font-family: var(--font-heading); font-size: 3rem; display: block; line-height: 1; }
.ticket-label { font-size: 1rem; text-transform: uppercase; color: #aaa; }
.ticket-price { font-size: 1.2rem; color: #fff; margin-top: 0.5rem; display: block; }
.best-value-badge { position: absolute; top: 0; right: 0; background-color: var(--primary-gold); color: var(--dark-bg); font-size: 0.7rem; padding: 0.25rem 0.75rem; font-weight: bold; text-transform: uppercase; border-radius: 0 3px 0 8px; }
.hero-comp-confirm-section { text-align: center; margin-top: 2rem; }
.hero-cta-btn { padding: 1.5rem 4rem; font-size: 1.5rem; display: flex; flex-direction: column; line-height: 1.2; animation: pulse-glow 2s infinite; }
.hero-cta-btn span { font-size: 0.9rem; color: rgba(0,0,0,0.7); }
@keyframes pulse-glow { 0% { box-shadow: 0 0 5px var(--primary-gold); } 50% { box-shadow: 0 0 20px var(--primary-gold); } 100% { box-shadow: 0 0 5px var(--primary-gold); } }
.hero-comp-glance-section { margin-top: 5rem; }
.hero-comp-glance-section h2 { text-align: center; font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 2rem; }
.glance-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background-color: var(--card-bg); padding: 2rem; border-radius: 5px; }
.glance-content img { max-width: 100%; border-radius: 4px; }
.glance-content ul { list-style-type: none; }
.glance-content li { font-size: 1.1rem; padding: 0.5rem 0; color: #ccc; }
.glance-content li::before { content: '•'; color: var(--primary-gold); font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; }
.hero-comp-trust-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border-color); }
.trust-icon { font-size: 2.5rem; }
.trust-badge h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-top: 0.5rem; }

/* --- 19. RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .account-layout { grid-template-columns: 1fr; }
    .hero-competition-card { grid-template-columns: 1fr; }
    .hero-logo { width: clamp(150px, 60vw, 250px); }
    /* Admin Responsive */
    .admin-header { display: flex; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-nav-container { position: fixed; top: 0; left: 0; width: 280px; height: 100%; z-index: 2000; transform: translateX(-100%); transition: transform 0.3s ease-in-out; padding-top: 6rem; }
    .admin-layout.nav-open .admin-nav-container { transform: translateX(0); }
    .admin-layout.nav-open::after { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1999; }
    /* Instant Win Page Responsive */
    .instant-win-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav-desktop { display: none; }
    .hero-home { background-image: url('../assets/hero-bg-mobile.png'); }
    .hero-card-title { font-size: 2rem; }
    .hero-card-content { padding: 2rem; }
    .entry-details-panel h1 { font-size: 2rem; }
    .detail-timer { font-size: 2.5rem; }
    /* Hero Comp Page Responsive */
    .hero-comp-entry-flow { grid-template-columns: 1fr; }
    .glance-content { grid-template-columns: 1fr; }
    .hero-comp-trust-section { grid-template-columns: 1fr; }
    /* Admin Row Responsive */
    .competition-row { flex-direction: column; align-items: stretch; }
    .comp-row-status { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 1rem; }
    .admin-form .form-group-inline { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
    .spin-controls { flex-direction: column; border: none; background-color: transparent; gap: 1rem; }
    .btn-spin { order: 2; border-radius: 4px; border: 2px solid var(--primary-gold); }
    .token-counter { order: 1; width: 100%; justify-content: center; }
}

@media (min-width: 992px) {
    .hamburger-btn, .mobile-nav-overlay, .admin-hamburger { display: none; }
    .main-nav-desktop { display: flex; }
}


/* --- 20. Instant Win Celebration Animations --- */
.spin-result-container.is-winner {
    animation: glow-gold 1.5s ease-out forwards;
}

@keyframes glow-gold {
    0% { box-shadow: 0 0 0px rgba(224, 169, 74, 0); }
    50% { box-shadow: 0 0 40px 10px rgba(224, 169, 74, 0.7); }
    100% { box-shadow: 0 0 0px rgba(224, 169, 74, 0); }
}

.prize-pop-in {
    animation: pop-in 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    transform: scale(0);
}

@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 100;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 16px;
    background-color: var(--primary-gold);
    top: -20px;
    opacity: 0;
    animation: confetti-fall 4s ease-out infinite;
}

.confetti:nth-child(odd) {
    background-color: var(--light-white);
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

/* --- 21. Win Celebration Modal Animations --- */
.win-celebration-modal .modal-content {
    background: radial-gradient(circle, #2a2a2a 0%, var(--card-bg) 100%);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 50px 10px rgba(224, 169, 74, 0.4);
    transform: scale(0);
    animation: scale-in-bounce 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.win-celebration-modal.closing .modal-content {
    animation: scale-out 0.3s ease-in forwards;
}

@keyframes scale-in-bounce {
    0% { transform: scale(0); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes scale-out {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.7); opacity: 0; }
}

.win-modal-icon {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--primary-gold));
    animation: trophy-shine 2s infinite;
}

@keyframes trophy-shine {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

.win-modal-heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.5rem;
    color: #ccc;
    letter-spacing: 2px;
}

.win-modal-prize-value {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 15vw, 6rem);
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.1;
    margin: 0.5rem 0;
    text-shadow: 0 0 20px rgba(224, 169, 74, 0.8);
}

.win-modal-prize-type {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 2rem;
}

.win-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.win-modal-actions .btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    font-size: 1.2rem;
}

.win-modal-actions .btn-secondary {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    font-size: 1rem;
}

.win-modal-actions .btn-secondary:hover {
    color: var(--light-white);
}

.win-modal-token-info {
    font-size: 0.9rem;
    color: #aaa;
    min-height: 1.2em;
}

/* --- 22. ReCAPTCHA Badge Hiding --- */
/* This rule is required by Google's ToS when displaying your own compliance text. */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* --- 23. New Footer Design (Refined) --- */
.main-footer {
    background-color: #0a0a0a;
    border-top: 2px solid var(--border-color);
    padding: 4rem 0 0 0; /* More top padding, no bottom padding */
    margin-top: 5rem;
    font-size: 0.95rem;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem; /* Increased gap for better spacing */
    padding-bottom: 4rem;
}

.footer-column {
    flex: 1;
    min-width: 240px;
}

/* Column 1: Brand */
.footer-brand .logo {
    max-width: 160px;
    margin-bottom: 1.5rem;
}

.footer-brand .tagline {
    color: #aaa;
    max-width: 280px;
    line-height: 1.7;
}

/* Columns 2 & 3: Links & Social */
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-social-icons {
    display: flex;
    gap: 1.25rem;
}

.footer-social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: #888;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    background-color: rgba(224, 169, 74, 0.1);
}

.footer-social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Bottom Bar for Copyright & Compliance */
.footer-bottom-bar {
    background-color: #000;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-bar .container {
    padding-bottom: 0;
    gap: 1rem;
    align-items: center;
}

.footer-copyright,
.recaptcha-notice {
    font-size: 0.8rem;
    color: #777;
    flex-grow: 1;
}

.recaptcha-notice {
    text-align: right;
}

.recaptcha-notice a {
    color: #aaa;
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand .tagline {
        margin: 0 auto;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-bottom-bar .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-copyright,
    .recaptcha-notice {
        text-align: center;
    }
}
/* =================================================== */
/* ==       SECTION 24: INSTANT GAMES HUB           == */
/* =================================================== */

.game-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 3rem;
}

.game-tab-btn {
    background: transparent;
    border: none;
    color: #888;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    top: 2px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.game-tab-btn:hover {
    color: var(--light-white);
}

.game-tab-btn.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

/*.plinko-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #4a69e0;
    border-radius: 50%;
}*/

.game-panel, .game-controls-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-panel.active, .game-controls-panel.active {
    display: block;
}

/* --- Layout Switching Logic --- */
.instant-win-layout.spinner-active {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: flex-start;
}

/*.instant-win-layout.plinko-active {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.balance-row .btn-buy-plinko-tokens {
    font-size: 1.8rem;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #333;
    background-color: #222;
    color: #888;
    transition: all 0.2s ease;
    cursor: pointer;
}

.balance-row .btn-buy-plinko-tokens:hover {
    background-color: #333;
    color: var(--light-white);
}

/* NEW: Plinko Controls Panel */
/*.plinko-controls-panel {
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.plinko-actions {
    display: flex;
    gap: 1rem;
}

.plinko-actions .btn {
    flex-grow: 1;
    padding: 1.2rem;
    font-size: 1.2rem;
}

.plinko-balance h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}*/

@media(max-width: 768px) {
    .instant-win-layout.spinner-active {
        grid-template-columns: 1fr;
    }
    .plinko-controls-panel {
        grid-template-columns: 1fr;
    }
}

/* =================================================== */
/* ==     SECTION 25: IMPROVED PURCHASE MODAL       == */
/* =================================================== */

.purchase-modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Ensure modal doesn't overflow viewport height */
}

#purchase-modal-body {
    padding: 2rem;
    overflow-y: auto; /* Enable scrolling for content */
}

#purchase-modal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--primary-gold);
}

#purchase-modal-body p {
    color: #aaa;
    margin: 0.5rem 0 2rem 0;
}

.modal-form .skill-question-box,
.modal-form .ticket-selector-box {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--dark-bg);
    border-radius: 4px;
}

.modal-form .question-text {
    font-size: 1.1rem;
    color: var(--light-white);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: #111;
}

/* =================================================== */
/* ==          SECTION 26: PLINKO STYLES            == */
/* == (Migrated from plinko-mvp.html for integration)== */
/* =================================================== */
/*
.plinko-game-panel.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .0));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
    position: relative;
    overflow: hidden;
}

.plinko-game-panel.card .hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 0 16px;
}

.plinko-game-panel.card .bd {
    padding: 14px 16px 16px 16px;
    display: flex;
    justify-content: center;
}

.plinko-game-panel.card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    background: radial-gradient(800px 200px at 50% -10%, rgba(224, 169, 74, .14), transparent 60%);
    mix-blend-mode: screen;
    opacity: .4;
}

.plinko-game-panel h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 8px 0;
}

/* Plinko Board */
.plinko-game-panel .board {
    margin: 10px 0 18px 0;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #0f1013;
    border: 1px solid #181920;
    box-shadow: inset 0 -30px 120px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .02);
    max-width: 800px;
    width: 100%;
}

.plinko-game-panel .board::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px 280px at 50% 0%, rgba(224, 169, 74, .12), transparent 65%), radial-gradient(300px 160px at 48% 20%, rgba(224, 169, 74, .06), transparent 60%);
    opacity: .6;
}

.plinko-game-panel .dropzone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 14px;
    color: #bfbfbf;
    font-size: 12px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
    animation: dz 2.4s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes dz {
    0%, 100% { opacity: .85; transform: translateX(-50%) translateY(0); }
    50% { opacity: .55; transform: translateX(-50%) translateY(1px); }
}

.plinko-game-panel svg {
    width: 100%;
    height: auto;
    display: block;
}

.plinko-game-panel .peg {
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .8));
    fill: url(#goldGrad); 
    stroke: #d09832;
    stroke-width: .75;
}

.plinko-game-panel .pocket {
    fill: #14151b;
    stroke: #262832;
    rx: 10;
}

/* FIX: Improved prize label styling */
.plinko-game-panel .payoutLabel {
    fill: var(--primary-gold);
    font-family: var(--font-heading); /* Oswald font */
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    opacity: 0.8;
}

.plinko-game-panel .slotLabel {
    fill: #bfbfbf;
    font-size: 12px;
}

/* Plinko Controls (from MVP) */
.plinko-actions .btn-primary {
    background: linear-gradient(180deg, #f4d488, var(--primary-gold));
    color: #1a1a1a;
    box-shadow: 0 8px 30px rgba(224, 169, 74, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.plinko-actions .btn-ghost { background:#1a1b21; border-color: #333; color: var(--light-white); }
.plinko-actions .btn:active { transform: translateY(1px) scale(.99); }
.plinko-actions .btn-primary:hover { filter:brightness(1.03); }
.plinko-actions .btn-ghost:hover { border-color:#444; background-color: #222; }

.plinko-game-panel .chips {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.plinko-game-panel .chip {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: #bfbfbf;
    font-size: 12px;
    background: #101117;
}

.plinko-confetti {
    position: fixed;
    width: 6px;
    height: 10px;
    background: var(--primary-gold);
    left: 50%;
    top: 40%;
    opacity: .95;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(224, 169, 74, .6);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .plinko-game-panel .dropzone, .plinko-confetti { animation: none; transition: none }
}
*/

/* =================================================== */
/* ==           SECTION 27: THE SHOWROOM            == */
/* =================================================== */

#the-showroom-section {
    border-top: 5px solid var(--primary-gold);
    border-bottom: 5px solid var(--primary-gold);
    padding: 5rem 0;
    background-color: #0c0c0c;
}

.spline-embed-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.spline-embed-wrapper spline-viewer {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.spline-mobile {
    display: none;
}

@media (max-width: 768px) {
    .spline-desktop {
        display: none;
    }
    .spline-mobile {
        display: block;
    }
}
