/* styles.css */
:root {
    --primary-bg: #0a0e27;
    --secondary-bg: #1a1f3a;
    --accent-green: #b6ff00;
    --accent-yellow: #ffeb3b;
    --accent-blue: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --card-bg: #141829;
    --hover-bg: #252a45;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: var(--secondary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.main-nav {
    flex: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-green);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: center;
}

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu li a:hover {
    color: var(--accent-green);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-green);
    background-color: rgba(182, 255, 0, 0.1);
}

/* Buttons */
.btn {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #8fd900);
    color: #000;
    box-shadow: 0 4px 15px rgba(182, 255, 0, 0.3);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 255, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    background-color: rgba(182, 255, 0, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-yellow), #ffc107);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 235, 59, 0.5);
}

.join-btn {
    font-size: 16px;
    padding: 12px 30px;
    animation: glow 2s ease-in-out infinite;
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(182, 255, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(182, 255, 0, 0.6);
    }
}

/* Hero Section */
.hero-section {
    padding: 30px 0;
}

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

.banner-item {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.banner-item:nth-child(2) {
    background: linear-gradient(135deg, #c31432, #240b36);
}

.banner-item:nth-child(3) {
    background: linear-gradient(135deg, #ec008c, #fc6767);
}

.banner-item:hover {
    transform: translateY(-5px);
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: bold;
}

.view-all {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--accent-yellow);
}

/* Wins Ticker */
.wins-ticker {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) var(--secondary-bg);
}

.wins-ticker::-webkit-scrollbar {
    height: 8px;
}

.wins-ticker::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

.wins-ticker::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

.win-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 280px;
    transition: all 0.3s ease;
}

.win-item:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

.win-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.win-info {
    display: flex;
    flex-direction: column;
}

.win-info strong {
    font-size: 16px;
    margin-bottom: 5px;
}

.win-amount {
    color: var(--accent-green);
    font-size: 20px;
    font-weight: bold;
}

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

.game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(182, 255, 0, 0.2);
}

.game-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.game-card:nth-child(2n) .game-image {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.game-card:nth-child(3n) .game-image {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.game-card:nth-child(4n) .game-image {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.game-title {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

/* Live Card */
.live-card {
    position: relative;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    animation: blink 1.5s infinite;
}

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

/* Jackpot Card */
.jackpot-card .jackpot-amount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    animation: jackpotPulse 1s infinite;
}

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

/* Footer */
.footer {
    background-color: var(--secondary-bg);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-green);
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section .payment-icons span,
.footer-section .social-icons a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.footer-section ul li a:hover,
.footer-section .social-icons a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--hover-bg);
    color: var(--text-secondary);
    font-size: 14px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 12px;
}


/* Mobile Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--secondary-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .header-actions {
        gap: 10px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .join-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .banner-slider {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .game-image {
        height: 150px;
        font-size: 50px;
    }
}

@media (max-width: 576px) {
    .header-content {
        flex-wrap: wrap;
    }

    .logo img {
        height: 35px;
    }

    .lang-selector {
        order: 3;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wins-ticker {
        gap: 15px;
    }

    .win-item {
        min-width: 250px;
    }

    .banner-item {
        padding: 30px 20px;
        min-height: 180px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 16px;
    }
}
/* Real Game Images */
.game-image-real {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.game-card {
    position: relative;
    overflow: hidden;
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.provider-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    min-height: 100px;
}

.provider-card:hover {
    transform: translateY(-5px);
    background-color: var(--hover-bg);
    box-shadow: 0 8px 25px rgba(182, 255, 0, 0.15);
}

.provider-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.provider-card:hover img {
    filter: brightness(1.1);
}

/* Payment Icons */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.payment-icons img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

/* Security Icons */
.security-icons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.security-icons img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Update banner items to support background images */
.banner-item {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(0px);
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

/* Logo styling */
.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Win ticker images */
.win-item img {
    object-fit: cover;
}

/* Mobile responsive updates for images */
@media (max-width: 576px) {
    .game-image-real {
        height: 150px;
    }
    
    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .provider-card {
        padding: 20px 10px;
        min-height: 80px;
    }
    
    .provider-card img {
        max-height: 40px;
    }
    
    .payment-icons img {
        height: 25px;
    }
    
    .logo img {
        height: 40px;
    }
}

/* Image loading optimization - handled in HTML */

/* Hover effect for game cards with real images */
.game-card:hover .game-image-real {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Add gift icon if needed */
.gift-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 10;
}

/* Typography Styles */
/* Main content text styling */
main .section {
    margin-bottom: 60px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

h2 {
    font-size: 2rem;
    color: var(--accent-green);
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 10px;
    margin-bottom: 25px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-yellow);
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    margin-top: 30px;
}

h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    margin-top: 25px;
}

h5, h6 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    margin-top: 20px;
}

/* Paragraphs */
p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 20px;
}

