:root {
--bg-primary: #0a0e1a;
--bg-secondary: #111827;
--bg-card: #1e293b;
--bg-card-hover: #334155;
--accent: #3b82f6;
--accent-light: #60a5fa;
--accent-dark: #1d4ed8;
--accent-glow: rgba(59, 130, 246, 0.5);
--gold: #fbbf24;
--gold-light: #fcd34d;
--neon-cyan: #06b6d4;
--neon-blue: #3b82f6;
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--border: #334155;
--border-light: #475569;
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
--gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
--gradient-secondary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
--gradient-hero: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(10, 14, 26, 1) 100%);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
--shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
overflow-x: hidden;
line-height: 1.6;
}

.font-display {
font-family: 'Bebas Neue', sans-serif;
letter-spacing: 1px;
}

/* ==================== BACKGROUND ==================== */
.bg-with-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://png.pngtree.com/thumb_back/fh260/background/20230706/pngtree-d-rendering-of-golden-background-with-money-sign-and-investment-theme-image_3814273.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
z-index: -2;
}

.bg-with-overlay::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--gradient-hero);
z-index: -1;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
position: relative;
width: 100%;
min-height: 60vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
margin-bottom: 2rem;
}

.hero-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, 
rgba(15, 23, 42, 0.7) 0%, 
rgba(15, 23, 42, 0.85) 50%, 
rgba(10, 14, 26, 0.95) 100%);
z-index: 0;
}

.hero-content {
position: relative;
z-index: 1;
text-align: center;
padding: 4rem 2rem;
max-width: 900px;
}

.hero-title {
font-family: 'Bebas Neue', sans-serif;
font-size: clamp(2.5rem, 6vw, 5rem);
font-weight: 700;
color: var(--text-primary);
text-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
margin-bottom: 1rem;
letter-spacing: 2px;
animation: heroTitleFade 1s ease forwards;
}

.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.25rem);
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto 2rem;
line-height: 1.8;
animation: heroSubtitleFade 1s ease 0.3s forwards;
opacity: 0;
}

.hero-cta {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
animation: heroCTAFade 1s ease 0.6s forwards;
opacity: 0;
}

