/* Blood Money - Modern Dark Gaming Theme */

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

:root {
    /* Blood Money Color Palette */
    --primary-red: #dc2626;
    --dark-red: #991b1b;
    --blood-red: #b91c1c;
    --accent-gold: #fbbf24;
    --dark-gold: #d97706;
    
    /* Dark Theme Colors */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #262626;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    /* UI Colors */
    --border-color: #374151;
    --hover-bg: #374151;
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --shadow-red: rgba(220, 38, 38, 0.3);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-gaming: 'Impact', 'Arial Black', sans-serif;
    
    /* Spacing */
    --container-padding: 1.5rem;
    --section-padding: 4rem 0;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-card) 100%);
    box-shadow: 0 4px 20px var(--shadow-dark);
    position: relative;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    filter: drop-shadow(0 0 10px var(--primary-red));
    transition: filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 15px var(--primary-red));
}

.logo h1 {
    font-family: var(--font-gaming);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    letter-spacing: 1px;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-gold);
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.nav-menu a::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-menu a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--shadow-red) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h2 {
    font-family: var(--font-gaming);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px var(--shadow-dark);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero-features span {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    border: 2px solid var(--border-color);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px var(--shadow-red);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-red);
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Game Section */
.game-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.game-section h2 {
    text-align: center;
    font-family: var(--font-gaming);
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.game-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 40px var(--shadow-dark);
    border: 2px solid var(--border-color);
    position: relative;
    height: 500px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* Game Loading Styles */
.game-loading-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo img {
    filter: drop-shadow(0 0 20px var(--primary-red));
    animation: pulse 2s infinite;
}

.loading-logo h3 {
    font-family: var(--font-gaming);
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

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

.progress-bar-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-primary);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px var(--shadow-dark);
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-gold) 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-red);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px var(--shadow-red); }
    50% { box-shadow: 0 0 20px var(--shadow-red); }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#progress-percentage {
    font-weight: 700;
    color: var(--accent-gold);
}

.loading-tips {
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.loading-tips p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Game Iframe */
.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
}

/* Game Controls */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--hover-bg) 100%);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.control-btn:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-red);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Content Sections */
.content-section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.content-section:nth-child(even) {
    background: var(--bg-card);
}

.content-section h2 {
    font-family: var(--font-gaming);
    font-size: 2.25rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.content-section ul {
    color: var(--text-secondary);
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-gold) 100%);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px var(--shadow-red);
}

.feature-image {
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.feature-item h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.faq-item h3 {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Legal Pages Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    font-family: var(--font-gaming);
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.last-updated {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.back-home-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-red);
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-red);
}

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

.intro-text {
    font-size: 1.2rem;
    color: var(--accent-gold);
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-family: var(--font-gaming);
    font-size: 1.75rem;
    color: var(--primary-red);
    margin: 2.5rem 0 1rem 0;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 700;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.contact-info {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.back-to-top {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Footer */
footer {
    background: var(--bg-primary);
    padding: 3rem 0 1rem 0;
    border-top: 2px solid var(--border-color);
}

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

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-family: var(--font-gaming);
    font-size: 1.25rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

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

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .game-container {
        padding: 1rem;
        height: 400px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .control-btn {
        width: 200px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Legal Pages Mobile */
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content ul {
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 2rem 0;
    }
    
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .game-container {
        height: 350px;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    /* Legal Pages Small Mobile */
    .page-header {
        padding: 1rem 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .back-home-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .intro-text {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
        margin: 2rem 0 0.75rem 0;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}