/* OKXX Casino Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables */
:root {
    --header-bg: #212121;
    --bg-color: #413826;
    --accent-color: #ffdb00;
    --text-color: #ffffff;
    --text-dark: #1f1f1f;
    --text-light: #10131b;
    
    /* Button styles */
    --secondary-btn-bg: #ffffff;
    --secondary-btn-color: #1f1f1f;
    --primary-btn-bg: #ffdb00;
    --primary-btn-color: #10131b;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 4rem 0;
    --border-radius: 0.5rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --body-size: 1rem;
    --small-size: 0.875rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--h1-size);
    color: var(--accent-color);
}

h2 {
    font-size: var(--h2-size);
    color: var(--accent-color);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: 1rem;
    font-size: var(--body-size);
}

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

a:hover {
    color: #fff;
}

/* Button Styles */
.auth-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    line-height: 1.2;
    min-width: 1.21rem;
}

.auth-buttons .btn-secondary {
    clip-path: polygon(0 0,100% 0,5rem 100%,0 100%);
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: var(--secondary-btn-bg);
    color: var(--secondary-btn-color);

}

.hero-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

header .container {
    max-width: unset;
}

.auth-buttons .btn-primary {
    color: var(--primary-btn-color);
    border-radius: 0 0.5rem 0.5rem 0;
    background: var(--primary-btn-bg);
    padding-left: 1.75rem;
    margin-left: -0.5rem;
    clip-path: polygon(1.4rem 0, 100% 0, 100% 100%, 0 100%);
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    color: var(--primary-btn-color);
    box-shadow: 0 4px 15px rgba(255, 219, 0, 0.3);
}

.btn-group {
    display: inline-flex;
    align-items: center;
}

table caption {
    font-size: 1.1rem;
    padding: 1.5rem 0;
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
}

.cta-button {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 44px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-primary {
    background: linear-gradient(45deg, var(--accent-color), #ffd700);
    color: var(--text-light);
}

.cta-button-secondary {
    background: var(--secondary-btn-bg);
    color: var(--secondary-btn-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 219, 0, 0.4);
}

.cta-button-primary:hover {
    color: var(--primary-btn-color);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    color:var(--primary-btn-color);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Header Styles */
header {
    background-color: var(--header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 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;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
}

a.active-link {
    color: #ffdb00;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    min-height: 100vh;
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, #2a1f14 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent-color), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

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

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 219, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 219, 0, 0.2);
}

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

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 219, 0, 0.2);
}

th {
    background: rgba(255, 219, 0, 0.1);
    font-weight: 600;
    color: var(--accent-color);
}

tr:hover {
    background: rgba(255, 219, 0, 0.05);
}

/* Features List */
.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    gap: 0.5rem;
}

.features-list i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 5px;
}

/* Image Styles */
.section-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.image-card img {
    width: 100%;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

/* Footer Styles */
footer {
    background-color: var(--header-bg);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

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

.footer-section ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 219, 0, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

@media (max-width: 1440px) {
    nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    nav .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    nav.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.5rem;
        --h3-size: 1.25rem;
        --section-padding: 2rem 0;
    }

    .card {
        padding: 20px 15px;
    }

    .logo {
        height: 30px;
    }
    
    .container {
        padding: 0 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: scroll;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .swiper {
        height: 150px !important;
    }

    nav {
        top: 126px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .auth-buttons {
        width: 100%;
        order: 3;
        justify-content: center;
    }

    .container {
        padding: 0 0.25rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn-secondary, .btn-primary {
        padding: 0.5rem 1rem;
        clip-path: none;
        border-radius: var(--border-radius);
        margin: 0.25rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 2rem;

}

.swiper {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color) !important;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
}

@media (max-width: 768px) {
    .swiper {
        height: 250px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* FAQ Styles */
.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background: rgba(255, 219, 0, 0.1);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 219, 0, 0.2);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 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; }

.hidden { display: none; }
.visible { display: block; }

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--accent-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 219, 0, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: var(--body-size);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 219, 0, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 219, 0, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