@keyframes heroTitleFade {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubtitleFade {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCTAFade {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

/* ==================== HEADER ==================== */
.header {
background: rgba(15, 23, 42, 0.95);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
transition: all var(--transition-normal);
}

.header.scrolled {
background: rgba(15, 23, 42, 0.98);
box-shadow: var(--shadow-lg);
}

.header .max-w-7xl {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
}

.logo {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
transition: all var(--transition-normal);
}

.logo:hover {
transform: scale(1.05);
box-shadow: 0 6px 30px var(--accent-glow);
}

.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}

.logo-text {
font-family: 'Bebas Neue', sans-serif;
font-size: 28px;
color: white;
font-weight: 700;
}

.brand-text {
font-family: 'Bebas Neue', sans-serif;
font-size: 1.5rem;
color: var(--text-primary);
letter-spacing: 1px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
position: sticky;
top: 73px;
z-index: 99;
}

.navbar .max-w-7xl {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
overflow-x: auto;
scrollbar-width: thin;
scrollbar-color: var(--accent) var(--bg-secondary);
}

.navbar .max-w-7xl::-webkit-scrollbar {
height: 6px;
}

.navbar .max-w-7xl::-webkit-scrollbar-track {
background: var(--bg-secondary);
border-radius: 3px;
}

.navbar .max-w-7xl::-webkit-scrollbar-thumb {
background: var(--accent);
border-radius: 3px;
}

.nav-link {
color: var(--text-secondary);
text-decoration: none;
padding: 0.75rem 1.25rem;
border-radius: var(--radius-md);
transition: all var(--transition-fast);
white-space: nowrap;
font-weight: 500;
font-size: 0.95rem;
position: relative;
}

.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: var(--accent);
transition: all var(--transition-fast);
transform: translateX(-50%);
}

.nav-link:hover {
color: var(--text-primary);
background: rgba(59, 130, 246, 0.1);
}

.nav-link:hover::after {
width: 80%;
}

.nav-link.active {
color: var(--accent-light);
background: rgba(59, 130, 246, 0.15);
}

.nav-link.active::after {
width: 80%;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
background: var(--gradient-primary);
color: white;
padding: 0.75rem 1.75rem;
border-radius: var(--radius-md);
font-weight: 600;
transition: all var(--transition-normal);
border: none;
cursor: pointer;
box-shadow: 0 4px 15px var(--accent-glow);
font-size: 0.95rem;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-primary:disabled {
background: var(--bg-card);
color: var(--text-muted);
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.btn-secondary {
background: transparent;
color: var(--text-primary);
padding: 0.75rem 1.75rem;
border-radius: var(--radius-md);
font-weight: 600;
transition: all var(--transition-normal);
border: 1px solid var(--border);
cursor: pointer;
font-size: 0.95rem;
}

.btn-secondary:hover {
background: rgba(59, 130, 246, 0.1);
border-color: var(--accent);
}

.btn-outline {
background: transparent;
color: var(--text-primary);
padding: 0.75rem 1.75rem;
border-radius: var(--radius-md);
font-weight: 600;
transition: all var(--transition-normal);
border: 1px solid var(--border-light);
cursor: pointer;
font-size: 0.95rem;
}

.btn-outline:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--text-secondary);
}

.control-btn {
padding: 1rem 2.5rem;
border-radius: var(--radius-lg);
font-weight: 700;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1.5px;
transition: all var(--transition-normal);
border: none;
cursor: pointer;
min-width: 140px;
}

.control-btn.start {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.control-btn.start:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.control-btn.stop {
background: var(--gradient-primary);
color: white;
box-shadow: 0 4px 15px var(--accent-glow);
}

.control-btn.stop:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 25px var(--accent-glow);
}

.control-btn:disabled {
background: var(--bg-card);
color: var(--text-muted);
cursor: not-allowed;
opacity: 0.6;
transform: none;
box-shadow: none;
}

/* ==================== CARDS ==================== */
.card {
background: var(--gradient-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-xl);
overflow: hidden;
transition: all var(--transition-normal);
}

.card:hover {
border-color: var(--border-light);
box-shadow: var(--shadow-lg);
}

.card p-6 {
padding: 1.5rem;
}

/* ==================== LOGIN PROMPT ==================== */
.login-prompt {
background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
border-left: 4px solid var(--accent);
padding: 1.25rem 1.5rem;
margin-bottom: 1.5rem;
border-radius: var(--radius-lg);
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

.login-prompt-text {
color: var(--accent-light);
font-weight: 600;
font-size: 0.95rem;
}

.login-prompt-btn {
background: var(--gradient-primary);
color: white;
border: none;
padding: 0.625rem 1.5rem;
border-radius: var(--radius-md);
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
font-size: 0.9rem;
}

.login-prompt-btn:hover {
transform: scale(1.05);
box-shadow: 0 4px 20px var(--accent-glow);
}

/* ==================== USER INFO ==================== */
.info-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
border-bottom: 1px solid var(--border);
}

.info-row:last-child {
border-bottom: none;
}

.info-label {
color: var(--text-secondary);
font-size: 0.9rem;
font-weight: 500;
}

.info-value {
font-weight: 600;
color: var(--text-primary);
font-size: 0.95rem;
}

.badge {
display: inline-flex;
align-items: center;
padding: 0.375rem 0.875rem;
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 600;
}

.badge-success {
background: rgba(16, 185, 129, 0.15);
color: #10b981;
}

.badge-warning {
background: rgba(245, 158, 11, 0.15);
color: #f59e0b;
}

.badge-error {
background: rgba(239, 68, 68, 0.15);
color: #ef4444;
}

.badge-info {
background: rgba(59, 130, 246, 0.15);
color: #3b82f6;
}

/* ==================== coin VISUAL ==================== */
.coin-visual {
display: flex;
align-items: center;
gap: 0.5rem;
justify-content: center;
flex-wrap: wrap;
}

.coin-item {
width: 32px;
height: 32px;
transition: all var(--transition-normal);
}

.coin-item.collected {
filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
transform: scale(1.1);
}

.coin-item.uncollected {
opacity: 0.3;
filter: grayscale(100%);
}

/* ==================== CHANCES DISPLAY ==================== */
.chances-display {
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: var(--radius-lg);
padding: 1.25rem 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
}

.chances-count {
font-family: 'Bebas Neue', sans-serif;
font-size: 3.5rem;
color: var(--accent-light);
line-height: 1;
}

.chances-label {
font-size: 0.875rem;
color: var(--text-secondary);
}

.chances-label strong {
color: var(--accent-light);
display: block;
font-size: 1rem;
}

/* ==================== MYSTERY BOX GRID ==================== */
.mystery-box-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.25rem;
perspective: 1000px;
}

@media (max-width: 768px) {
.mystery-box-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
}

@media (max-width: 480px) {
.mystery-box-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
}
}

