* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 14px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs ol li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #666;
}

.breadcrumbs a {
    color: #ffd700;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg text {
    fill: #ffd700;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #17a2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #000000;
    font-size: 16px;
    padding: 16px 32px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #e6c200 0%, #f7dc00 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-outline:hover {
    background: #ffd700;
    color: #000000;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        rgba(255, 20, 80, 0.8) 0%,
        rgba(138, 43, 226, 0.8) 50%,
        rgba(30, 144, 255, 0.8) 100%
    ), url('https://example.com/casino-hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bonus-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff1450 0%, #ffd700 100%);
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 20, 80, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Game Categories */
.game-categories {
    background: rgba(26, 26, 26, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.categories-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #000000;
    border-color: #ffd700;
    transform: translateY(-2px);
}

.category-btn svg {
    width: 18px;
    height: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    width: 200px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box button {
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.game-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-info {
    padding: 16px;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1.3;
}

.game-provider {
    font-size: 12px;
    color: #ffd700;
    font-weight: 500;
}

/* Load More */
.load-more {
    text-align: center;
    margin-bottom: 60px;
}

/* Why Play Section */
.why-play {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 60px;
}

.why-play-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.why-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SEO Content */
.seo-content {
    background: rgba(26, 26, 26, 0.8);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.seo-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffd700;
    line-height: 1.3;
}

.seo-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #ffffff;
    line-height: 1.4;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    color: #ffd700;
    line-height: 1.4;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.seo-content ul,
.seo-content ol {
    margin: 16px 0 16px 32px;
    color: rgba(255, 255, 255, 0.9);
}

.seo-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.seo-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    word-wrap: break-word;
    max-width: 200px;
}

.seo-content table tr:first-child td {
    background: rgba(255, 215, 0, 0.1);
    font-weight: 600;
    color: #ffd700;
}

.seo-content table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.footer-section {
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffd700;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .categories-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .category-btn {
        flex-shrink: 0;
    }

    .search-box input {
        width: 150px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .why-play-content {
        flex-direction: column;
        text-align: center;
    }

    .why-title {
        font-size: 24px;
    }

    .seo-content h1 {
        font-size: 28px;
    }

    .seo-content h2 {
        font-size: 22px;
    }

    .seo-content h3 {
        font-size: 18px;
    }

    .seo-content table {
        font-size: 12px;
    }

    .seo-content table td {
        padding: 8px 12px;
        max-width: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .game-card img {
        height: 120px;
    }

    .game-info {
        padding: 12px;
    }

    .game-title {
        font-size: 14px;
    }

    .game-provider {
        font-size: 11px;
    }
}

/* Performance Optimizations */
.game-card,
.btn,
.category-btn {
    will-change: transform;
}

.hero {
    transform: translateZ(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.category-btn:focus,
.search-box input:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .game-card {
        border: 2px solid #ffd700;
    }
    
    .btn-primary {
        border: 2px solid #ffffff;
    }
}