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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #000000 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid #8B0000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo .logo-text {
    font-family: 'Creepster', cursive;
    color: #8B0000;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8B0000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #8B0000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(139, 0, 0, 0.3)),
                url('blood-money-bg.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    color: #8B0000;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ff4444;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #8B0000, #ff0000);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
}

.btn-secondary:hover {
    background: #8B0000;
    color: white;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
}

.game-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #cccccc;
}

.game-wrapper {
    background: #111;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    border: 2px solid #8B0000;
    position: relative;
}

.game-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.fullscreen-btn {
    background: linear-gradient(45deg, #8B0000, #ff0000);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

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

.fullscreen-btn:active {
    transform: translateY(0);
}

.fullscreen-icon {
    font-size: 16px;
}

.game-wrapper iframe {
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Fullscreen styles */
.game-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    padding: 10px;
    background: #000;
}

.game-wrapper.fullscreen iframe {
    height: calc(100vh - 60px);
    border-radius: 0;
}

.game-wrapper.fullscreen .fullscreen-btn {
    background: linear-gradient(45deg, #ff0000, #8B0000);
}

.game-wrapper.fullscreen .fullscreen-btn .btn-text::after {
    content: " Exit";
}

.game-wrapper.fullscreen .fullscreen-btn .fullscreen-icon {
    transform: rotate(45deg);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a0505 0%, #0a0a0a 100%);
}

.video-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.video-section p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #cccccc;
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #111;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    border: 2px solid #8B0000;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.video-grid iframe {
    border-radius: 10px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.9);
}

.about-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.about-features {
    background: rgba(139, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #8B0000;
}

.about-features h3 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-features ul {
    list-style: none;
}

.about-features li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.about-features li::before {
    content: "🩸";
    position: absolute;
    left: 0;
}

/* How to Play Section */
.how-to-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 100%);
}

.how-to-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.step {
    background: rgba(139, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #8B0000;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: #8B0000;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.step h3 {
    color: #8B0000;
    margin-bottom: 1rem;
}

.step p {
    color: #cccccc;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
}

.why-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.why-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.why-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.why-item-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.why-item-row.reverse .why-text {
    order: 2;
}

.why-item-row.reverse .why-image {
    order: 1;
}

.why-text {
    background: rgba(139, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #8B0000;
    transition: transform 0.3s ease;
}

.why-text:hover {
    transform: translateY(-5px);
}

.why-text h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-text p {
    color: #cccccc;
    line-height: 1.6;
}

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

.why-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    border: 2px solid #8B0000;
    transition: transform 0.3s ease;
}

.why-image img:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a0505 0%, #0a0a0a 100%);
}

.faq-section h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(139, 0, 0, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid #8B0000;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    color: #8B0000;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 0, 0, 0.1);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #000000;
    padding: 60px 0 20px;
    border-top: 2px solid #8B0000;
}

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

.footer-section h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    line-height: 1.6;
}

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

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8B0000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .why-item-row.reverse .why-text,
    .why-item-row.reverse .why-image {
        order: unset;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-wrapper iframe {
        height: 250px;
    }
    
    .game-wrapper iframe {
        height: 400px;
    }
    
    .game-wrapper.fullscreen iframe {
        height: calc(100vh - 80px);
    }
    
    .fullscreen-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .fullscreen-btn .btn-text {
        display: none;
    }
    
    .fullscreen-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .game-wrapper {
        padding: 10px;
        margin: 0 -10px;
    }
    
    .game-wrapper iframe {
        height: 300px;
    }
    
    .game-wrapper.fullscreen {
        padding: 5px;
    }
    
    .game-wrapper.fullscreen iframe {
        height: calc(100vh - 50px);
    }
    
    .game-controls {
        margin-bottom: 10px;
    }
    
    .fullscreen-btn {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    
    /* Touch-friendly game area */
    .game-section {
        padding: 60px 0;
    }
    
    .game-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .game-wrapper iframe {
        height: 70vh;
    }
    
    .game-wrapper.fullscreen iframe {
        height: calc(100vh - 40px);
    }
}

/* Prevent zoom on mobile */
@media (max-width: 768px) {
    .game-wrapper iframe {
        touch-action: manipulation;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .fullscreen-btn {
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}