/* Олимп Казино Казахстан - Custom Styles */

/* Base Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0c1929;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3a5f, #d4a017);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2d5a8f, #f5d67b);
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(30, 58, 95, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

/* Text Gradient Gold */
.text-gradient-gold {
    background: linear-gradient(90deg, #d4a017, #f5d67b, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Olimp Glow Effect */
.olimp-glow {
    box-shadow: 
        0 0 30px rgba(212, 160, 23, 0.15),
        0 0 60px rgba(74, 144, 217, 0.1),
        inset 0 0 20px rgba(212, 160, 23, 0.03);
}

/* Button Hover Effects */
.btn-olimp {
    position: relative;
    overflow: hidden;
}

.btn-olimp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-olimp:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.game-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(212, 160, 23, 0.1);
}

/* Zeus Lightning Animation */
@keyframes zeus-lightning {
    0%, 90%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    92%, 94%, 96% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-lightning {
    animation: zeus-lightning 5s ease-in-out infinite;
}

/* Pulse Gold */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 160, 23, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 160, 23, 0.6);
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Tab Button Styles */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #d4a017, #f5d67b) !important;
    color: #0c1929 !important;
    border-color: transparent !important;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.3);
}

.tab-btn:not(.active):hover {
    background: rgba(30, 58, 95, 0.5);
    border-color: rgba(212, 160, 23, 0.3);
}

/* Range Slider Custom Styles */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(90deg, #1e3a5f, #d4a017);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d4a017;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.5);
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 160, 23, 0.7);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d4a017;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.5);
}

/* SEO Text Block Styles */
.seo-text-block {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(12, 25, 41, 0.8);
    border-radius: 1.5rem;
    border: 1px solid rgba(212, 160, 23, 0.1);
}

.seo-text-content {
    color: #a1a1aa;
    line-height: 1.8;
    font-size: 0.95rem;
}

.seo-text-content h2 {
    color: #d4a017;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 160, 23, 0.2);
}

.seo-text-content h3 {
    color: #4a90d9;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.seo-text-content p {
    margin-bottom: 1rem;
}

.seo-text-content ul,
.seo-text-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.seo-text-content li {
    margin-bottom: 0.5rem;
}

.seo-text-content li p {
    margin-bottom: 0;
}

.seo-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(30, 58, 95, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
}

.seo-text-content th,
.seo-text-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

.seo-text-content th {
    background: rgba(212, 160, 23, 0.1);
    color: #d4a017;
    font-weight: 600;
}

.seo-text-content tr:hover {
    background: rgba(30, 58, 95, 0.4);
}

/* Feature Cards Grid */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.seo-feature-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.4), rgba(212, 160, 23, 0.1));
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 160, 23, 0.2);
    transition: all 0.3s ease;
}

.seo-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.1);
    border-color: rgba(212, 160, 23, 0.4);
}

.seo-feature-title {
    color: #d4a017;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.seo-feature-text {
    color: #a1a1aa;
    font-size: 0.875rem;
}

/* No Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hot Badge Animation */
@keyframes hot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hot-badge {
    animation: hot-pulse 1.5s ease-in-out infinite;
}

/* Font Classes */
.font-olimp {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .seo-text-block {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .seo-text-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-text-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .seo-text-block {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .seo-text-content {
        font-size: 0.9rem;
    }
    
    .seo-text-content table {
        font-size: 0.85rem;
    }
    
    .seo-text-content th,
    .seo-text-content td {
        padding: 0.75rem 0.5rem;
    }
    
    .seo-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .seo-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Skip Link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #d4a017;
    color: #0c1929;
    z-index: 9999;
}

/* Print Styles */
@media print {
    .sidebar,
    .mobile-header,
    .sticky-cta,
    footer {
        display: none !important;
    }
    
    main {
        margin-left: 0 !important;
    }
    
    .seo-text-content {
        color: #000;
    }
}