/* BB44 Casino - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    --primary-bg: #003e3e;
    --header-bg: #00352f;
    --header-border: #075a51;
    --accent-orange: #ffab49;
    --primary-btn-gradient-start: #ffe600;
    --primary-btn-gradient-end: #ffb800;
    --primary-btn-border: rgba(255, 242, 166, 0.5);
    --primary-btn-shadow-inset: #fff2a6;
    --primary-btn-shadow: #b64100;
    --primary-btn-text: #b64100;
    --secondary-btn-gradient-start: #0f727c;
    --secondary-btn-gradient-end: #004e56;
    --secondary-btn-shadow: #003941;
    --secondary-btn-border: rgba(17, 134, 125, 0.5);
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-bg: #f5f5f5;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--accent-orange);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-btn-gradient-start);
}

/* ===== Header Styles ===== */
.header {
    background-color: var(--header-bg);
    border-bottom: 2px solid var(--header-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 25px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent-orange);
}

.nav-menu li a.active {
    color: var(--accent-orange);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-orange);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn {
    background: linear-gradient(180deg, var(--primary-btn-gradient-start), var(--primary-btn-gradient-end));
    border: 1px solid var(--primary-btn-border);
    box-shadow: inset 0 2px 0 1px var(--primary-btn-shadow-inset), 0 2px 0 0 var(--primary-btn-shadow);
    text-shadow: 0 2px 0 rgba(159, 52, 0, 0.2);
    color: var(--primary-btn-text);
}

.primary-btn:hover {
    color: var(--primary-btn-text);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 1px var(--primary-btn-shadow-inset), 0 4px 0 0 var(--primary-btn-shadow);
}

.secondary-btn {
    background: linear-gradient(180deg, var(--secondary-btn-gradient-start), var(--secondary-btn-gradient-end));
    color: var(--accent-orange);
    box-shadow: 0 2px 0 0 var(--secondary-btn-shadow);
    border: 1px solid var(--secondary-btn-border);
    text-shadow: 0 2px 0 rgba(17, 0, 0, 0.3);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    color: var(--accent-orange);
    box-shadow: 0 4px 0 0 var(--secondary-btn-shadow);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    justify-content: center;
}

/* ===== Mobile Menu ===== */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Main Content ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* ===== Hero Slider ===== */
.hero-slider {
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
}

.banner-swiper {
    width: 100%;
    height: 300px;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-orange);
}

.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-orange);
}

.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #005050 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Images ===== */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    opacity: 0.9;
}

/* ===== Tables ===== */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

table th {
    background-color: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    color: var(--accent-orange);
}

table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ===== Lists ===== */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.feature-list.ordered {
    list-style: decimal;
    padding-left: 2rem;
}

.feature-list.ordered li {
    padding-left: 0.5rem;
}

.feature-list.ordered li::before {
    display: none;
}

.feature-card ol {
    text-align: left;
    padding-left: 1.5rem;
    margin-top: 1rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--header-bg);
    border-top: 2px solid var(--header-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.payment-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-systems span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    opacity: 0.7;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .banner-swiper {
        height: 400px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 1440px) {
    .burger-menu {
        display: flex;
    }
    
    nav {
        position: absolute;
        display: none;
        top: calc(100% + 2px);
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        transition: left 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    nav.active {
        display: block;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li a {
        padding: 1rem;
        text-align: center;
        display: block;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .banner-swiper {
        height: 200px;
        min-height: 200px;
    }
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .banner-swiper .swiper-button-next::after,
    .banner-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .banner-swiper {
        height: 125px;
        min-height: 125px;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {width: 100%;}
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.highlight {
    color: var(--accent-orange);
    font-weight: 700;
}

