/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', Arial, sans-serif;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    padding: 15px 0;
    border-bottom: 2px solid #ffc93f;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffc93f;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register,
.btn-home {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover,
.btn-register:hover,
.btn-home:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.3);
}

/* Game Navigation */
.game-navigation {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.game-group-front {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active .nav-link {
    color: #ffc93f;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: linear-gradient(135deg, #3d3d3d, #2d2d2d);
    color: #ffc93f;
}

.nav-link i::before {
    font-size: 2rem;
}

.nav-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.label-new {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.blink {
    animation: blink 1s infinite;
}

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

/* Banner Carousel */
.banner-carousel {
    position: relative;
    background: #000000;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    height: 300px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 201, 63, 0.8);
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #ffc93f;
    transform: scale(1.1);
}

/* News Ticker */
.news-ticker {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 15px 0;
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ticker-content {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.ticker-container i {
    font-size: 1.2rem;
}

/* Progressive Jackpot */
.progressive-jackpot {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 40px 0;
    text-align: center;
}

.progressive-jackpot h2 {
    color: #ffc93f;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
}

.jackpot-wrapper {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 3px solid #ffc93f;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(255, 201, 63, 0.3);
}

.jackpot-wrapper span {
    font-size: 3rem;
    font-weight: bold;
    color: #ffc93f;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 201, 63, 0.8);
    }
}

/* Lottery Results */
.lottery-results {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 40px 0;
}

.lottery-results h3 {
    color: #ffc93f;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.lottery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lottery-item {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.lottery-item:hover {
    border-color: #ffc93f;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.2);
}

.lottery-name {
    color: #ffc93f;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.lottery-number {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
}

.lottery-date {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Game Providers */
.game-providers {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding: 40px 0;
}

.tab-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-pane {
    display: none;
}

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

.provider-item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.provider-item-list li {
    position: relative;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-item-list li:hover {
    border-color: #ffc93f;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.2);
}

.game-front-type {
    display: block;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.game-front-icon {
    font-size: 2rem;
    color: #ffc93f;
}

/* Supported Banks */
.supported-bank {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 40px 0;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.bank {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bank:hover {
    border-color: #ffc93f;
    transform: translateY(-3px);
}

.indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse 2s infinite;
}

.indicator.on {
    background: #28a745;
}

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

/* Contact Us */
#ContactUs {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 40px 0;
}

#ContactUs .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-item:hover {
    border-color: #ffc93f;
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
}

.contact-item div {
    width: 40px;
    height: 40px;
    background: #ffc93f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
}

/* SEO Footer */
.seo-footer {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 40px 0;
    border-top: 2px solid #ffc93f;
}

.seo-content {
    text-align: center;
}

.logo-footer h2 {
    color: #ffc93f;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
}

.seo-content p {
    color: #cccccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.seo-content a {
    color: #ffc93f;
    text-decoration: none;
}

.seo-content a:hover {
    text-decoration: underline;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a, #000000);
    border-top: 2px solid #ffc93f;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav .nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #cccccc;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item.active a,
.bottom-nav .nav-item a:hover {
    color: #ffc93f;
    background: rgba(255, 201, 63, 0.1);
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
}

.bottom-nav .nav-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Deposit Form Styles */
.deposit-form-section {
    min-height: calc(100vh - 80px);
    padding: 20px 0 100px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.deposit-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.deposit-form {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.deposit-form h2 {
    color: #ffc93f;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: bold;
}

.balance-info {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 1px solid #555;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.current-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.current-balance span:last-child {
    color: #ffc93f;
    font-weight: bold;
    font-size: 1.2rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
}

.payment-method {
    position: relative;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 10px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method input[type="radio"]:checked + .payment-label,
.payment-method.selected .payment-label {
    border-color: #ffc93f;
    background: linear-gradient(135deg, rgba(255, 201, 63, 0.1), rgba(255, 179, 0, 0.1));
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.qris-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

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

.ewallet-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
}

.payment-label span {
    font-weight: bold;
    color: #ffffff;
    flex: 1;
}

.payment-info {
    font-size: 0.8rem;
    color: #ccc;
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 15px;
    color: #ffc93f;
    font-weight: bold;
    z-index: 1;
}

.amount-input-container input {
    padding-left: 40px;
}

.amount-info {
    margin-top: 8px;
}

.amount-info small {
    color: #ffc93f;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.quick-amount-btn {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.quick-amount-btn:hover,
.quick-amount-btn.selected {
    border-color: #ffc93f;
    background: linear-gradient(135deg, rgba(255, 201, 63, 0.1), rgba(255, 179, 0, 0.1));
    color: #ffc93f;
}

.bank-selection,
.ewallet-selection {
    margin-top: 15px;
}

.bonus-info {
    margin: 20px 0;
}

.bonus-card {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bonus-card i {
    font-size: 2rem;
    color: white;
}

.bonus-details h4 {
    color: white;
    margin: 0 0 5px;
    font-weight: bold;
}

.bonus-details p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
}

.btn-deposit {
    width: 100%;
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.3);
}

.btn-deposit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.modal-header h3 {
    color: #ffc93f;
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.modal-body {
    padding: 20px;
}

.payment-instructions {
    color: #ffffff;
}

.qr-code-container {
    text-align: center;
    margin-bottom: 20px;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.qr-code-placeholder i {
    font-size: 4rem;
    color: #ffc93f;
    margin-bottom: 10px;
}

.qr-info {
    color: #ccc;
    font-size: 0.9rem;
}

.bank-account-info,
.ewallet-info {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 1px solid #555;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.bank-logo,
.ewallet-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bank-logo i,
.ewallet-logo i {
    font-size: 2rem;
    color: #ffc93f;
}

.bank-logo h4,
.ewallet-logo h4 {
    color: #ffc93f;
    margin: 0;
}

.payment-details {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 1px solid #555;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: rgba(255, 201, 63, 0.1);
    border-radius: 5px;
    padding: 12px;
    margin: 10px 0;
}

.copyable-text {
    color: #ffc93f;
    font-family: monospace;
    background: rgba(255, 201, 63, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.payment-steps {
    margin-top: 20px;
}

.payment-steps h4 {
    color: #ffc93f;
    margin-bottom: 15px;
}

.payment-steps ol {
    color: #ccc;
    padding-left: 20px;
}

.payment-steps li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #444;
}

.btn-copy,
.btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #495057, #6c757d);
}

.btn-confirm {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .deposit-form {
        padding: 20px;
        margin: 10px;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .qr-code-placeholder {
        width: 150px;
        height: 150px;
    }
}

/* Auth Form Styles */
.auth-form-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.auth-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-form {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-form h2 {
    color: #ffc93f;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #444;
    border-radius: 8px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffc93f;
    box-shadow: 0 0 10px rgba(255, 201, 63, 0.3);
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffc93f;
    font-size: 18px;
    pointer-events: none;
}

.form-group label + input + i {
    top: calc(50% + 16px);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffc93f;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    z-index: 10;
}

.form-group label + input + i + .password-toggle {
    top: calc(50% + 16px);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

.checkbox-group a {
    color: #ffc93f;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-links {
    text-align: center;
    margin: 20px 0;
}

.forgot-password {
    color: #ffc93f;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #444;
}

.divider span {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 0 20px;
    color: #cccccc;
    position: relative;
}

.auth-switch {
    text-align: center;
}

.auth-switch p {
    color: #cccccc;
}

.auth-switch a {
    color: #ffc93f;
    text-decoration: none;
    font-weight: bold;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    padding: 15px 0;
    border-bottom: 2px solid #ffc93f;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-message {
    color: #ffc93f;
    font-size: 0.9rem;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    text-align: right;
}

.greeting {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

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

.balance-amount {
    color: #ffc93f;
    font-size: 1.2rem;
    font-weight: bold;
}

.refresh-balance {
    color: #ffc93f;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.refresh-balance:hover {
    transform: rotate(180deg);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.btn-action:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 201, 63, 0.3);
}

.btn-menu {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-menu:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: scale(1.1);
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    z-index: 1999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: flex-end;
}

.close-sidebar {
    background: none;
    border: none;
    color: #ffc93f;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(255, 201, 63, 0.1);
    transform: scale(1.1);
}

.sidebar-user-info {
    padding: 20px;
    border-bottom: 1px solid #444;
    text-align: center;
}

.user-greeting {
    color: #ffffff;
    margin-bottom: 15px;
}

.user-balance-section {
    margin-top: 10px;
}

.balance-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #444;
}

.balance-display i:first-child {
    color: #ffc93f;
    font-size: 1.2rem;
}

.balance-display span {
    color: #ffc93f;
    font-weight: bold;
    font-size: 1.1rem;
}

.balance-display i:last-child {
    color: #ffc93f;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.balance-display i:last-child:hover {
    transform: rotate(180deg);
}

.sidebar-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #444;
}

.sidebar-btn {
    flex: 1;
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
    background: rgba(255, 201, 63, 0.1);
    border-left-color: #ffc93f;
    color: #ffc93f;
}

.sidebar-nav-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.sidebar-language {
    padding: 20px;
    border-top: 1px solid #444;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector i {
    color: #ffc93f;
    font-size: 1.2rem;
}

.language-selector select {
    flex: 1;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: #ffffff;
    border: 2px solid #444;
    border-radius: 5px;
    padding: 8px;
}

.sidebar-footer {
    border-top: 1px solid #444;
    padding: 20px 0;
}

.sidebar-nav-item.logout {
    color: #ff4444;
}

.sidebar-nav-item.logout:hover {
    background: rgba(255, 68, 68, 0.1);
    border-left-color: #ff4444;
    color: #ff4444;
}

/* Game Navigation Dashboard */
.game-navigation-dashboard {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-grid .nav-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-grid .nav-item:hover,
.nav-grid .nav-item.active {
    border-color: #ffc93f;
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    transform: translateY(-3px);
}

.nav-grid .nav-item i {
    font-size: 1.5rem;
    color: #ffc93f;
}

.nav-grid .nav-item:hover i,
.nav-grid .nav-item.active i {
    color: #000000;
}

.nav-grid .nav-item span {
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-grid .nav-item:hover span,
.nav-grid .nav-item.active span {
    color: #000000;
}

/* Progressive Jackpot Dashboard */
.progressive-jackpot-dashboard {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 30px 0;
    text-align: center;
}

.progressive-jackpot-dashboard h2 {
    color: #ffc93f;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
}

.jackpot-display {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 3px solid #ffc93f;
    border-radius: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 201, 63, 0.3);
}

.jackpot-display span {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffc93f;
    text-shadow: 0 0 10px rgba(255, 201, 63, 0.5);
    animation: glow 2s infinite alternate;
}

/* Game Providers Grid */
.game-providers-grid {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding: 40px 0;
    min-height: 80vh;
}

.providers-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.provider-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.provider-card:hover {
    border-color: #ffc93f;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 201, 63, 0.2);
}

.provider-image {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.provider-card:hover .provider-image img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(100%);
}

.provider-card:hover .play-btn {
    transform: translateY(0);
}

/* User Profile */
.user-profile {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 40px 0;
}

.profile-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #444;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-card h2 {
    color: #ffc93f;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.profile-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-avatar {
    text-align: center;
    flex-shrink: 0;
}

.profile-avatar i {
    font-size: 6rem;
    color: #ffc93f;
}

.profile-details {
    flex: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #444;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    color: #cccccc;
    font-weight: 500;
}

.detail-item span {
    color: #ffffff;
    font-weight: bold;
}

.btn-edit-profile {
    background: linear-gradient(135deg, #ffc93f, #ffb300);
    color: #000000;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-edit-profile:hover {
    background: linear-gradient(135deg, #ffb300, #ffc93f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 201, 63, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-header .container {
        flex-direction: column;
        text-align: center;
    }

    .header-left,
    .header-right {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .game-group-front {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }

    .nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }

    .nav-grid .nav-item span {
        font-size: 0.7rem;
    }

    .lottery-grid {
        grid-template-columns: 1fr;
    }

    .provider-item-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .providers-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bank-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .sidebar-menu {
        width: 300px;
        right: -300px;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
    }

    .jackpot-wrapper span,
    .jackpot-display span {
        font-size: 1.8rem;
    }

    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }

    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .auth-form {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .carousel-container {
        height: 200px;
    }

    .progressive-jackpot h2,
    .progressive-jackpot-dashboard h2 {
        font-size: 1.5rem;
    }

    .lottery-results h3 {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-grid .nav-item {
        padding: 10px 5px;
    }

    .nav-grid .nav-item span {
        font-size: 0.6rem;
    }

    .bottom-nav .nav-item span {
        font-size: 0.7rem;
    }
}