/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Butcherman', cursive;
    line-height: 1.6;
    color: #ff6b35;
    background: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Infernal Background */
.infernal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.flames {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, 
        rgba(255, 0, 0, 0.1) 0%, 
        rgba(255, 69, 0, 0.1) 25%, 
        rgba(255, 140, 0, 0.1) 50%, 
        rgba(255, 69, 0, 0.1) 75%, 
        rgba(255, 0, 0, 0.1) 100%);
    animation: flameFlicker 2s ease-in-out infinite alternate;
}

.embers {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(2px 2px at 20px 30px, #ff4500, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255, 69, 0, 0.8), transparent),
                radial-gradient(1px 1px at 90px 40px, #ff6347, transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(255, 99, 71, 0.6), transparent),
                radial-gradient(2px 2px at 160px 30px, #ff4500, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: emberFloat 6s ease-in-out infinite;
}

.smoke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(105, 105, 105, 0.1) 0%, 
        rgba(169, 169, 169, 0.1) 25%, 
        rgba(128, 128, 128, 0.1) 50%, 
        rgba(105, 105, 105, 0.1) 75%, 
        rgba(64, 64, 64, 0.1) 100%);
    animation: smokeRise 8s ease-in-out infinite;
}

@keyframes flameFlicker {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

@keyframes emberFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes smokeRise {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #ff4500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    animation: firePulse 1.5s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.logo-text h1 {
    font-family: 'Creepster', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    background: linear-gradient(45deg, #ff4500, #ff6347, #ff8c00, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.8);
    animation: textFlicker 3s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.tagline {
    color: #ff6347;
    font-size: 0.9rem;
    margin-left: 5px;
    font-weight: 400;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff4500;
    background: rgba(255, 69, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff4500, #ff6347);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #ff4500, #ff6347);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    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 center, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #ff4500, #ff6347, #ff8c00);
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: badgeBurn 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
}

@keyframes badgeBurn {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 69, 0, 0.6); }
    50% { box-shadow: 0 0 50px rgba(255, 99, 71, 0.8); }
}

.hero-content h2 {
    font-family: 'Nosifer', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff4500, #ff6347, #ff8c00, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 69, 0, 0.8);
    animation: titleBurn 4s ease-in-out infinite;
}

@keyframes titleBurn {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ff8c69;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.infernal-notices {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.infernal-notice {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 69, 0, 0.1);
    border: 2px solid rgba(255, 69, 0, 0.4);
    border-radius: 30px;
    font-weight: 600;
    color: #ff4500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.infernal-notice:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
}

.notice-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Game Section */
.game-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-family: 'Creepster', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff4500, #ff6347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ff8c69;
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.game-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.5);
    border: 3px solid rgba(255, 69, 0, 0.4);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 69, 0, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 69, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.4);
    border-color: rgba(255, 69, 0, 0.6);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: iconBurn 3s ease-in-out infinite;
}

@keyframes iconBurn {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.feature-card h4 {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ff4500;
}

.feature-card p {
    color: #ff8c69;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Infernal Info Section */
.infernal-info {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(255, 99, 71, 0.1) 100%);
}

.info-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    font-family: 'Creepster', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #ff4500;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

.info-content p {
    font-size: 1.2rem;
    color: #ff8c69;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 3px solid #ff4500;
    padding: 4rem 0 2rem;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-section h4 {
    font-family: 'Creepster', cursive;
    color: #ff4500;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ff8c69;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: #ff4500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 69, 0, 0.4);
    color: #8a5a44;
    font-size: 1rem;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #ff4500;
    border: 2px solid #ff4500;
}

.btn-secondary:hover {
    background: #ff4500;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.5);
}

/* Modal Styles */
.modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d1b1b 100%);
    margin: auto;
    padding: 3rem;
    border: 3px solid #ff4500;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 69, 0, 0.1), transparent);
    animation: modalBurn 3s ease-in-out infinite;
}

@keyframes modalBurn {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.modal-header {
    margin-bottom: 1.5rem;
}

.infernal-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fireSpin 4s linear infinite;
}

@keyframes fireSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-content h2 {
    font-family: 'Creepster', cursive;
    color: #ff4500;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
}

.modal-content p {
    color: #ff8c69;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-infernal, .btn-escape {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-infernal {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    color: #000;
}

.btn-infernal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.5);
}

.btn-escape {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-escape:hover {
    background: #ff6b6b;
    color: #000;
    transform: translateY(-2px);
}

/* 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.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 3px solid #ff4500;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .infernal-notices {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-text h1 {
        font-size: 2.2rem;
    }
}