/* Modern Mobile Casino Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); color: white; overflow-x: hidden; min-height: 100vh; }


/* Main App Page */
.main-content {padding: 20px;padding-bottom: 100px;}
.app-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(30,42,58,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.1); position: sticky; top: 0px; z-index: 99; }
.header-left { display: flex; align-items: center; gap: 15px; }
.menu-icon { font-size: 20px; cursor: pointer; color: #4ade80; transition: all 0.3s ease; padding: 8px; border-radius: 50%; }
.menu-icon:hover { color: #22c55e; transform: scale(1.1); background: rgba(74,222,128,0.1); }
.logo { font-size: clamp(18px, 4vw, 24px); font-weight: bold; }
.power { color: #4ade80; }
.bet { color: white; }
.header-right { display: flex; align-items: center; gap: 15px; }
.profile-btn { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; font-size: 16px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.profile-btn:hover { background: rgba(74,222,128,0.2); transform: scale(1.1); box-shadow: 0 4px 15px rgba(74,222,128,0.3); }
.settings-icon { font-size: 18px; cursor: pointer; color: #94a3b8; transition: all 0.3s ease; padding: 8px; border-radius: 50%; position: relative; overflow: hidden; }
.settings-icon:hover { color: white; transform: rotate(90deg); background: rgba(255,255,255,0.1); }
.balance { display: flex; align-items: center; gap: 8px; background: rgba(74,222,128,0.1); padding: 8px 12px; border-radius: 20px; border: 1px solid rgba(74,222,128,0.3); font-weight: 600; color: #4ade80; font-size: clamp(12px, 3vw, 16px); cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.balance:hover { background: rgba(74,222,128,0.2); transform: scale(1.05); }
.add-money-btn { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); border: none; width: 35px; height: 35px; border-radius: 50%; color: white; font-size: 16px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(74,222,128,0.4); position: relative; overflow: hidden; }
.add-money-btn:hover { transform: scale(1.1) rotate(90deg); box-shadow: 0 6px 20px rgba(74,222,128,0.6); }

/* Pages */
.page-container { max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); min-height: 100vh; color: white; }
.page-content { padding: 20px; padding-bottom: 120px; }
.page-header { display: flex; align-items: center; padding: 20px; background: rgba(30,42,58,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.page-header-title { font-size: clamp(18px, 4vw, 22px); font-weight: bold; }
.page-back-btn { background: none; border: none; color: #4ade80; font-size: 20px; cursor: pointer; margin-right: 15px; transition: all 0.3s ease; }
.page-back-btn:hover { transform: scale(1.1); }


/* Ripple Effect Base Styles */
.ripple { position: relative; overflow: hidden; }
.ripple::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; pointer-events: none; z-index: 1; }

/* Custom ripple colors for different elements */
.ripple:active::before { width: 300px; height: 300px; }
.ripple-green::before { background: rgba(74,222,128,0.4); }
.ripple-orange::before { background: rgba(251,146,60,0.4); }
.ripple-blue::before { background: rgba(59,130,246,0.4); }
.ripple-red::before { background: rgba(239,68,68,0.4); }


/* Login Banner Styles */
.login-banner { padding: 12px 20px; text-align: center; margin-top: 10px; margin-bottom: 10px; animation: slideDown 0.5s ease-out; border-radius: 15px; }
.login-banner-content { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 0 auto; }
.login-banner-text { font-size: 14px; font-weight: 600; color: white; }
.login-banner-btn { background: rgba(255,255,255,0.2); border: none; color: white; padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.login-banner-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-1px); }


/* Feature Cards */
.feature-card { display: flex; align-items: center; gap: 15px; background: linear-gradient(135deg, rgba(30,42,58,0.8) 0%, rgba(45,74,62,0.8) 100%); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 20px; margin-bottom: 15px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(74,222,128,0.1), transparent); transition: left 0.5s ease; }
.feature-card:hover::after { left: 100%; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(74,222,128,0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.feature-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; box-shadow: 0 4px 15px rgba(74,222,128,0.3); flex-shrink: 0; position: relative; overflow: hidden; }
.feature-content h3 { font-size: clamp(16px, 4vw, 20px); font-weight: 700; margin-bottom: 5px; color: white; }
.feature-content p { font-size: clamp(12px, 3vw, 16px); color: #94a3b8; }


/* Slots Section */
.slots-section { margin-top: 30px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: clamp(16px, 4vw, 20px); font-weight: 700; color: white; }
.section-title i { color: #4ade80; font-size: clamp(18px, 4vw, 22px); }
.view-all-btn { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; padding: 8px 16px; border-radius: 20px; font-size: clamp(10px, 2.5vw, 14px); font-weight: 600; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; position: relative; overflow: hidden; }
.view-all-btn:hover { background: rgba(74,222,128,0.2); transform: scale(1.05); }


/* Games Grid */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; max-width: 100%; }
.game-card { background: linear-gradient(135deg, rgba(30,42,58,0.9) 0%, rgba(45,74,62,0.9) 100%); border-radius: 20px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.game-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent, rgba(74,222,128,0.1), transparent); animation: rotate 4s linear infinite; opacity: 0; transition: opacity 0.3s ease; }
.game-card:hover::after { opacity: 1; }
.game-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 15px 40px rgba(0,0,0,0.4); border-color: rgba(74,222,128,0.5); }
.game-image { width: clamp(60px, 15vw, 80px); height: clamp(60px, 15vw, 80px); margin: 0 auto 15px; border-radius: 15px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.game-character { width: clamp(45px, 12vw, 60px); height: clamp(45px, 12vw, 60px); border-radius: 10px; position: relative; overflow: hidden; }
.viking { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.santa { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.pug { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.frog { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.game-character::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; background: rgba(255,255,255,0.3); border-radius: 50%; }
.game-title { display: flex; flex-direction: column; font-size: clamp(12px, 3vw, 16px); font-weight: 700; color: white; position: relative; z-index: 1; }
.game-title span:first-child { color: #4ade80; }
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


/* Bottom Navigation */
.bottom-nav { position: fixed; bottom: 0; left: 50%; gap:5px; transform: translateX(-50%); width: 100%; max-width: 700px; background: rgba(30,42,58,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-around; padding: 15px 20px; z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; transition: all 0.3s ease; color: #94a3b8; font-size: clamp(10px, 2.5vw, 14px); font-weight: 600; position: relative; flex: 1; text-align: center; padding: 8px; border-radius: 15px; overflow: hidden; }
.nav-item:hover { color: #4ade80; transform: translateY(-2px); background: rgba(74,222,128,0.1); }
.nav-item.active { color: #4ade80; background: rgba(74,222,128,0.1); }
.nav-item i { font-size: clamp(16px, 4vw, 22px); transition: all 0.3s ease; }
.nav-home-btn { width: 40px; height: 40px; background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 15px rgba(74,222,128,0.4); position: relative; overflow: hidden; }
.nav-item.active .nav-home-btn { transform: scale(1.1); }

/* Report Section */
.card { background: rgba(30,42,58,0.8);  margin-top: 20px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.user-report-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; }
.report-controls { display: flex; align-items: center; gap: 10px; }
.report-controls input { background: rgba(30,42,58,0.8); font-weight: 600; border: 1px solid rgba(255,255,255,0.1); color: white; padding: 10px 12px; border-radius: 12px; font-size: clamp(12px, 3vw, 14px); min-width: 220px; }
.report-controls input:focus { outline: none; border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1); }
.btn-primary { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); color: white; border: none; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: clamp(12px, 3vw, 14px); cursor: pointer; transition: all 0.3s ease; box-shadow: 0 6px 18px rgba(74,222,128,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74,222,128,0.4); }
.report-table { display: grid; gap: 10px; }
.report-row { font-weight: 500; display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1.4fr; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(30,42,58,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; transition: all 0.25s ease; }
.report-row:hover { border-color: rgba(74,222,128,0.35); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.report-head { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.35); color: #4ade80; font-weight: 700; }
.report-row > div { font-size: clamp(12px, 3vw, 14px); color: white; }
.report-head > div { color: #4ade80; }
@media (max-width: 720px) {
    .report-row { grid-template-columns: 1fr 1fr; row-gap: 8px; } 
    .report-head { display: none; } 
    .report-row > div:nth-child(1)::before { content: "Account ID"; color: #94a3b8; display: block; font-size: 11px; margin-bottom: 4px; } 
    .report-row > div:nth-child(2)::before { content: "Full Name"; color: #94a3b8; display: block; font-size: 11px; margin-bottom: 4px; } 
    .report-row > div:nth-child(3)::before { content: "Credit"; color: #94a3b8; display: block; font-size: 11px; margin-bottom: 4px; } 
    .report-row > div:nth-child(4)::before { content: "Date Login"; color: #94a3b8; display: block; font-size: 11px; margin-bottom: 4px; }
    .report-controls { width: 100%; } .report-controls input { flex: 1; min-width: 0; } 
    
}
.ripple { position: relative; overflow: hidden; }
 
.action-btns { display: flex; gap: 8px; }
.btn-approve { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); border: none; color: white; padding: 10px 16px; border-radius: 12px; font-size: clamp(12px, 3vw, 14px); font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(74,222,128,0.4); }
.btn-approve:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(74,222,128,0.5); }
.btn-reject { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); border: none; color: white; padding: 10px 16px; border-radius: 12px; font-size: clamp(12px, 3vw, 14px); font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(239,68,68,0.4); }
.btn-reject:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(239,68,68,0.5); }
 

.report-tabs { display: flex; gap: 10px; margin-bottom: 15px; }
.tab-btn { flex: 1; background: rgba(30,42,58,0.8); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 10px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tab-btn.active { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.4); color: #4ade80; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.history-table { display: grid; gap: 10px; }
.history-row { display: grid; font-weight: 500; grid-template-columns: 1fr 1.5fr 1.2fr 1fr 1fr; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(30,42,58,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;  transition: all 0.25s ease; }
.history-row:hover { border-color: rgba(74,222,128,0.35); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.history-head { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.35); color: #4ade80; font-weight: 700; }
.history-row > div { font-size: clamp(12px, 3vw, 14px); color: white; }
.status.approved { color: #4ade80; font-weight: 700; }
.status.rejected { color: #ef4444; font-weight: 700; }
/* @media (max-width: 720px) { .history-row { grid-template-columns: 1fr; } .history-head { display: none; } .history-row > div { padding: 4px 0; } .history-row > div:nth-child(1)::before { content: "Account ID"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; } .history-row > div:nth-child(2)::before { content: "Account Name"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; } .history-row > div:nth-child(3)::before { content: "Request Type"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; } .history-row > div:nth-child(4)::before { content: "Amount"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; } .history-row > div:nth-child(5)::before { content: "Status"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; } } */

@media (max-width: 720px) { 
  .history-row { grid-template-columns: 1fr 1fr; row-gap: 8px; } 
  .history-head { display: none; } 
  /* Wrap first four details into two columns */
  .history-row > div:nth-child(-n+4) { display: grid; grid-template-columns: 1fr 1fr; }
  .history-row > div:nth-child(1)::before { content: "Account ID"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; }
  .history-row > div:nth-child(2)::before { content: "Account Name"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; }
  .history-row > div:nth-child(3)::before { content: "Request Type"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; }
  .history-row > div:nth-child(4)::before { content: "Amount"; color: #94a3b8; font-size: 11px; display: block; margin-bottom: 2px; }
  /* Buttons full width, centered */
  .action-btns { justify-content: center; margin-top: 10px; gap: 10px; }
  .action-btns button { flex: 1; max-width: 140px; }
}

/* Menu Item Ripple Effects */
.menu-item-ripple { position: relative; overflow: hidden; transition: all 0.3s ease; }
.menu-item-ripple:hover { background: rgba(74,222,128,0.1); transform: translateX(5px); }

/* Ripple Animation Keyframes */
.ripple-animation { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3); animation: ripple-effect 0.6s linear; pointer-events: none; z-index: 10; }
@keyframes ripple-effect { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(4); opacity: 0; } }


/* Responsive Design */
@media (max-width: 600px) {
    .main-container { max-width: 100%; }
    .page-content { padding: 15px; padding-bottom: 120px; }
    .app-header { padding: 12px 15px; }
    .main-content { padding: 15px; margin-bottom: 100px; }
    .games-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
    .game-card { padding: 15px; }
    .feature-card { padding: 15px; gap: 12px; }
    .feature-icon { width: 45px; height: 45px; font-size: 20px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .view-all-btn { align-self: flex-end; }
}

@media (max-width: 480px) {
    .page-content { padding: 15px; padding-bottom: 120px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .app-header { padding: 8px 15px; }
    .header-right { gap: 10px; }
    .balance { padding: 6px 10px; gap: 6px; }
    .add-money-btn, .profile-btn { width: 32px; height: 32px; font-size: 14px; }
    .bottom-nav { padding: 12px 15px; }
    .nav-item { gap: 3px; padding: 6px; }
    .nav-home-btn { width: 35px; height: 35px; }
}

@media (max-width: 375px) {
    .main-content { padding: 12px; }
    .feature-card { padding: 12px; gap: 10px; }
    .feature-icon { width: 40px; height: 40px; font-size: 18px; }
    .games-grid { gap: 10px; }
    .game-card { padding: 12px; }
}

/* Loading Animation */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.loading { animation: pulse 2s infinite; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }


/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .page-header { padding: 15px; }
    .main-content { padding: 10px 15px 80px; }
    .feature-card { padding: 12px; margin-bottom: 10px; }
    .slots-section { margin-top: 15px; }
    .bottom-nav { padding: 8px 15px; }

}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .game-character::before {
        width: 25px;
        height: 25px;
    }
}