/* ==================== MYSTERY BOX CARD ==================== */
.mystery-box {
aspect-ratio: 2.5/3.5;
position: relative;
cursor: pointer;
transform-style: preserve-3d;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mystery-box.flipped {
transform: rotateY(180deg);
}

.mystery-box.disabled {
pointer-events: none;
opacity: 0.5;
}

.mystery-box.selected {
transform: rotateY(180deg) scale(1.08);
z-index: 20;
box-shadow: 0 0 40px var(--accent-glow);
}

.mystery-box.shuffle-active {
animation: shufflePulse 0.4s ease-in-out;
z-index: 10;
}

@keyframes shufflePulse {
0% {
transform: scale(1);
z-index: 1;
}
50% {
transform: scale(1.15);
z-index: 10;
box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}
100% {
transform: scale(1);
z-index: 1;
}
}

.box-face {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border: 2px solid var(--border);
}

.box-front {
background: #0f172a;
flex-direction: column;
}

.box-cover-img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.8;
}

.box-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
display: flex;
align-items: center;
justify-content: center;
}

.box-question-mark {
font-family: 'Bebas Neue', sans-serif;
font-size: 72px;
color: white;
text-shadow: 0 0 30px var(--neon-blue);
}

.box-back {
background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
transform: rotateY(180deg);
border-color: var(--accent);
padding: 0.75rem;
}

.prize-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.5rem;
background: rgba(0, 0, 0, 0.4);
padding: 0.75rem;
border-radius: var(--radius-md);
width: 100%;
height: 100%;
}

.prize-img-small {
width: 80px;
height: 80px;
object-fit: contain;
border-radius: var(--radius-md);
}

.prize-name-small {
font-weight: 700;
font-size: 0.9rem;
text-align: center;
color: white;
line-height: 1.3;
}

.prize-value-small {
font-size: 0.75rem;
color: var(--gold-light);
text-align: center;
font-weight: 600;
}

/* ==================== MODALS ==================== */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.92);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: all var(--transition-normal);
padding: 1.5rem;
backdrop-filter: blur(10px);
}

.modal-overlay.active {
opacity: 1;
visibility: visible;
}

.modal-content {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-xl);
padding: 2.5rem;
max-width: 450px;
width: 100%;
text-align: center;
transform: scale(0.9) translateY(20px);
transition: all var(--transition-normal);
box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
transform: scale(1) translateY(0);
}

.modal-content.kalah {
border-top: 4px solid var(--text-muted);
}

.modal-content.kalah .modal-icon {
font-size: 64px;
color: var(--text-muted);
margin-bottom: 1rem;
}

.modal-content.kalah h3 {
color: var(--text-secondary);
}

.modal-content.kalah .btn-gray {
background: var(--bg-card-hover);
color: white;
}

.modal-content.kalah .btn-gray:hover {
background: var(--border);
}

/* ==================== LOGIN MODAL ==================== */
.login-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.92);
z-index: 2000;
align-items: center;
justify-content: center;
backdrop-filter: blur(10px);
}

.login-modal.active {
display: flex;
}

.login-modal-content {
background: var(--bg-card);
border: 1px solid var(--accent);
border-radius: var(--radius-xl);
padding: 2.5rem;
max-width: 420px;
width: 90%;
box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.login-header {
text-align: center;
margin-bottom: 1.5rem;
}

.login-header h2 {
font-family: 'Bebas Neue', sans-serif;
font-size: 2rem;
color: var(--accent-light);
margin-bottom: 0.5rem;
letter-spacing: 1px;
}

.login-header p {
color: var(--text-secondary);
font-size: 0.875rem;
}

.login-input {
width: 100%;
padding: 0.875rem 1.25rem;
background: rgba(0, 0, 0, 0.4);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: white;
margin-bottom: 1rem;
transition: all var(--transition-fast);
font-size: 0.95rem;
}

.login-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.login-input::placeholder {
color: var(--text-muted);
}

.login-btn {
width: 100%;
padding: 0.875rem;
background: var(--gradient-primary);
color: white;
border: none;
border-radius: var(--radius-md);
font-weight: 700;
cursor: pointer;
transition: all var(--transition-normal);
font-size: 1rem;
}

.login-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px var(--accent-glow);
}

.login-info {
text-align: center;
margin-top: 1rem;
color: var(--text-muted);
font-size: 0.8rem;
}

.logout-btn {
background: transparent;
border: 1px solid var(--accent);
color: var(--accent-light);
padding: 0.5rem 1.25rem;
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--transition-fast);
font-size: 0.875rem;
font-weight: 600;
}

.logout-btn:hover {
background: var(--accent);
color: white;
}

/* ==================== DEPOSIT MODAL ==================== */
#depositModal .modal-content {
border-top: 4px solid var(--warning);
}

#depositModal .text-6xl {
font-size: 4rem;
}

