/* Cyber Royale - Neon Purple & Fuchsia Glassmorphic Theme */
*, body, h1, h2, h3, h4, h5, h6, .header-area h3, .modal-content h3, .modal-content h4, .resultCard h3 { 
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body, .header .mainmenu-area, .lottery-area, .resultCard, table, .activities:after, .cart-area, .main-content, .container, .row, .modal-content { 
    background: #090714 !important; 
    color: #f8fafc !important; 
}
.blurr { filter: blur(3px); }
.lottery-area { padding-top: 81px; background-color: #090714; }
.lottery-area-agent { 
    padding-top: 130px; 
    background: linear-gradient(135deg, rgba(26, 16, 51, 0.9) 0%, #090714 100%); 
    border-bottom: 2px solid rgba(236, 72, 153, 0.5);
}
.header-area h3 { 
    text-transform: uppercase; 
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800; 
    letter-spacing: 1px; 
}
.modal-content { 
    background: rgba(22, 16, 43, 0.92) !important; 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #f8fafc !important; 
    border: 1px solid rgba(168, 85, 247, 0.3) !important; 
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.2);
}
.modal-content h3 { color: #ec4899 !important; font-weight: 700; }
.modal-content h4 { color: #c4b5fd !important; font-size: 16px; }

.tiksets { padding: 5px; } 
table { 
    background-color: rgba(22, 16, 43, 0.7); 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 4px; 
    border-radius: 10px;
}
.table td { 
    border: 2px solid rgba(168, 85, 247, 0.25); 
    border-radius: 8px; 
    transition: all 0.25s ease; 
}
.table tr td.active { 
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%) !important; 
    color: #ffffff !important; 
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.7); 
    border-color: #f43f5e !important; 
}
.table tr td { 
    padding: 10px; 
    font-size: 28px; 
    font-weight: 700; 
    color: #f1f5f9 !important; 
    min-width: 35px; 
    text-align: center; 
    background: #0d091e; 
}
.number-list { margin: 0px 5px; padding: 0; list-style: none; }
.table tr:hover { background: transparent; }
.table tr td:hover {
    background: #06b6d4 !important;
    color: #090714 !important;
    border-color: #22d3ee !important;
    cursor: pointer;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.6);
}

.btn-block { 
    max-width: 250px; 
    display: inline-block; 
    height: 35px; 
    padding: 5px 15px; 
    border-radius: 8px; 
    font-weight: 600; 
    text-transform: uppercase; 
}
.resultCard { 
    text-align: center; 
    background: rgba(22, 16, 43, 0.8) !important; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px; 
    margin-bottom: 12px; 
    border-radius: 14px; 
    border: 1px solid rgba(168, 85, 247, 0.25); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(168, 85, 247, 0.1); 
}
.resultCard h3 { 
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase; 
    font-weight: 800; 
}
.resultCard h5 { 
    background: #0d091e; 
    color: #06b6d4; 
    padding: 6px 14px; 
    border-radius: 10px; 
    font-size: 16px; 
    border: 1px solid rgba(6, 182, 212, 0.35); 
}
.resultCard h5 button { margin: 5px; border-radius: 8px; }

.number-list li {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    background: rgba(22, 16, 43, 0.9);
    color: #e2e8f0;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
    margin: 2px;
}

.number-list li.selected {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: #ffffff;
    border-color: #f43f5e;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.65);
}

.number-list li.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border-color: #a78bfa;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.65);
}

