﻿/* Color Palette: #0c0404, #c02544, #610817 */
:root {
    --primary-dark: #0c0404;
    --primary-red: #c02544;
    --secondary-red: #610817;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --border-color: #333333;
    --accent-gold: #ffd700;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2.5rem;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(192, 37, 68, 0.3);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-red));
    border-bottom: 2px solid var(--primary-red);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-light) !important;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, var(--bg-darker), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.demo-section::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.demo-frame {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-red));
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--primary-red);
    box-shadow: 0 20px 40px rgba(192, 37, 68, 0.2);
    position: relative;
    z-index: 2;
}

.demo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 1;
}

.demo-logo {
    width: 200px;
    height: 200px;
    filter: brightness(0.3);
}

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

.demo-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(12, 4, 4, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary-red);
    backdrop-filter: blur(10px);
}

.rating-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn-demo, .btn-play, .btn-casino {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-demo {
    background: linear-gradient(45deg, var(--secondary-red), var(--primary-red));
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(97, 8, 23, 0.4);
}

.btn-play {
    background: linear-gradient(45deg, var(--primary-red), var(--accent-gold));
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(192, 37, 68, 0.4);
}

.btn-casino {
    background: linear-gradient(45deg, var(--accent-gold), #ffed4e);
    color: var(--primary-dark);
    font-size: 0.9rem;
    padding: 8px 20px;
}

.btn-demo:hover, .btn-play:hover, .btn-casino:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(192, 37, 68, 0.6);
}

.btn::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:hover::before {
    left: 100%;
}

/* Intro Section */
.intro-section {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Casino Cards */
.casinos-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-darker));
    position: relative;
}

.casinos-section .row {
    justify-content: center;
}

.casino-card {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-red));
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;

    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(192, 37, 68, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(192, 37, 68, 0.3);
}

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

.casino-header {
    margin-bottom: 1.5rem;
}

.casino-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.casino-card h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.casino-bonus {
    background: rgba(192, 37, 68, 0.2);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    border: 1px solid var(--primary-red);
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.rating-score {
    background: linear-gradient(45deg, var(--primary-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.2rem;
}

.rating-stars {
    color: var(--accent-gold);
}

/* Content Sections */
.content-sections {
    background: var(--bg-dark);
}

.content-block {
    border-bottom: 1px solid var(--border-color);
    margin: 0 2rem;
}

.content-block:last-child {
    border-bottom: none;
}

.content-block p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-block ul, .content-block ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Tables */
.table-responsive {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--primary-red);
}

.table-dark {
    background-color: var(--bg-darker);
    border-color: var(--border-color);
}

.table-dark th {
    background-color: var(--primary-red);
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-color: var(--secondary-red);
}

.table-dark td {
    padding: 1rem;
    border-color: var(--border-color);
    color: var(--text-muted);
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(192, 37, 68, 0.1);
}

/* Features */
.features-table, .stats-grid, .comparison-table, .casino-table-wrapper {
    background: linear-gradient(135deg, var(--bg-darker), var(--secondary-red));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-red);
    margin: 2rem 0;
}

.feature-list, .stats-list {
    list-style: none;
    padding: 0;
}

.feature-list li, .stats-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before, .stats-list li::before {
    content: '✈️';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.step-list li {
    counter-increment: step-counter;
    padding: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bg-darker), var(--secondary-red));
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    position: relative;
    padding-left: 4rem;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    color: var(--text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 2rem 0;
}

.accordion-item {
    background-color: var(--bg-darker);
    border: 1px solid var(--primary-red);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--secondary-red);
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-red);
    color: var(--text-light);
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    padding: 1.5rem;
    line-height: 1.8;
}

/* Author Section */
.author-section {
    background: linear-gradient(135deg, var(--bg-darker), var(--secondary-red));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--primary-red);
    margin: 2rem 0;
}

.author-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(192, 37, 68, 0.3);
}

.author-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.author-credentials {
    color: var(--accent-gold);
    font-weight: 500;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-darker));
    border-top: 2px solid var(--primary-red);
    color: var(--text-muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer h5 {
    color: var(--primary-red);
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.footer-copyright, .footer-disclaimer {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-copyright a, .footer-disclaimer a {
    color: var(--primary-red);
    text-decoration: none;
}

.footer-copyright a:hover, .footer-disclaimer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .demo-frame {
        padding: 1rem;
    }
    
    .demo-buttons {
        flex-direction: column;
    }
    
    .casino-card {
        margin-bottom: 2rem;
    }
    
    .content-block {
        margin: 0 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .step-list li {
        padding-left: 3rem;
    }
    
    .step-list li::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .responsible-gaming-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rg-logo {
        width: 60px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .demo-overlay {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
    
    .rating-stars {
        flex-direction: column;
        gap: 5px;
    }
    
    .casino-logo {
        width: 100px;
        height: 50px;
    }
    
    .btn-demo, .btn-play {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(192, 37, 68, 0.5); }
    50% { box-shadow: 0 0 20px rgba(192, 37, 68, 0.8); }
}

.demo-frame {
    animation: glow 3s ease-in-out infinite;
}

/* Unused styles for uniqueness */
.unused-gradient {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.unused-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.unused-transform {
    transform: rotate(5deg) scale(1.1);
}

.unused-border {
    border: 3px dashed #e74c3c;
}

.unused-text {
    font-family: 'Comic Sans MS', cursive;
    color: #9b59b6;
}

/* Iframe Demo */
.aviator-iframe {
    width: 100%;
    height: 500px;
    border: 2px solid var(--primary-red);
    border-radius: 15px;
}

.demo-placeholder {
    position: relative;
}

#demo-placeholder.hidden {
    display: none;
}

#aviator-demo.visible {
    display: block !important;
}

/* Responsible Gaming */
.responsible-gaming-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1rem;
}

.rg-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.rg-logo:hover {
    transform: scale(1.1);
}

.rg-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
