/* 3333Bet Casino - Main Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #212121;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffeb00;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #d8d8d8;
}

a {
    color: #ffeb00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #191919;
    border-bottom: 1px solid #ffeb00;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
}

.logo img {
    height: 100%;
}

header .container {
    max-width: unset;
}


/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover, .nav a.active {
    background-color: #ffeb00;
    color: #000;
}

/* Mobile menu active state */
.mobile-menu a.active {
    background-color: #ffeb00;
    color: #000;
    font-weight: 600;
}

/* CTA Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(180deg, #fffad5, #ccaf11 48%, #ffeb00);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 235, 0, 0.4);
    color: #000;
}

.btn-secondary {
    background: linear-gradient(180deg, #d8d8d8, #5a5a5a 51%, #c3c3c3);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #191919;
    border-top: 1px solid #ffeb00;
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    flex-direction: column;
    gap: 0.5rem;
    display: flex;
    align-items: center;
}

.mobile-menu .header-buttons {
    flex-direction: column;
    margin-top: 1rem;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #212121 0%, #2a2a2a 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffeb00;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffeb00;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 235, 0, 0.2);
}

.card h3 {
    color: #ffeb00;
    margin-bottom: 1rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #3a3a3a;
}

th {
    background: #ffeb00;
    color: #000;
    font-weight: bold;
}

tr:hover {
    background: #3a3a3a;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
}

/* Responsive image containers */
picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Slider Section */
.slider-section {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 2rem auto;
}

.banner-swiper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-swiper .swiper-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-position: center;
    border-radius: 0;
}

/* Navigation arrows */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #ffeb00;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-top: -22px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.banner-swiper .swiper-button-next:after,
.banner-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination dots */
.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #ffeb00;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .banner-swiper {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .banner-swiper {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .banner-swiper {
        height: 500px;
    }
}

/* Footer */
.footer {
    background-color: #191919;
    border-top: 1px solid #ffeb00;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffeb00;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d8d8d8;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffeb00;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a3a3a;
    color: #d8d8d8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1520px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {

    .card {
        width: 100%;
    }

    .table-responsive {
        overflow-x: scroll;
    }

    .table-responsive table {
        min-width: 600px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cards-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-content {
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-yellow {
    color: #ffeb00;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
