/* BN88 Casino Website Styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('games.css');
@import url('marquee.css');
@import url('popup.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000F00;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #002500;
    border-bottom: 1px solid #ffffff26;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #47CC6E;
    font-size: 24px;
    font-weight: 800;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

a {
    color: #47CC6E;
}

.nav a,
.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #47CC6E;
}

.nav a.active, .mobile-nav a.active {
    color: #47CC6E;
}

.nav a::after,
.mobile-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #47CC6E;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after,
.mobile-nav a.active::after {
    width: 100%;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: linear-gradient(180deg, #fffad5, #ed910a 47%, #ff6400);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 100, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(255deg, #7cf900 4.11%, #008200 76.69%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 204, 110, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #002500;
    border-top: 1px solid #ffffff26;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.mobile-header-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #47CC6E;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Main Content */
.main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #47CC6E, #7cf900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #47CC6E;
    text-align: center;
}

.section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #47CC6E;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(71, 204, 110, 0.1);
    border: 1px solid rgba(71, 204, 110, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #47CC6E;
}

.feature-card i {
    font-size: 48px;
    color: #47CC6E;
    margin-bottom: 20px;
}

.feature-card .btn i {
    font-size: 14px;
    margin-bottom: 0;
    color: #fff;
}

.feature-card h3 {
    margin-bottom: 15px;
    text-align: center;
}

/* Game Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(71, 204, 110, 0.2);
}

.game-card img {
    width: 100%;
}

.game-card-content {
    padding: 20px;
}

.game-card-content .btn {
    margin-top: 20px;
}

.game-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #47CC6E;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(71, 204, 110, 0.2);
    font-weight: 600;
    color: #47CC6E;
}

/* List Styles */
.highlight-list {
    list-style: none;
    margin: 20px 0;
}

.highlight-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.highlight-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #47CC6E;
}

/* FAQ Styles */
.faq {
    margin: 60px 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

header .container {
    max-width: unset;
}

.faq-question:hover {
    background: rgba(71, 204, 110, 0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* Testimonials */
.testimonials {
    margin: 60px 0;
}

.testimonial {
    background: rgba(71, 204, 110, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border-left: 4px solid #47CC6E;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 16px;
}

.testimonial-author {
    font-weight: 600;
    color: #47CC6E;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, rgba(71, 204, 110, 0.2), rgba(124, 249, 0, 0.1));
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    margin: 50px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #002500;
    border-top: 1px solid #ffffff26;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #47CC6E;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #47CC6E;
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 32px;
    color: #47CC6E;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #ffffff26;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-content {
        font-size: 16px;
    }
}

@media (max-width: 1280px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    nav:not(.mobile-nav){
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-content {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }
    
    
    .section h2 {
        font-size: 24px;
    }
    
    .feature-card,
    .game-card-content {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #47CC6E;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Accent Color Utilities */
.text-accent { color: #47CC6E; }
.bg-accent { background-color: #47CC6E; }
.border-accent { border-color: #47CC6E; }
