@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86.6px solid rgba(255, 255, 255, 0.05);
    animation: moveTriangle 20s linear infinite;
}

.triangle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.triangle:nth-child(2) { top: 20%; left: 30%; animation-delay: -2s; }
.triangle:nth-child(3) { top: 30%; left: 50%; animation-delay: -4s; }
.triangle:nth-child(4) { top: 40%; left: 70%; animation-delay: -6s; }
.triangle:nth-child(5) { top: 50%; left: 90%; animation-delay: -8s; }
.triangle:nth-child(6) { top: 60%; left: 20%; animation-delay: -10s; }
.triangle:nth-child(7) { top: 70%; left: 40%; animation-delay: -12s; }
.triangle:nth-child(8) { top: 80%; left: 60%; animation-delay: -14s; }
.triangle:nth-child(9) { top: 90%; left: 80%; animation-delay: -16s; }
.triangle:nth-child(10) { top: 100%; left: 100%; animation-delay: -18s; }

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: moveDot 15s linear infinite;
}

.dot:nth-child(11) { top: 15%; left: 15%; animation-delay: 0s; }
.dot:nth-child(12) { top: 25%; left: 35%; animation-delay: -1s; }
.dot:nth-child(13) { top: 35%; left: 55%; animation-delay: -2s; }
.dot:nth-child(14) { top: 45%; left: 75%; animation-delay: -3s; }
.dot:nth-child(15) { top: 55%; left: 95%; animation-delay: -4s; }
.dot:nth-child(16) { top: 65%; left: 25%; animation-delay: -5s; }
.dot:nth-child(17) { top: 75%; left: 45%; animation-delay: -6s; }
.dot:nth-child(18) { top: 85%; left: 65%; animation-delay: -7s; }
.dot:nth-child(19) { top: 95%; left: 85%; animation-delay: -8s; }
.dot:nth-child(20) { top: 5%; left: 5%; animation-delay: -9s; }
.dot:nth-child(21) { top: 15%; left: 25%; animation-delay: -10s; }
.dot:nth-child(22) { top: 25%; left: 45%; animation-delay: -11s; }
.dot:nth-child(23) { top: 35%; left: 65%; animation-delay: -12s; }
.dot:nth-child(24) { top: 45%; left: 85%; animation-delay: -13s; }
.dot:nth-child(25) { top: 55%; left: 15%; animation-delay: -14s; }
.dot:nth-child(26) { top: 65%; left: 35%; animation-delay: -15s; }
.dot:nth-child(27) { top: 75%; left: 55%; animation-delay: -16s; }
.dot:nth-child(28) { top: 85%; left: 75%; animation-delay: -17s; }

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.container.centered {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-crown {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.crown-base {
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border-radius: 10px;
    animation: crownGlow 2s ease-in-out infinite;
}

.crown-spike {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #ff0055;
    animation: spikeGlow 2s ease-in-out infinite;
}

.crown-spike:nth-child(2) { left: 15px; animation-delay: 0.2s; }
.crown-spike:nth-child(3) { left: 30px; animation-delay: 0.4s; }
.crown-spike:nth-child(4) { left: 45px; animation-delay: 0.6s; }
.crown-spike:nth-child(5) { left: 60px; animation-delay: 0.8s; }

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.king {
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

.number {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberGlow 2s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,0,85,0.2) 0%, rgba(0,255,136,0.2) 50%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

.form-container {
    background: rgba(255, 255, 255, 0.13) !important;
    backdrop-filter: blur(18px) !important;
    padding: 38px 32px 32px 32px !important;
    border-radius: 28px !important;
    width: 100% !important;
    max-width: 370px !important;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18) !important;
    margin-top: 32px !important;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px !important;
}

.tab-btn {
    flex: 1;
    padding: 12px 0 !important;
    border: none;
    background: rgba(255, 255, 255, 0.13) !important;
    color: #fff !important;
    border-radius: 12px !important;
    cursor: pointer;
    font-size: 1.08em !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(.4,2,.3,1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.tab-btn.active {
    background: linear-gradient(90deg, #ff0055 0%, #00ff88 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0,255,136,0.12) !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.input-group {
    position: relative;
    margin-bottom: 22px !important;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0.7;
    font-size: 1.1em;
}

.input-group input {
    width: 100%;
    padding: 13px 44px !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border: none;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1.08em !important;
    font-weight: 400 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    outline: none;
    transition: background 0.2s !important;
}

.input-group input:focus {
    background: rgba(255,255,255,0.18) !important;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
}

.terms {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.98em !important;
}

.submit-btn {
    width: 100%;
    padding: 13px !important;
    background: linear-gradient(90deg, #ff0055 0%, #00ff88 100%) !important;
    border: none;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1.13em !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,255,136,0.10) !important;
    transition: all 0.3s cubic-bezier(.4,2,.3,1) !important;
    margin-top: 8px !important;
}

.submit-btn:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 32px rgba(0,255,136,0.18) !important;
    background: linear-gradient(90deg, #00ff88 0%, #ff0055 100%) !important;
}

.customer-care {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.customer-care i {
    font-size: 1.5em;
    color: #fff;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.1em;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.balance i {
    font-size: 1.2em;
    color: #00ff88;
}

.balance:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.profile {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.profile span {
    color: #fff;
    font-size: 1.1em;
}

.profile i.fa-chevron-down {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.profile:hover i.fa-chevron-down {
    transform: translateY(2px);
}

.games-container {
    width: 100%;
    max-width: 600px;
    margin: 60px auto 0 auto;
    padding: 0 0 20px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-icon {
    width: 72px;
    height: 72px;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.game-icon.mines {
    background: linear-gradient(45deg, #ff0055, #ff3366);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.game-icon.limbo {
    background: linear-gradient(45deg, #00ff88, #33ff99);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.game-icon.plinko {
    background: linear-gradient(45deg, #ff0055, #00ff88);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.game-icon.dice {
    background: linear-gradient(45deg, #00ff88, #ff0055);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.game-icon.balloon {
    background: linear-gradient(45deg, #ff0055, #ff3366);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.game-icon.aviator {
    background: linear-gradient(45deg, #00ff88, #ff0055);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.game-card.coming-soon .game-icon {
    background: linear-gradient(135deg, #808080, #404040);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-card.coming-soon .game-icon i {
    font-size: 2.5rem;
    color: white;
    animation: lockPulse 2s infinite;
    margin-bottom: 5px;
}

.game-card.coming-soon .stay-tuned {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: white;
    opacity: 0.8;
    animation: fadeInOut 2s infinite;
    transform: none;
}

.game-card span {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Simple Animation Effects */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-out infinite;
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: glow 2s ease-in-out infinite;
}

.shine-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s ease-in-out infinite;
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    background: rgba(30, 30, 30, 0.45);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    backdrop-filter: blur(18px);
    z-index: 1000;
    padding: 10px 18px;
}

.nav-btn {
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.13);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,2,.3,1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    outline: none;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0;
}

.nav-btn i {
    font-size: 1.5em;
    margin-bottom: 2px;
}

.nav-btn span {
    font-size: 0.95em;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}

.nav-btn:before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(0,255,136,0.08), rgba(255,0,85,0.08));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.nav-btn:hover:before, .nav-btn:focus:before {
    opacity: 1;
}

.nav-btn:hover i, .nav-btn:focus i {
    color: #00ff88;
    transform: scale(1.18) rotate(-8deg);
}

.big-game-btn {
    min-width: 120px;
    width: 130px;
    font-size: 1.15em;
    padding: 14px 24px;
    background: linear-gradient(120deg, #ff0055 0%, #00ff88 100%);
    box-shadow: 0 0 32px 0 rgba(0,255,136,0.18), 0 2px 12px 0 rgba(255,0,85,0.10);
    border-radius: 22px;
    position: relative;
    z-index: 2;
    animation: pulseGlow 2.5s infinite;
}

.big-game-btn:before {
    background: linear-gradient(120deg, rgba(255,0,85,0.18), rgba(0,255,136,0.18));
    opacity: 0.5;
}

.big-game-btn i {
    font-size: 1.7em;
    animation: bounceIcon 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 32px 0 rgba(0,255,136,0.18), 0 2px 12px 0 rgba(255,0,85,0.10); }
    50% { box-shadow: 0 0 48px 8px rgba(0,255,136,0.28), 0 4px 18px 0 rgba(255,0,85,0.18); }
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-4px); }
    40% { transform: translateY(0); }
    60% { transform: translateY(-2px); }
    80% { transform: translateY(0); }
}

@keyframes moveTriangle {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

@keyframes moveDot {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes crownGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    }
}

@keyframes spikeGlow {
    0%, 100% {
        border-bottom-color: #ff0055;
    }
    50% {
        border-bottom-color: #00ff88;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

@keyframes numberGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Plinko Game Icon Styles */
.plinko-board {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border-radius: 50%;
    overflow: hidden;
}

.plinko-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.plinko-pin:nth-child(1) { top: 20%; left: 30%; }
.plinko-pin:nth-child(2) { top: 20%; left: 50%; }
.plinko-pin:nth-child(3) { top: 20%; left: 70%; }
.plinko-pin:nth-child(4) { top: 40%; left: 20%; }
.plinko-pin:nth-child(5) { top: 40%; left: 40%; }
.plinko-pin:nth-child(6) { top: 40%; left: 60%; }
.plinko-pin:nth-child(7) { top: 40%; left: 80%; }
.plinko-pin:nth-child(8) { top: 60%; left: 30%; }
.plinko-pin:nth-child(9) { top: 60%; left: 70%; }

.plinko-ball {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    animation: plinkoBallDrop 3s ease-in-out infinite;
}

@keyframes plinkoBallDrop {
    0% {
        top: 10%;
        left: 50%;
    }
    20% {
        top: 30%;
        left: 40%;
    }
    40% {
        top: 50%;
        left: 60%;
    }
    60% {
        top: 70%;
        left: 30%;
    }
    80% {
        top: 90%;
        left: 50%;
    }
    100% {
        top: 10%;
        left: 50%;
    }
}

/* Aviator Game Icon Styles */
.plane-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ff88, #ff0055);
    border-radius: 50%;
    overflow: hidden;
}

.plane {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 20px;
    animation: planeFly 3s ease-in-out infinite;
}

.plane-body {
    position: absolute;
    width: 30px;
    height: 10px;
    background: #fff;
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plane-wing {
    position: absolute;
    width: 15px;
    height: 5px;
    background: #fff;
    top: 50%;
}

.plane-wing.left {
    left: 0;
    transform: rotate(-30deg);
}

.plane-wing.right {
    right: 0;
    transform: rotate(30deg);
}

.plane-tail {
    position: absolute;
    width: 10px;
    height: 5px;
    background: #fff;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: cloudFloat 3s ease-in-out infinite;
}

.cloud1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.cloud2 {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 70%;
    animation-delay: -1s;
}

.cloud3 {
    width: 25px;
    height: 25px;
    top: 40%;
    left: 40%;
    animation-delay: -2s;
}

@keyframes planeFly {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(10deg);
    }
    75% {
        transform: translate(-50%, -50%) rotate(-10deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.4;
    }
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.profile-dropdown.active {
    display: block;
    animation: dropdownFade 0.3s ease;
}

.avatar-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-option {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.avatar-option.active {
    background: linear-gradient(45deg, #ff0055, #00ff88);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

.profile-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.info-item i {
    width: 20px;
    color: #00ff88;
}

.logout-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.game-card[data-game="aviator"] .game-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    position: relative;
    overflow: hidden;
}

.game-card[data-game="aviator"] .game-icon i {
    font-size: 3.5rem;
    color: white;
    transform: rotate(45deg);
    animation: flyPlane 2s infinite ease-in-out;
}

.game-card[data-game="aviator"] .plane-trail {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: trailEffect 2s infinite;
}

@keyframes flyPlane {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-10px);
    }
}

@keyframes trailEffect {
    0% {
        opacity: 0;
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translateX(100%);
    }
}

.game-card[data-game="aviator"]:hover .game-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.game-card[data-game="aviator"]:hover .game-icon i {
    animation: flyPlane 1s infinite ease-in-out;
}

.game-card[data-game="aviator"]:hover .plane-trail {
    animation: trailEffect 1s infinite;
}

.game-card[data-game="plinko"] .game-icon {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    position: relative;
    overflow: hidden;
}

.game-card[data-game="plinko"] .plinko-board {
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
}

.game-card[data-game="plinko"] .plinko-ball {
    width: 12px;
    height: 12px;
    background: #FFD700;
    border-radius: 50%;
    position: relative;
    animation: dropBall 2s infinite;
}

.game-card[data-game="plinko"] .plinko-ball:nth-child(2) {
    animation-delay: 0.3s;
}

.game-card[data-game="plinko"] .plinko-ball:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dropBall {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

.game-card[data-game="balloon"] .game-icon {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    position: relative;
    overflow: hidden;
}

.game-card[data-game="balloon"] .balloon-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-card[data-game="balloon"] .balloon {
    position: relative;
    width: 40px;
    height: 50px;
}

.game-card[data-game="balloon"] .balloon-body {
    width: 100%;
    height: 100%;
    background: #FF69B4;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: floatBalloon 3s infinite ease-in-out;
}

.game-card[data-game="balloon"] .balloon-string {
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 2px;
    height: 15px;
    background: #FF69B4;
    transform-origin: top;
    animation: swingString 3s infinite ease-in-out;
}

.game-card[data-game="balloon"] .balloon-shine {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

@keyframes floatBalloon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes swingString {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.game-card[data-game="plinko"]:hover .game-icon {
    transform: scale(1.1);
}

.game-card.customer-care {
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card.customer-care .game-icon {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    position: relative;
    overflow: hidden;
}

.game-card.customer-care .game-icon i {
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s infinite;
}

.game-card.customer-care .shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.game-card.customer-care:hover {
    transform: translateY(-5px);
}

.game-card.customer-care:hover .game-icon {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.game-card.customer-care:hover .game-icon i {
    animation: pulse 1s infinite;
}

.game-card.customer-care:hover .shine-effect {
    animation: shine 2s infinite;
}

@keyframes lockPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.game-card.coming-soon:hover .game-icon {
    box-shadow: 0 0 30px rgba(128, 128, 128, 0.5);
}

.game-card.coming-soon:hover .game-icon i {
    animation: lockPulse 1s infinite;
}

.game-card.coming-soon:hover .stay-tuned {
    animation: fadeInOut 1s infinite;
}

.game-card[data-game="dice"] .game-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    position: relative;
    overflow: hidden;
}

.game-card[data-game="dice"] .game-icon i {
    font-size: 2.5rem;
    color: white;
    animation: rollDice 2s infinite;
}

@keyframes rollDice {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.game-card[data-game="dice"]:hover .game-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.game-card[data-game="dice"]:hover .game-icon i {
    animation: rollDice 1s infinite;
}

.logout-btn-simple {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    margin-right: 6px;
    transition: color 0.2s, transform 0.2s;
}
.logout-btn-simple:hover {
    color: #ff0055;
    transform: scale(1.15) rotate(-10deg);
}

/* Wingo game specific styles */
.game-card[data-game="wingo"] .game-icon {
    background: linear-gradient(45deg, #ff0055, #00ff88);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 10px;
}

.game-card[data-game="wingo"] .game-icon i {
    font-size: 16px;
    margin: 1px;
    animation: rollDice 3s ease-in-out infinite;
}

.game-card[data-game="wingo"] .game-icon i:nth-child(1) { animation-delay: 0s; }
.game-card[data-game="wingo"] .game-icon i:nth-child(2) { animation-delay: 0.5s; }
.game-card[data-game="wingo"] .game-icon i:nth-child(3) { animation-delay: 1s; }
.game-card[data-game="wingo"] .game-icon i:nth-child(4) { animation-delay: 1.5s; }

.game-card[data-game="wingo"] .dice-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: glow 2s ease-in-out infinite;
}

/* Bank Section Styles */
.bank-container {
    padding: 0 0 20px 0;
    display: block;
    gap: 0;
    animation: fadeInUp 0.5s ease-out;
}

.bank-header {
    text-align: center;
    margin-bottom: 20px;
}

.bank-title {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    animation: titleGlow 2s ease-in-out infinite;
}

.bank-balance-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: balanceFloat 3s ease-in-out infinite;
}

.balance-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    animation: iconPulse 2s ease-in-out infinite;
}

.balance-info {
    flex: 1;
    text-align: left;
}

.balance-label {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.balance-amount {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.balance-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 85, 0.1), transparent 50%);
    animation: glowMove 4s ease-in-out infinite;
}

.bank-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.bank-btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
}

.bank-btn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.deposit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-color: #00ff88;
}

.withdraw-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.2), rgba(255, 0, 85, 0.1));
    border-color: #ff0055;
}

.btn-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
}

.deposit-btn .btn-icon {
    background: linear-gradient(45deg, #00ff88, #33ff99);
}

.withdraw-btn .btn-icon {
    background: linear-gradient(45deg, #ff0055, #ff3366);
}

.bank-btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
}

.btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.bank-btn:hover .btn-glow {
    left: 100%;
}

.bank-history {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.history-btn {
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
}

.history-btn:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.history-btn .btn-icon {
    background: linear-gradient(45deg, #ff0055, #00ff88);
}

.history-btn:hover .btn-icon {
    transform: scale(1.1);
}

.nav-btn.active {
    background: linear-gradient(45deg, #00ff88, #ff0055);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* Bank Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    }
}

@keyframes balanceFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    }
}

@keyframes glowMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) translateY(0);
    }
    25% {
        opacity: 0.5;
        transform: translateX(20px) translateY(-10px);
    }
    50% {
        opacity: 0.3;
        transform: translateX(0) translateY(-20px);
    }
    75% {
        opacity: 0.5;
        transform: translateX(-20px) translateY(-10px);
    }
}

.big-game-btn {
    min-width: 130px;
    width: 140px;
    font-size: 1.1em;
    padding: 8px 28px;
}

.big-game-btn i {
    font-size: 1.5em;
}

.mines-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
}

.back-btn {
    align-self: flex-start;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.13);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.2em;
    padding: 8px 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
}
.back-btn:hover { background: rgba(0,255,136,0.18); }

.mines-title {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
}

.mines-tile {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.1s;
    user-select: none;
    outline: none;
}
.mines-tile:active { transform: scale(0.96); }

.mines-tile.safe { background: rgba(0,255,136,0.18); color: #00ff88; }
.mines-tile.bomb { background: rgba(255,0,85,0.18); color: #ff0055; }

.mines-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#mines-status {
    font-size: 1.1em;
    color: #fff;
    min-height: 24px;
}

.mines-reset-btn {
    background: linear-gradient(90deg, #ff0055 0%, #00ff88 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.1s;
}
.mines-reset-btn:active { transform: scale(0.97); }

@media (max-width: 500px) {
    .mines-container { max-width: 100vw; padding: 8px 0 0 0; }
    .mines-grid { max-width: 98vw; gap: 6px; }
    .mines-tile { width: 13vw; height: 13vw; min-width: 38px; min-height: 38px; font-size: 1.5em; }
    .mines-title { font-size: 1.3em; }
    .mines-reset-btn { font-size: 1em; padding: 8px 12px; }
}

/* --- Stake-style Mines Game UI --- */
.mines-card {
    background: #232b36;
    border-radius: 18px;
    box-shadow: 0 4px 32px #000a;
    max-width: 370px;
    margin: 32px auto;
    padding: 28px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mines-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.mines-balance {
    color: #bfffbf;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.mines-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.mines-controls input, .mines-controls select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #1a2028;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}
.mines-controls label {
    font-size: 0.95rem;
    color: #b0b8c1;
    margin-bottom: 2px;
}
.mines-multiplier {
    color: #00ff99;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 44px);
    grid-gap: 7px;
    margin: 18px 0 18px 0;
}
.mines-tile {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    border-radius: 8px;
    background: #2e3743;
    border: 2px solid #232b36;
    color: #fff;
    box-shadow: 0 2px 8px #0004;
    transition: background 0.2s, transform 0.1s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
}
.mines-tile:active {
    transform: scale(0.96);
    background: #00ff99;
    color: #222;
}
.mines-tile.revealed.safe {
    background: #1ed760;
    color: #fff;
}
.mines-tile.revealed.bomb {
    background: #ff3b3b;
    color: #fff;
}
.mines-action-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.mines-bet-btn {
    background: linear-gradient(90deg, #00ff99 0%, #00e0ff 100%);
    color: #222;
}
.mines-bet-btn:active {
    background: #00ff99;
}
.mines-cashout-btn {
    background: linear-gradient(90deg, #00ff99 0%, #00e0ff 100%);
    color: #222;
    margin-top: 0;
}
.mines-cashout-btn:active {
    background: #00ff99;
}
.mines-status {
    margin: 10px 0 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 24px;
    color: #fff;
    text-align: center;
}
.back-btn {
    background: #232b36;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    align-self: flex-start;
}
.back-btn:active {
    background: #00ff99;
    color: #222;
}
@media (max-width: 600px) {
    .mines-card { max-width: 98vw; padding: 10vw 2vw; }
    .mines-grid { grid-template-columns: repeat(5, 16vw); grid-gap: 2vw; }
    .mines-tile { width: 16vw; height: 16vw; font-size: 6vw; }
}

/* Maintenance Popup Styles */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.maintenance-popup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.maintenance-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0055, #00ff88, #ff0055);
    animation: shimmer 2s linear infinite;
}

.maintenance-icon {
    font-size: 4em;
    color: #ff0055;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.maintenance-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.maintenance-message {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
}

.maintenance-ok-btn {
    background: linear-gradient(45deg, #ff0055, #00ff88);
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.maintenance-ok-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.maintenance-ok-btn:hover::before {
    left: 100%;
}

.maintenance-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.4);
}

.maintenance-ok-btn:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 480px) {
    .maintenance-popup {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .maintenance-icon {
        font-size: 3em;
    }
    
    .maintenance-title {
        font-size: 1.5em;
    }
    
    .maintenance-message {
        font-size: 1em;
    }
}

/* Mail Bonus Notification Styles */
.mail-bonus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.mail-bonus-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff88;
    animation: mailBonusSlideIn 0.3s ease-out;
}

@keyframes mailBonusSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.mail-bonus-icon {
    font-size: 3em;
    color: #00ff88;
    margin-bottom: 20px;
    animation: mailIconPulse 2s infinite;
}

@keyframes mailIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mail-bonus-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 15px;
}

.mail-bonus-message {
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.5;
}

.mail-bonus-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mail-bonus-claim-btn {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #222;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.mail-bonus-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.mail-bonus-close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mail-bonus-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Customer Care Button Styles */
.customer-care-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0055aa 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

.customer-care-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #0099dd 0%, #0066bb 100%);
}

.customer-care-btn .btn-icon {
    font-size: 1.2em;
    color: #fff;
}

.customer-care-btn .btn-text {
    color: #fff;
    font-weight: bold;
}

.customer-care-btn .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.customer-care-btn:hover .btn-glow {
    opacity: 1;
}

/* Mail Box Button Styles */
.mail-box-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
}

.mail-box-btn {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    border: none;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    animation: mailBoxPulse 2s infinite;
}

@keyframes mailBoxPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.mail-box-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.mail-box-btn i {
    font-size: 1.5em;
    color: #222;
}

.mail-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: mailIndicatorPulse 1s infinite;
}

@keyframes mailIndicatorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Payment Popup Styles */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.payment-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff88;
    animation: paymentSlideIn 0.3s ease-out;
}

@keyframes paymentSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-header {
    background: #0f3460;
    padding: 20px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #00ff88;
}

.payment-header h3 {
    color: #00ff88;
    margin: 0;
    font-size: 1.3em;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-content {
    padding: 25px;
}

.amount-input-section {
    margin-bottom: 25px;
}

.amount-input-section label {
    display: block;
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 10px;
}

.amount-input-section input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #0f3460;
    color: white;
    font-size: 1.1em;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.qr-section, .upi-section {
    background: #0f3460;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.qr-section h4, .upi-section h4 {
    color: #00ff88;
    margin-bottom: 15px;
}

.qr-code {
    margin-bottom: 15px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 2px solid #00ff88;
}

.upi-details p {
    color: #fff;
    margin-bottom: 15px;
}

.copy-btn {
    background: #00ff88;
    color: #222;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.payment-form, .bank-details-form {
    background: #0f3460;
    padding: 20px;
    border-radius: 10px;
}

.payment-form h4, .bank-details-form h4 {
    color: #00ff88;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #16213e;
    color: white;
}

.submit-payment-btn, .submit-withdraw-btn {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #222;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    font-size: 1.1em;
    margin-top: 10px;
}

.submit-payment-btn:hover, .submit-withdraw-btn:hover {
    background: linear-gradient(45deg, #00cc66, #00aa55);
}

/* Transaction History Styles */
.transaction-popup {
    max-width: 600px;
}

.transaction-content {
    padding: 25px;
}

.transaction-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.transaction-item {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-info {
    flex: 1;
}

.transaction-type {
    font-weight: bold;
    color: #00ff88;
}

.transaction-amount {
    font-size: 1.1em;
    color: #fff;
}

.transaction-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.status-pending {
    background: #ffa502;
    color: #222;
}

.status-approved {
    background: #00ff88;
    color: #222;
}

.status-rejected {
    background: #ff4757;
    color: white;
}

.customer-care-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #0f3460;
}

/* QR Code Preview Styles */
.qr-preview {
    text-align: center;
    margin-top: 20px;
}

.qr-code-preview {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    margin-top: 10px;
}

.qr-code-preview img {
    width: 150px;
    height: 150px;
    border-radius: 5px;
}

/* Bank Section */
.bank-content {
    padding: 20px;
}

.balance-display {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.balance-amount {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.balance-label {
    font-size: 1.1em;
    opacity: 0.9;
}

.bank-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bank-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.deposit-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.withdraw-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.history-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.customer-care-btn {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
}

.bank-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.large-popup {
    max-width: 700px;
}

.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.3em;
}

.popup-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.payment-methods {
    margin: 20px 0;
}

.payment-method {
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.payment-method h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.qr-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.qr-code {
    width: 150px;
    height: 150px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.qr-code img {
    max-width: 100%;
    max-height: 100%;
}

.upi-details {
    flex: 1;
    min-width: 200px;
}

.upi-details p {
    margin: 10px 0;
    font-size: 1.1em;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.popup-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.submit-btn, .cancel-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.cancel-btn {
    background: #f44336;
    color: white;
}

.submit-btn:hover, .cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Transaction History */
.transaction-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.filter-btn.active, .filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.transaction-list {
    max-height: 400px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    transition: background-color 0.3s ease;
}

.transaction-item:hover {
    background-color: #f8f9fa;
}

.transaction-info {
    flex: 1;
}

.transaction-type {
    font-weight: 600;
    margin-bottom: 5px;
}

.transaction-date {
    font-size: 0.9em;
    color: #666;
}

.transaction-amount {
    font-weight: 600;
    font-size: 1.1em;
}

.amount-positive {
    color: #4CAF50;
}

.amount-negative {
    color: #f44336;
}

.customer-care-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
    text-align: center;
}

/* Customer Care */
.customer-care-options {
    display: grid;
    gap: 20px;
}

.care-option {
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.care-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.care-option h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.care-option p {
    margin: 0 0 15px 0;
    color: #666;
}

.telegram-btn, .email-btn {
    background: linear-gradient(135deg, #0088cc, #0077b3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-btn {
    background: linear-gradient(135deg, #ea4335, #d33a2c);
}

.telegram-btn:hover, .email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mail Bonus */
.mail-bonus-item {
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.mail-bonus-item:hover {
    border-color: #667eea;
}

.mail-bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mail-bonus-title {
    font-weight: 600;
    color: #333;
}

.mail-bonus-amount {
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.1em;
}

.mail-bonus-description {
    color: #666;
    margin-bottom: 15px;
}

.claim-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.claim-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.claim-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.claimed-badge {
    background: #ff9800;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .bank-actions {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .qr-section {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .transaction-filters {
        justify-content: center;
    }
}

/* Bank Actions Row */
.bank-actions-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.bank-actions-row .bank-btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.bank-customer-care {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.customer-care-btn {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.customer-care-btn:hover {
    background: linear-gradient(135deg, #7B1FA2, #9C27B0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Rectangular Mail Box Button */
.mail-box-btn-rect {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 22px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}
.mail-box-btn-rect:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.mail-label {
    font-size: 1em;
    font-weight: 500;
}