/* Kx8 Casino - Main CSS File */
/* Color Scheme: Header #310102, Secondary #F2C574, Primary gradient, Background #110408 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-bg: #310102;
    --secondary-color: #F2C574;
    --primary-gradient: linear-gradient(45deg, rgba(251, 225, 146, 1) 40%, rgba(234, 171, 91, 1) 100%);
    --bg-color: #110408;
    --text-light: #ffffff;
    --text-dark: #121212;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Header Styles */
.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);
}

/* Slider Section */
.slider-section {
    width: 100%;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0;
    position: relative;
}

.banner-swiper {
    width: 100%;
    height: auto;
    min-height: 200px;
}

.banner-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation Buttons */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: var(--transition);
}

.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: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.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: var(--transition);
}

.banner-swiper .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .banner-swiper {
        min-height: 200px;
    }
    
    .banner-swiper .swiper-slide img {
        min-height: 200px;
    }
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .banner-swiper .swiper-button-next:after,
    .banner-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .banner-swiper .swiper-pagination {
        bottom: 15px;
    }
    
    .banner-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (min-width: 1200px) {
    .banner-swiper .swiper-slide img {
        min-height: 400px;
    }
}

.header-container {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav a:hover {
    background-color: rgba(242, 197, 116, 0.1);
    color: var(--secondary-color);
    text-decoration: none;
}

.nav a.active {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(234, 171, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 171, 91, 0.4);
    color: var(--text-dark);
    text-decoration: none;
}

.btn-secondary {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--header-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu .nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(242, 197, 116, 0.1);
}

.mobile-menu .header-buttons {
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(49, 1, 2, 0.8), rgba(17, 4, 8, 0.9));
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(242, 197, 116, 0.1);
}

.section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(242, 197, 116, 0.1);
}

th {
    background: rgba(242, 197, 116, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
}

tr:hover {
    background: rgba(242, 197, 116, 0.05);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(242, 197, 116, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
}

/* Section Images */
.section picture {
    display: block;
    margin: 2rem 0;
    text-align: center;
}

.section picture img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.section picture img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons - Updated class */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsive section images */
@media (max-width: 768px) {
    .section picture {
        margin: 1.5rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
.footer {
    background-color: var(--header-bg);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(242, 197, 116, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e0e0e0;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(242, 197, 116, 0.1);
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1480px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {

    .header-container {
        flex-wrap: wrap;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .card {
        padding: 1rem;
    }
}

/* 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-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.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; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