/* Strong and bold text */
strong, b {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* Lists */
ul, ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-primary);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-size: 12px;
}

ol {
    counter-reset: item;
    padding-left: 0;
}

ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.6;
    counter-increment: item;
}

ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 14px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

table thead {
    background: linear-gradient(135deg, var(--accent-green), #8fd900);
}

table thead th {
    color: #000;
    font-weight: 700;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tbody tr {
    border-bottom: 1px solid var(--hover-bg);
    transition: background-color 0.3s ease;
}

table tbody tr:hover {
    background-color: var(--hover-bg);
}

table tbody tr:last-child {
    border-bottom: none;
}

table td {
    padding: 15px 20px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

table td p {
    margin: 0;
    text-indent: 0;
    text-align: left;
}

/* Links in content */
main a {
    color: var(--accent-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

main a:hover {
    color: var(--accent-yellow);
    border-bottom-color: var(--accent-yellow);
}

/* Content sections spacing */
main .section > h2:first-child {
    margin-top: 0;
}

/* Text content wrapper */
.text-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    background-color: rgba(20, 24, 41, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(182, 255, 0, 0.1);
}

/* Special styling for casino content */
.casino-content {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(26, 31, 58, 0.95));
    padding: 50px 40px;
    border-radius: 20px;
    margin: 40px 0;
    border: 2px solid var(--accent-green);
    box-shadow: 0 10px 30px rgba(182, 255, 0, 0.1);
    max-width: 100%;
}

/* Highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(182, 255, 0, 0.1), rgba(0, 212, 255, 0.1));
    border-left: 4px solid var(--accent-green);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box p {
    margin: 0;
    text-indent: 0;
    font-style: italic;
}

/* Additional text styling improvements */
.casino-content h2:first-child {
    margin-top: 0;
    text-align: center;
    font-size: 2.2rem;
}

.casino-content h2:not(:first-child) {
    margin-top: 40px;
}

.casino-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-blue);
}

.casino-content table {
    margin: 30px 0;
}

.casino-content ul li,
.casino-content ol li {
    margin-bottom: 8px;
}

/* Special styling for first paragraph after headings */
.casino-content h2 + p,
.casino-content h3 + p {
    margin-top: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Quote styling */
blockquote {
    border-left: 4px solid var(--accent-yellow);
    background: rgba(255, 235, 59, 0.1);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

blockquote p {
    margin: 0;
    text-indent: 0;
    color: var(--text-primary);
}

/* Mobile responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.95rem;
        text-indent: 15px;
    }
    
    table {
        font-size: 12px;
    }
    
    table thead th,
    table td {
        padding: 10px 15px;
    }
    
    .text-content {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .casino-content {
        padding: 30px 25px;
        margin: 30px 0;
    }
    
    .casino-content h2:first-child {
        font-size: 1.8rem;
    }
    
    .casino-content h3 {
        padding-left: 10px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
        text-indent: 10px;
    }
    
    table {
        font-size: 11px;
    }
    
    table thead th,
    table td {
        padding: 8px 10px;
    }
    
    ul, ol {
        padding-left: 20px;
    }
    
    ul li {
        padding-left: 20px;
    }
    
    ol li {
        padding-left: 25px;
    }
    
    .casino-content {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .casino-content h2:first-child {
        font-size: 1.6rem;
        text-align: left;
    }
    
    .casino-content h3 {
        padding-left: 8px;
        font-size: 1rem;
    }
    
    .text-content {
        padding: 20px 15px;
        max-width: 100%;
    }
}

.logo-wordmark {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 34px;
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: 0.04em;
}
.logo-wordmark:hover {
    color: var(--accent-green);
}
