/* 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: #1B1B1B;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(180deg, #ffca27, #fff873 50%, #ffca27);
    border: 1px solid #fff4e1;
    box-shadow: 0 0 10px 0 #ffc880;
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px 0 #ffc880;
}

.btn-secondary {
    background: linear-gradient(180deg, #006165, #006165), linear-gradient(180deg, #fff4e1, #fff873);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    color: #fff4e1;
    border: 1px solid transparent;
    font-weight: 500;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

header .container {
    max-width: unset;
}

.btn.active {
    background: #FDE04E;
    color: #000;
}

/* Header */
.header {
    background-color: #155155;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Navigation - Mobile First */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #fff4e1;
}

.nav-link:hover,
.nav-link.active {
    background-color: #FDE04E;
    color: #000;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 30px;
    height: 30px;
    justify-content: center;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff4e1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #155155;
    z-index: 999;
    padding: 20px;
    border-top: 1px solid #fff4e1;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #fff4e1;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: #FDE04E;
    color: #000;
}

/* Slider Section */
.slider-section {
    width: 100%;
    margin-top: 40px;

}

.slider-swiper {
    width: 100%;
    height: 150px;
}

.slider-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: #fff4e1 !important;
    opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
    background: #FDE04E !important;
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #FDE04E !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
}

/* Main Content */
.main {
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #FDE04E;
    line-height: 1.3;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.5rem;
    color: #FDE04E;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h3 {
    font-size: 1.2rem;
    color: #FDE04E;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.content-section ul {
    margin-bottom: 25px;
}

.content-section li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-section ol li {
    margin-bottom: 10px;
    color: #fff4e1;
    display: list-item;
    list-style: decimal;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

.image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tables */
.games-table,
.login-table,
.comparison-table,
.bonus-table,
.betting-table,
.slots-table,
.aviator-table,
.live-casino-table,
.esports-table {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #006165;
    border-radius: 8px;
    overflow: hidden;
    margin: 25px 0;
}

.table-row {
    display: grid;
    gap: 1px;
}

.table-row.table-header {
    background: #155155;
}

.table-row.table-header .table-cell {
    background: #155155;
    color: #FDE04E;
    font-weight: 600;
}

.table-cell {
    background: #1B1B1B;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* Special table layouts for mobile */
.games-table .table-row {
    grid-template-columns: 1fr 1fr; /* Game, Features */
}

.bonus-table .table-row {
    grid-template-columns: 1fr 1fr; /* Bonus Type, Reward */
}

.betting-table .table-row {
    grid-template-columns: 1fr 1fr; /* Sport, Market Examples */
}

.slots-table .table-row {
    grid-template-columns: 1fr 1fr; /* Slot Game, RTP */
}

.aviator-table .table-row {
    grid-template-columns: 1fr 1fr; /* Feature, Details */
}

.live-casino-table .table-row {
    grid-template-columns: 1fr 1fr; /* Category, Example Game */
}

.esports-table .table-row {
    grid-template-columns: 1fr 1fr; /* Game, Market Examples */
}

.comparison-table .table-row {
    grid-template-columns: 1fr 1fr 1fr; /* Experience, Live Casino, Slots/RNG */
}

/* Reviews */
.reviews {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.review {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FDE04E;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    color: #FDE04E;
}

.review p {
    margin: 0;
    font-style: italic;
}

/* FAQ */
.faq {
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(253, 224, 78, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(253, 224, 78, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.faq-item.open {
    border-color: #FDE04E;
}

.faq-item h3 {
    background: #155155;
    padding: 18px 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item h3:hover {
    background: #1a6565;
}

.faq-item.open h3 {
    background: #1a6565;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
    color: #fff4e1;
}

.faq-item p a {
    color: #FDE04E;
    text-decoration: underline;
}

.faq-item p a:hover {
    color: #fff873;
}

.faq-indicator {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-indicator i {
    display: block;
}

/* Quick Guide (Aviator) */
.quick-guide {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.guide-step p {
    margin-bottom: 0;
}

.step-number {
    background: #FDE04E;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-content i {
    color: #FDE04E;
    font-size: 20px;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #155155, #006165);
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 60px;
}

.final-cta h2 {
    justify-content: center;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #FDE04E;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: #FDE04E;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FDE04E;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.disclaimer {
    font-size: 12px !important;
    color: #999 !important;
}

/* Links */
a {
    color: #FDE04E;
    transition: color 0.3s ease;
}

a:not(.btn, .play-btn, .nav-link, .games-cta-btn, .play-button, .popup-cta-button):hover {
    color: #fff873;
}

/* Responsive Design - Tablet (768px and up) */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-table .table-row {
        grid-template-columns: 1fr 1fr 1fr; /* Bonus Type, Reward, Conditions */
    }
    
    .betting-table .table-row {
        grid-template-columns: 1fr 1fr 1fr; /* Sport, Market Examples, Features */
    }
    
    .slots-table .table-row {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* Slot Game, Provider, RTP, Features */
    }
    
    .aviator-table .table-row {
        grid-template-columns: 1fr 1fr; /* Feature, Details */
    }
    
    .live-casino-table .table-row {
        grid-template-columns: 1fr 1fr 1fr; /* Category, Example Game, Features */
    }
    
    .esports-table .table-row {
        grid-template-columns: 1fr 1fr 1fr; /* Game, Market Examples, Features */
    }
    
    .comparison-table .table-row {
        grid-template-columns: 1fr 1fr 1fr; /* Experience, Live Casino, Slots/RNG */
    }
    
    .quick-guide {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .slider-swiper {
        height: 300px;
    }
    
    .reviews {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1485px) {
    .burger-menu {
        display: none;
    }
    
    .nav {
        display: block;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .mobile-menu {
        top: 133px;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 0;
    }
}

/* Responsive Design - Desktop (1024px and up) */
@media (min-width: 1024px) {
    
    .header-buttons .btn {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section h3 {
        font-size: 1.4rem;
    }
    
    .images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .table-cell {
        padding: 15px;
        font-size: 15px;
    }
    
    .btn {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    .slider-swiper {
        height: 300px;
    }
    
    .reviews {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quick-guide {
        justify-content: space-around;
    }
}

/* Hover Effects for Desktop */
@media (min-width: 1024px) {
    .image-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(253, 224, 78, 0.3);
    }
    
    .table-row:hover .table-cell {
        background: rgba(253, 224, 78, 0.1);
    }
    
    .review:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    .faq-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .slider-section,
    .cta-buttons,
    .hero-buttons {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main {
        padding: 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff4e1;
    border-radius: 50%;
    border-top-color: #FDE04E;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #FDE04E;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #FFFF00;
        color: #000000;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        background: #FFFFFF;
        color: #000000;
        border: 2px solid #000000;
    }
    
    body {
        background: #000000;
        color: #FFFFFF;
    }
}
