:root {
    --lang-bg-color: #ffa906;
    --hover-color: rgb(43, 43, 43)814;
    --lang-back-color: #ffa906;

    --nav-header: #12070c;
    --background: #120814;
    --text-active: #ffa906;
    --card-gradient: linear-gradient(93deg, #4a0b36 0%, #580a59 97.58%);
    --card-hover: linear-gradient(93deg, #5a0e42 0%, #6a0d6a 97.58%);
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--background);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 169, 6, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(88, 10, 89, 0.05) 0%, transparent 20%);
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #e0e0ff;
}

p, li {
    color: #e0e0ff;
}

/* Header & Navigation */
.header-gradient {
    background: var(--nav-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(255, 169, 6, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand.logo {
    font-size: 2rem;
    background: linear-gradient(90deg, var(--text-active), #ffcc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    padding-right: 15px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-active) !important;
    background: rgba(255, 169, 6, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-active);
    transition: var(--transition);
}

.nav-link.active::after {
    width: 60%;
}

.btn-primary {
    background: var(--text-active);
    color: #000;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 169, 6, 0.3);
}

.btn-primary:hover {
    background: #ffcc66;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 169, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 169, 6, 0.5);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 169, 6, 0.1);
    color: var(--text-active);
    border-color: var(--text-active);
    transform: translateY(-3px);
}

.hero-section {
    position: relative;
    padding: 80px 0 80px;
    background: var(--card-gradient);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 169, 6, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(88, 10, 89, 0.1) 0%, transparent 20%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.streak {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.streak span {
    background: linear-gradient(90deg, #ffcc66, var(--text-active));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.streak span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--text-active), transparent);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 169, 6, 0.3);
}

.rating-badge i {
    color: var(--text-active);
    margin-right: 8px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--text-active);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-active);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Cards */
.card {
    background: var(--card-gradient);
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-gradient);
    z-index: -1;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    background: var(--card-hover);
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--text-active), transparent, #580a59);
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.glow-effect:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--text-active);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 169, 6, 0.1);
    border-radius: 50%;
}

.card-title {
    color: var(--text-active);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
}

/* Bonus Highlight */
.bonus-highlight {
    background: var(--card-gradient);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border: 2px solid rgba(255, 169, 6, 0.3);
    overflow: hidden;
}

.bonus-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 169, 6, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(88, 10, 89, 0.1) 0%, transparent 50%);
}

.bonus-amount {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--text-active), #ffcc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
    line-height: 1;
}

/* Tables */
.table-dark {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table-dark thead th {
    background: rgba(255, 169, 6, 0.2);
    border: none;
    color: var(--text-active);
    padding: 15px;
}

.table-dark tbody td {
    border: none;
    padding: 15px;
    color: var(--text-muted);
}

.table-dark tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.1);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.game-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 169, 6, 0.3);
}

.game-img {
    height: 120px;
    background: var(--card-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-active);
}

/* FAQ */
.faq-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 169, 6, 0.1);
    color: var(--text-active);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Live Chat Button */
.live-chat-btn {
    display: inline-flex;
    align-items: center;
    background: var(--text-active);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 169, 6, 0.3);
}

.live-chat-btn:hover {
    background: #ffcc66;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--nav-header);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 2px solid rgba(255, 169, 6, 0.2);
}

.footer-links h5 {
    color: var(--text-active);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-active);
    transform: translateX(5px);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Alert */
.alert-warning {
    background: rgba(255, 169, 6, 0.1);
    border: 1px solid rgba(255, 169, 6, 0.3);
    color: var(--text-light);
}

/* Pulse animation for buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 169, 6, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 169, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 169, 6, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .streak {
        font-size: 2.2rem;
    }
    
    .bonus-amount {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Background sections */
.bg-dark.bg-gradient {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.bg-dark.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(255, 169, 6, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(88, 10, 89, 0.05) 0%, transparent 20%);
    z-index: -1;
}

/* Support contact boxes */
.support-contact .p-3 {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.support-contact .p-3:hover {
    border-color: rgba(255, 169, 6, 0.3);
    transform: translateY(-5px);
}

/* List styling */
.list-group-item {
    background: transparent;
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Text colors */
.text-warning {
    color: var(--text-active) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-active);
    text-shadow: 0 0 10px rgba(255, 169, 6, 0.7);
}

.logo span {
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

h1 span {
    color: var(--text-active);
    text-shadow: 0 0 10px rgba(255, 169, 6, 0.8);
}

.table-responsive {
    background: rgba(30, 5, 25, 0.6);
    border-radius: 10px;
    padding: 15px;
    margin: 25px 0;
    border: 1px solid #4a0b36;
}

table {
    color: #e0e0ff;
    width: 100%;
}

th {
    background: rgba(90, 15, 70, 0.8);
    color: white;
    font-weight: 600;
    padding: 12px 15px;
}

td {
    padding: 10px 15px;
    border-bottom: 1px solid #3a0a2e;
}

tr:hover td {
    background: rgba(70, 12, 50, 0.5);
}

.support-contact {
    text-align: center;
    padding: 30px;
    background: rgba(30, 5, 25, 0.7);
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid #4a0b36;
}

.copyright {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    color: #a0a0ff;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

.streak {
    position: relative;
    overflow: hidden;
}

.streak::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 169, 6, 0.1), transparent);
    transform: rotate(30deg);
    animation: streak 3s linear infinite;
}

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

.game-card-new {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.1);
    height: 100%;
}

.game-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

.game-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card-new:hover .game-image {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card-new:hover .game-overlay {
    opacity: 1;
}

.game-buttons {
    width: 80%;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.jackpot-card {
    border-color: rgba(255, 215, 0, 0.3);
}

.jackpot-amount {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
}

.game-info {
    padding: 15px;
}

.game-title {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.game-details {
    font-size: 0.85rem;
}

.game-rating {
    color: #ffc107;
}

.game-type {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.category-card {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.category-card:hover {
    background: rgba(255, 193, 7, 0.1);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2rem;
    color: #ffc107;
}

.demo-cta {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.masonry-grid {
    column-count: 2;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 2px;
    background: var(--lang-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--dropdown-shadow);
    transform: translateY(-10px);
    transition: all var(--transition-speed);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    display: none;
}

.language-selector:hover .language-dropdown,
.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.language-option:hover {
    background: var(--hover-color);
}

.language-option img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: contain;
}

.language-option.active {
    background: #79afd7;
    position: relative;
}

.language-name {
    font-weight: 500;
    color: var(--text-color);
}

.language-code {
    font-size: 0.85em;
    color: #666;
    margin-left: auto;
}

@media (max-width: 768px) {
    .language-selector {
        position: relative;
    }
    
    .language-dropdown {
        position: absolute;
        top: 42px;
        right: 0%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    
    .language-current {
        padding: 8px;
    }
    
    :root {
        --flag-size: 28px;
    }
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-left: auto;
    background: var(--lang-bg-color);
    border-radius: 8px;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    background: var(--hover-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.language-current:hover {
    background: var(--lang-bg-color);
    transform: scale(var(--hover-scale));
    box-shadow: var(--dropdown-shadow);
}

.language-current img {
    width: var(--flag-size);
    height: var(--flag-size);
    border-radius: 4px;
    object-fit: contain;
}
