/* ========================================
   33BMW Casino - Main Stylesheet
   Mobile First Approach
   ======================================== */

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

:root {
    --bg-color: #181209;
    --header-bg: #2A2B30;
    --accent-color: #FEBF4C;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-dark: #1D1F23;
    --primary-gradient: linear-gradient(180deg, rgba(255, 217, 115, 1) 40%, rgba(239, 148, 37, 1) 100%);
    --secondary-gradient: linear-gradient(180deg, rgba(254, 118, 114, 1) 40%, rgba(201, 27, 26, 1) 100%);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #FFD371;
    text-decoration: underline;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
nav {
    display: none;
    flex: 1;
    justify-content: center;
}

nav.active {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    justify-content: center;
}

nav ul li a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(254, 191, 76, 0.1);
    color: var(--accent-color);
    text-decoration: none;
}

nav ul li a.active {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

nav ul li a.active:hover {
    background-color: #FFD371;
    color: var(--text-dark);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Burger Menu */
.burger {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.burger:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 191, 76, 0.4);
    text-decoration: none;
    color: var(--text-dark);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 118, 114, 0.4);
    text-decoration: none;
    color: var(--text-primary);
}

.btn i {
    margin-right: 0.5rem;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(254, 191, 76, 0.1) 0%, rgba(42, 43, 48, 0.3) 100%);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(42, 43, 48, 0.5);
    border-radius: 8px;
}

.cta-section p {
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: rgba(42, 43, 48, 0.5);
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: rgba(42, 43, 48, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background-color: var(--header-bg);
    color: var(--accent-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

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

table tr:hover {
    background-color: rgba(254, 191, 76, 0.05);
}

/* Cards/Grid */
.grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: rgba(42, 43, 48, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Lists */
ul.features {
    list-style: none;
    padding-left: 0;
}

ul.features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

ul.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Reviews/Testimonials */
.review {
    background: rgba(42, 43, 48, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--accent-color);
}

.review-author {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
    background: rgba(42, 43, 48, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.faq-item h3 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--header-bg);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: var(--text-secondary);
}

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

.payment-systems {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

header .container {
    max-width: unset;
}

.payment-systems span {
    padding: 0.5rem 1rem;
    background: rgba(254, 191, 76, 0.1);
    border-radius: 4px;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Images */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

@media (max-width: 1550px) {
    nav {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        background: var(--header-bg);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 1550px) {
    .header-content {
        flex-wrap: nowrap;
    }

    nav {
        display: flex;
    }

    .burger {
        display: none;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

    table {
        font-size: 0.95rem;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    nav ul {
        gap: 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   Banner Slider Styles
   ======================================== */

.banner-slider {
    width: 100%;
    margin: 4rem auto;
    padding: 0 2rem;
    position: relative;
    max-width: 1200px;
}

.banner-slider .swiper {
    width: 100%;
    height: 200px;
}

.banner-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Swiper Navigation Buttons */
.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
    color: var(--accent-color);
    background: rgba(42, 43, 48, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.banner-slider .swiper-button-next:hover,
.banner-slider .swiper-button-prev:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.banner-slider .swiper-button-next::after,
.banner-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

/* Swiper Pagination */
.banner-slider .swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.banner-slider .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .banner-slider .swiper {
        height: 300px;
    }
    
    .banner-slider .swiper-button-next,
    .banner-slider .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
    
    .banner-slider .swiper-button-next::after,
    .banner-slider .swiper-button-prev::after {
        font-size: 22px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .banner-slider .swiper {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .banner-slider {
        padding: 0 5px;
    }

    .banner-slider .swiper {
        height: 120px;
    }

    .banner-slider .swiper-button-next, .banner-slider .swiper-button-prev {
        display: none;
    }
}