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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #2D1B69 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(45, 27, 105, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.logo circle {
    fill: #FF6B35;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.casino-nav {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.login-btn {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.signup-btn {
    background: #FF6B35;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 3px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 40px 0;
    background: linear-gradient(135deg, #2D1B69 0%, #1a1a2e 100%);
}

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

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.promo-card {
    position: relative;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome-card {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.bonus-card {
    background: linear-gradient(135deg, #8E44AD 0%, #663399 100%);
}

.cashback-card {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.card-header {
    margin-bottom: 20px;
}

.card-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    flex: 1;
    z-index: 2;
}

.bonus-amount {
    font-size: 28px;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bonus-spins, .bonus-code {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.card-btn {
    display: inline-block;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.card-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.card-character {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 120px;
    height: 160px;
    opacity: 0.8;
}

.card-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card-illustration {
    position: absolute;
    right: 20px;
    bottom: 20px;
    opacity: 0.6;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 27, 105, 0.9);
    border-radius: 0 15px 15px 0;
    padding: 20px 10px;
    z-index: 500;
    backdrop-filter: blur(10px);
}

.sidebar-item {
    position: relative;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-item:hover {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
}

.sidebar-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFD700;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Big Wins Section */
.big-wins-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.win-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.win-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.win-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.win-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.win-details {
    flex: 1;
}

.win-game-name {
    font-weight: 600;
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
}

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

.win-amount {
    font-size: 16px;
    font-weight: 700;
    color: #00FF88;
    text-align: right;
}

/* Games Section */
.games-section {
    padding: 60px 0;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.games-count {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
}

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

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

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

.game-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.game-card:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:hover {
    background: rgba(255, 107, 53, 0.8);
    color: white;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-article h1 {
    font-size: 36px;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
}

.content-article h2 {
    font-size: 28px;
    font-weight: 700;
    color: #FF6B35;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    padding-bottom: 10px;
}

.content-article h3 {
    font-size: 22px;
    font-weight: 600;
    color: #4A90E2;
    margin: 30px 0 15px 0;
}

.content-article p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.content-article strong {
    color: #FFD700;
    font-weight: 600;
}

.content-article ul, .content-article ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-article li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

/* Tables */
.bonus-table, .payment-table {
    width: 100%;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.bonus-table th, .payment-table th {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-table td, .payment-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.bonus-table tr:last-child td, .payment-table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background: rgba(45, 27, 105, 0.8);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

.footer-license {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: right;
}

/* Mobile Support Button */
.mobile-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.support-btn {
    background: #FF6B35;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu, .nav-actions .login-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .promo-card {
        min-height: 200px;
        padding: 20px;
    }
    
    .bonus-amount {
        font-size: 24px;
    }
    
    .sidebar {
        display: none;
    }
    
    .section-header-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .wins-grid {
        grid-template-columns: 1fr;
    }
    
    .content-article h1 {
        font-size: 28px;
    }
    
    .content-article h2 {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-license {
        text-align: center;
    }
    
    .bonus-table, .payment-table {
        font-size: 12px;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .bonus-table th, .payment-table th,
    .bonus-table td, .payment-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 20px 0;
    }
    
    .content-article {
        padding: 0 10px;
    }
    
    .promo-card {
        padding: 15px;
    }
    
    .card-character {
        width: 80px;
        height: 100px;
    }
}

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

.promo-card {
    animation: fadeInUp 0.6s ease forwards;
}

.promo-card:nth-child(2) {
    animation-delay: 0.2s;
}

.promo-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .promo-card {
        border: 2px solid white;
    }
    
    .nav-item, .card-btn {
        border: 1px solid currentColor;
    }
}