/* ==================== CONFETTI ==================== */
.confetti-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1001;
overflow: hidden;
}

.confetti {
position: absolute;
width: 10px;
height: 10px;
opacity: 0;
}

@keyframes confettiFall {
0% {
transform: translateY(-100%) rotate(0deg);
opacity: 1;
}
100% {
transform: translateY(100vh) rotate(720deg);
opacity: 0;
}
}

/* ==================== FLOATING BUTTON ==================== */
.floating_btn {
position: fixed;
bottom: 30px;
right: 30px;
width: 100px;
height: 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 1000;
}

.contact_icon {
background: var(--gradient-primary);
color: #fff;
width: 64px;
height: 64px;
font-size: 28px;
border-radius: 50%;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 20px var(--accent-glow);
animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
font-weight: normal;
font-family: sans-serif;
text-decoration: none !important;
transition: all 300ms ease-in-out;
}

.contact_icon:hover {
transform: scale(1.1);
box-shadow: 0 6px 30px var(--accent-glow);
}

@keyframes pulsing {
to {
box-shadow: 0 0 0 30px rgba(59, 130, 246, 0);
}
}

.text_icon {
margin-top: 8px;
color: var(--text-secondary);
font-size: 0.8rem;
text-align: center;
font-weight: 500;
}

/* ==================== MAIN CONTENT ==================== */
main {
padding: 2rem 1.5rem;
}

main .max-w-7xl {
max-width: 1400px;
margin: 0 auto;
}

/* ==================== SECTION BANNER ==================== */
.section-banner {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.5) 100%);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: var(--radius-xl);
padding: 2rem;
margin-bottom: 2rem;
}

.section-banner h1 {
font-family: 'Bebas Neue', sans-serif;
font-size: clamp(2rem, 4vw, 3rem);
letter-spacing: 1px;
margin-bottom: 0.5rem;
}

.section-banner p {
color: var(--text-secondary);
font-size: 1rem;
}

/* ==================== GAME STATUS ==================== */
.game-status {
color: var(--text-secondary);
font-size: 0.875rem;
margin-top: 0.25rem;
}

.game-status-info {
background: rgba(0, 0, 0, 0.3);
border-radius: var(--radius-md);
padding: 1rem 1.25rem;
margin-top: 1.5rem;
font-size: 0.875rem;
color: var(--text-secondary);
}

.game-status-info strong {
color: var(--gold);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
text-align: center;
padding: 3rem 1.5rem;
color: var(--text-secondary);
}

.empty-state p:first-child {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-primary);
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
height: 8px;
background: var(--bg-secondary);
border-radius: 4px;
overflow: hidden;
}

.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--gold), var(--gold-light));
transition: width 0.5s ease;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
animation: fadeIn 0.6s ease forwards;
opacity: 0;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(25px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* ==================== FOOTER ==================== */
footer {
text-align: center;
padding: 2rem 1.5rem;
color: var(--text-muted);
font-size: 0.875rem;
margin-top: 3rem;
border-top: 1px solid var(--border);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
.hero-section {
min-height: 50vh;
}

.hero-content {
padding: 3rem 1.5rem;
}
}

@media (max-width: 768px) {
.header .max-w-7xl {
padding: 0.75rem 1rem;
}

.navbar .max-w-7xl {
padding: 0.5rem 1rem;
top: 65px;
}

.hero-section {
min-height: 45vh;
}

.hero-content {
padding: 2rem 1rem;
}

.login-prompt {
flex-direction: column;
align-items: flex-start;
}

.login-prompt-btn {
width: 100%;
}

.mystery-box-grid {
gap: 1rem;
}

.modal-content {
padding: 2rem 1.5rem;
}

.card {
padding: 1.25rem;
}
}

@media (max-width: 480px) {
.hero-title {
font-size: 2.5rem;
}

.hero-subtitle {
font-size: 0.9rem;
}

.control-btn {
padding: 0.875rem 1.5rem;
font-size: 0.875rem;
min-width: 120px;
}

.chances-count {
font-size: 2.5rem;
}

.floating_btn {
bottom: 20px;
right: 20px;
}

.contact_icon {
width: 56px;
height: 56px;
font-size: 24px;
}
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}

::-webkit-scrollbar-track {
background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
background: var(--border-light);
border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
background: var(--accent);
}

/* ==================== SELECTION ==================== */
::selection {
background: var(--accent);
color: white;
}

/* ==================== LINKS ==================== */
a {
text-decoration: none;
color: inherit;
}

/* ==================== UTILITY CLASSES ==================== */
.text-gradient {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.shadow-glow {
box-shadow: var(--shadow-glow);
}

.border-accent {
border-color: var(--accent);
}