/* KingTaka Casino - Main Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #EDAA34;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #EDAA34;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header Styles */
.header {
    background-color: #1D1D1D;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
    width: auto;
}

.logo img {
    height: 100%;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #EDAA34;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background-color: #EDAA34;
    color: #000;
}

.primary-btn:hover {
    background-color: #d4a030;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(237, 170, 52, 0.3);
}

.secondary-btn {
    background-color: #000;
    color: #fff;
    border: 1px solid #EDAA34;
}

.secondary-btn:hover {
    background-color: #EDAA34;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(237, 170, 52, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1D1D1D;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav {
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .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-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

ul, ol {
    list-style: none;
}

a {
    color: #EDAA34;
}

.cta-section {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-section .btn {
    margin: 0.5rem;
}

/* Slider Section */
.slider-section {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    max-width: 1200px;
    margin: 4rem auto;
}

.banner-swiper {
    width: 100%;
    height: 300px;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #EDAA34;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #EDAA34;
    transform: scale(1.2);
}

/* Content Sections */
.content-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(237, 170, 52, 0.2);
}

.feature-card h3 {
    color: #EDAA34;
    margin-bottom: 1rem;
}

.feature-card i {
    font-size: 3rem;
    color: #EDAA34;
    margin-bottom: 1rem;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.data-table th {
    background-color: #EDAA34;
    color: #000;
    font-weight: bold;
}

.data-table tr:hover {
    background-color: #2a2a2a;
}

/* Images */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Footer */
.footer {
    background-color: #1D1D1D;
    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(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #EDAA34;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #EDAA34;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1280px) {
    .nav {
        display: none;
    }

    .mobile-nav .nav {
        display: flex;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 1024px) {
    .banner-swiper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .banner-swiper {
        height: 200px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
    
    .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .cta-section .btn {
        width: auto;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {

    .banner-swiper {
        height: 120px;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gold {
    color: #EDAA34;
}

.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; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav a:focus {
    outline: 2px solid #EDAA34;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
}
