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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

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

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

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

.nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.1);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #DC2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #DC2626;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Sections */
.section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Top Casinos Section */
.top-casinos {
    padding: 80px 0;
    background: #111;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.casino-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC2626, #EF4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 38, 38, 0.3);
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card.featured {
    border: 2px solid #DC2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.casino-card.featured::before {
    opacity: 1;
}

.casino-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-badge.new {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.casino-badge.ruble {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.casino-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.casino-logo img {
    width: 80px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.casino-info {
    flex: 1;
}

.casino-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #666;
    font-size: 1rem;
}

.star.filled {
    color: #F59E0B;
}

.rating-score {
    color: #F59E0B;
    font-weight: 700;
    font-size: 1.1rem;
}

.launch-date,
.currency-info {
    color: #999;
    font-size: 0.85rem;
}

.casino-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:last-child {
    border-bottom: none;
}

.feature-label {
    color: #999;
    font-size: 0.9rem;
}

.feature-value {
    color: #fff;
    font-weight: 600;
}

.casino-actions {
    display: flex;
    gap: 1rem;
}

.casino-actions .btn {
    flex: 1;
    text-align: center;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.info-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Payment Methods Section */
.payment-methods {
    padding: 80px 0;
    background: #111;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.payment-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 38, 38, 0.3);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.payment-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.payment-card p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.payment-time {
    color: #10B981;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.content-main h3 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-main p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-widget h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    color: #ccc;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #999;
    line-height: 1.6;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #999;
    transition: color 0.3s ease;
}

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

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

.footer-disclaimer p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .casino-card {
        padding: 1.5rem;
    }
    
    .casino-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .casino-actions {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .casino-card {
        padding: 1rem;
    }
    
    .casino-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

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

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

.casino-card:nth-child(1) { animation-delay: 0.1s; }
.casino-card:nth-child(2) { animation-delay: 0.2s; }
.casino-card:nth-child(3) { animation-delay: 0.3s; }
.casino-card:nth-child(4) { animation-delay: 0.4s; }
.casino-card:nth-child(5) { animation-delay: 0.5s; }
.casino-card:nth-child(6) { animation-delay: 0.6s; }

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Special Styles for Different Casino Types */
.new-casino {
    border-color: rgba(16, 185, 129, 0.3);
}

.new-casino:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.ruble-casino {
    border-color: rgba(59, 130, 246, 0.3);
}

.ruble-casino:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .casino-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}
