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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* SEO Hidden H1 */
.seo-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000000;
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffa500, #ffb347);
    border-color: #ffa500;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
}

.btn-outline {
    background-color: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #ffa500, #ffb347);
    color: #121212;
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(255, 140, 0, 0.6);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.header {
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 20px;
    width: auto;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff8c00;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    margin-top: 80px;
}

/* Desktop: 3 cards side by side */
.hero-desktop {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
}

.hero-card {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-card .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    text-align: center;
    color: #ffffff;
}

.hero-card .hero-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-card .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Mobile: Slider (hidden on desktop) */
.hero-mobile {
    display: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide .hero-content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    max-width: 45%;
    z-index: 10;
    text-align: left;
    color: #ffffff;
}

.hero-slide .hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-slide .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-prev,
.hero-next {
    position: absolute;
    background-color: rgba(255, 165, 0, 0.8);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: #ff8c00;
    transform: translateY(-50%) scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #ff8c00;
}

/* Slots Section */
.slots {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.slots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Categories */
.categories {
    margin-bottom: 4rem;
    overflow: hidden;
}

.category-slider {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    justify-content: center; /* Center on desktop */
    flex-wrap: wrap; /* Wrap to avoid left bias */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    min-width: 120px;
}

.category-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #1a1a1a;
    border: 2px solid #ff8c00;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.35);
    transition: all 0.3s ease;
}

.category-item a:hover {
    background: linear-gradient(135deg, #ffa500, #ffb347);
    color: #121212;
    transform: translateY(-5px);
    box-shadow: 0 0 26px rgba(255, 140, 0, 0.65);
}

.category-item img {
    width: 60px;
    height: 60px;
    /* Tint icons to orange neon */
    filter: invert(56%) sepia(89%) saturate(678%) hue-rotate(359deg) brightness(101%) contrast(106%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.category-item a:hover img {
    /* Keep icons high-contrast on hover */
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

.category-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.game-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: scale(1.05);
}

.game-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.game-item:hover img {
    transform: scale(1.1);
}

/* Bonuses Section */
.bonuses {
    padding: 80px 0;
    background-color: #2a2a2a;
}

.bonuses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bonus-card {
    background-color: #0f0f0f;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: #ff8c00;
}

.bonus-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 1.5rem;
}

.bonus-content {
    text-align: left;
    margin-bottom: 2rem;
}

.bonus-content p {
    margin-bottom: 1rem;
}

.bonus-content ul {
    list-style: none;
    padding-left: 0;
}

.bonus-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-content li:before {
    content: "✓ ";
    color: #ff8c00;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #2a2a2a;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.faq-question i {
    font-size: 1.2rem;
    color: #ff8c00;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer div {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #2a2a2a;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: #0f0f0f;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff8c00;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2a2a2a;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 200px;
        margin: 0 auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
        margin-top: 60px;
    }

    /* Hide desktop hero, show mobile hero */
    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
        height: 100%;
    }

    .hero-slide img {
        object-position: left center;
    }

    .hero-slide .hero-content {
        right: 5%;
        left: auto;
        max-width: 85%;
        text-align: left;
    }

    .hero-slide .hero-content h2 {
        font-size: 2rem;
    }

    .hero-slide .hero-content p {
        font-size: 1rem;
    }

    /* Hide hero navigation arrows on mobile */
    .hero-prev,
    .hero-next {
        display: none;
    }

    /* Games Grid */
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Categories */
    .category-slider {
        gap: 1rem;
        justify-content: flex-start; /* Left align on mobile */
        flex-wrap: nowrap; /* Keep horizontal scroll on mobile */
        overflow-x: auto;
    }

    .category-item {
        min-width: 100px;
    }

    .category-item a {
        padding: 0.8rem;
    }

    .category-item img {
        width: 50px;
        height: 50px;
    }

    /* Bonuses */
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bonus-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    /* Sections */
    .slots,
    .bonuses,
    .faq,
    .about {
        padding: 60px 0;
    }

    .slots h2,
    .bonuses h2,
    .faq h2,
    .about h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 14px;
    }

    .bonus-amount {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid #ff8c00;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link:hover {
        text-decoration: underline;
    }
}