/* Casino.ru Style Russian Casino Template - Red & Gold Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc143c;
    --secondary-red: #ff4500;
    --gold: #b8860b;
    --light-gold: #daa520;
    --dark-red: #8b0000;
    --gradient-red: linear-gradient(135deg, #dc143c 0%, #ff4500 100%);
    --gradient-gold: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1a1a1a;
    --bg-light: #f8f8f8;
    --shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    --border-radius: 12px;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: var(--gradient-red);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--light-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--light-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background: var(--gradient-red);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(218,165,32,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23casino-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
}

.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: bold;
    color: var(--light-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

/* Filter Section */
.filters {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--gold);
}

.filters h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* Casino Section */
.casinos-section {
    margin-bottom: 4rem;
}

.casinos-section h2 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Casino Cards Grid */
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.casino-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(220, 20, 60, 0.4);
    border-color: var(--gold);
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.casino-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-bottom: 1px solid #eee;
    position: relative;
}

.casino-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.casino-info {
    flex: 1;
}

.casino-info h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

.stars {
    color: var(--gold);
    font-size: 1.1rem;
}

.rating-number {
    background: var(--gradient-gold);
    color: var(--text-light);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(184, 134, 11, 0.3);
}

.casino-rank {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-red);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.casino-body {
    padding: 1.5rem;
}

.casino-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: rgba(248, 248, 248, 0.7);
    border-radius: 6px;
}

.feature-icon {
    color: var(--gold);
    font-size: 1.1rem;
}
 
.highlight {
    background-color: #fff3cd;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}
.bonus-highlight {
    background: var(--gradient-red);
    color: var(--text-light);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.bonus-highlight::before {
    
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2.5rem;
    opacity: 0.3;
}

.bonus-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--light-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.bonus-desc {
    font-size: 0.9rem;
    margin-top: 0.3rem;
    opacity: 0.9;
}

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

.btn {
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Comparison Table */
.comparison-section {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--gold);
}

.comparison-section h2 {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: white;
}

.comparison-table thead {
    background: var(--gradient-red);
    color: var(--text-light);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    min-width: 120px;
}

.comparison-table th {
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table tbody tr:hover {
    background: rgba(220, 20, 60, 0.05);
}

.table-rating {
    background: var(--gradient-gold);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    font-size: 0.9rem;
}

/* Bonus Section */
.bonus-section {
    margin-bottom: 4rem;
}

.bonus-section h2 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.bonus-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.bonus-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonus-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.bonus-amount-large {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(184, 134, 11, 0.3);
}

.bonus-card p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Guide Section */
.guide-section {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--gold);
}

.guide-section h2 {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

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

.guide-step {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.2);
    border-color: var(--gold);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    color: var(--text-light);
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    font-size: 1.2rem;
}

.guide-step h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.guide-step p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Games Section */
.games-section {
    margin-bottom: 4rem;
}

.games-section h2 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.games-preview {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
}

.games-preview h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.games-preview p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--gradient-red);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--light-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--light-gold);
    opacity: 1;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(218,165,32,0.3);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-features {
        grid-template-columns: 1fr;
    }
    
    .casino-actions {
        flex-direction: column;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        min-width: 100px;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-amount-large {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .casino-card {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .filters {
        margin: 0 -15px 2rem;
        border-radius: 0;
    }
    
    .comparison-section {
        margin: 0 -15px 3rem;
        border-radius: 0;
    }
    
    .guide-section {
        margin: 0 -15px 3rem;
        border-radius: 0;
    }
    
    .bonus-amount-large {
        font-size: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}



/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-gold);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .filters {
        display: none !important;
    }
    
    .casino-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
}

/* Accessibility */
.btn:focus,
.filter-group select:focus,
.filter-group input:focus {
    outline: 3px solid rgba(220, 20, 60, 0.5);
    outline-offset: 2px;
}

.casino-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-red: #d00000;
        --gold: #cc9900;
        --text-dark: #000000;
    }
}