@media screen and (max-width: 767px) {
    .lottery-area { padding-top: 34px; }
    table { width: 100% !important; }
    .table tr td { color: #f1f5f9 !important; min-width: 30px; text-align: center; font-size: 20px; padding: 5px; }
    .rightText h3 { font-size: 18px; color: #ec4899; }
    .leftText h3 { font-size: 16px; color: #ec4899; }
    .number-list li {
        width: 32px;
        height: 32px;
        font-size: 13px;
        font-weight: 600;
        margin: 3px;
    }
}

.badge { padding: 8px 14px; font-size: 18px; border-radius: 8px; }
#canvas { position: fixed; z-index: -1; margin-top: -82px; opacity: 0.5; }

.draw-counter { color: #ec4899; font-weight: 700; text-shadow: 0 0 10px rgba(236, 72, 153, 0.5); }
.time { text-align: center; color: #c4b5fd; }
.ticketno { padding-right: 18px; display: inline; color: #06b6d4; font-weight: 600; }
.ticketname { color: #f1f5f9; font-weight: 600; }
.clr { padding: 0px; margin-top: -13px; }

/* Agent Module */
.lottery-area-agent .number-list li {
    width: 100% !important;
    height: 40px;
    font-size: 14px;
    margin: 0 !important;
    border-radius: 8px;
    display: inline-flex;
    background: rgba(22, 16, 43, 0.85);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

@media screen and (max-width: 640px) {
    .lottery-area-agent { margin-top: -75px; }
}

.number-list li.selected {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: #ffffff;
    border-color: #f43f5e;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

.number-list li.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border-color: #a78bfa;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.login-modal .modal-dialog .modal-content .modal-body .header-area {
    padding: 19px 20px 0px;
}

/* Cyber Royale Button System */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    width: auto;
    border: none !important;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.btn-danger:hover { 
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

/* Neon Fuchsia / Violet Primary CTA */
.btn-neon {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45);
    transition: all 0.3s ease;
}
.btn-neon:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%) !important;
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.65);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Electric Violet Secondary CTA */
.btn-violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
    transition: all 0.3s ease;
}
.btn-violet:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.65);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Electric Cyan Accent Button */
.btn-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
    color: #090714 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}
.btn-cyan:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%) !important;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
    color: #090714 !important;
}

/* Glass Pill Buttons */
.btn-glass {
    background: rgba(26, 19, 48, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #c4b5fd !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(42, 30, 77, 0.9) !important;
    border-color: #a855f7 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

/* Backward compatibility for previous classes */
.btn-amber {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45);
    transition: all 0.3s ease;
}
.btn-amber:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%) !important;
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.65);
    color: #ffffff !important;
}
.btn-sapphire {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
    transition: all 0.3s ease;
}
.btn-sapphire:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.65);
    color: #ffffff !important;
}

.buy-tickets-box {
    background: rgba(22, 16, 43, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px -3px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Ticket Module */
.cart-area {
    background: rgba(22, 16, 43, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid rgba(236, 72, 153, 0.5);
    padding: 20px 0;
}
.dt { margin-top: 72px; color: #c4b5fd; }
.btno { 
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px; 
    font-weight: 800; 
}

.table th.rrs, .table th.rrp, .table th.rrn { 
    color: #c4b5fd; 
    font-size: 12px; 
    text-transform: uppercase; 
    border-bottom: 1px solid rgba(168, 85, 247, 0.25); 
    background: rgba(13, 9, 30, 0.6);
}
.table td.rrs { padding: 10px; font-size: 12px; color: #f1f5f9; width: 10%; border-color: rgba(168, 85, 247, 0.2); }
.table td.rrp { padding: 10px; font-size: 12px; color: #06b6d4; font-weight: 600; width: 20%; border-color: rgba(168, 85, 247, 0.2); }
.table td.rrn { padding: 10px; font-size: 12px; color: #f1f5f9; width: 50%; border-color: rgba(168, 85, 247, 0.2); }

.total-pay {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 800;
}

/* Agent List */
.cart-area.agent-list {
    background: #090714 !important;
    border-top: 2px solid #8b5cf6;
}

.ano {
    margin-top: 87px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Floating Action Button (Sale / Book Now) */
.btn-floating-action {
    position: fixed !important;
    bottom: 30px !important;
    right: 20px !important;
    z-index: 999999 !important;
    -webkit-transform: translate3d(0, 0, 9999px) !important;
    transform: translate3d(0, 0, 9999px) !important;
    min-width: 145px !important;
    height: 48px !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    border-radius: 30px !important;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.85), 0 0 20px rgba(168, 85, 247, 0.6) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .btn-floating-action {
        bottom: calc(25px + env(safe-area-inset-bottom)) !important;
    }
}

