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

body {
    font-family: 'Marcellus', serif;
    line-height: 1.6;
    color: #d4af37;
    background: 
        radial-gradient(circle at 25% 25%, #1a0f0a 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #0f1a0a 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

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

header {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.2),
        inset 0 -1px 0 rgba(0,0,0,0.5);
    border-bottom: 2px solid #8b4513;
}

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

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

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.6),
        inset 0 0 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.avatar:hover {
    border-color: #ffd700;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.8),
        inset 0 0 15px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.logo h1 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
    margin: 0;
}

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

.nav-links a {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.nav-links a:hover {
    color: #ffd700;
    background: rgba(212, 175, 55, 0.1);
    border-color: #8b4513;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.4),
        inset 0 0 10px rgba(212, 175, 55, 0.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

main {
    margin-top: 80px;
}

.hero {
    background: 
        radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #2c1810 0%, #1a0f0a 50%, #0f0808 100%);
    padding: 120px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
    font-weight: 700;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        3px 3px 6px rgba(0,0,0,0.8);
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-style: italic;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a0f0a;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease;
    border: 2px solid #8b4513;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: none;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 25px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

section {
    padding: 100px 0;
    position: relative;
}

.games-section {
    background: 
        linear-gradient(135deg, #1a0f0a 0%, #2c1810 50%, #1a0f0a 100%);
    border-top: 3px solid #8b4513;
    border-bottom: 3px solid #8b4513;
}

.games-section h2,
.portfolio-section h2,
.about-section h2,
.contact-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-shadow: 
        0 0 15px rgba(212, 175, 55, 0.6),
        2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

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

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.game-card {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #8b4513;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #8b4513, #d4af37);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.game-placeholder {
    background: 
        radial-gradient(circle, #3c2415 0%, #2c1810 100%);
    height: 220px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #8b4513;
    font-size: 1.2rem;
    border: 2px solid #8b4513;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.5);
}

.game-card h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.play-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: #d4af37;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.play-button:hover {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a0f0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.portfolio-section {
    background: 
        linear-gradient(135deg, #0f0808 0%, #1a0f0a 50%, #0f0808 100%);
}

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

.portfolio-item {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid #8b4513;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.portfolio-item:hover {
    border-color: #d4af37;
    box-shadow: 
        0 12px 35px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.portfolio-item h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.about-section {
    background: linear-gradient(135deg, #1a0f0a 0%, #2c1810 100%);
    text-align: center;
    border-top: 3px solid #8b4513;
    border-bottom: 3px solid #8b4513;
}

.about-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.8;
}

.contact-section {
    background: linear-gradient(135deg, #0f0808 0%, #1a0f0a 100%);
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

footer {
    background: linear-gradient(135deg, #1a0f0a 0%, #0f0808 100%);
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid #8b4513;
    font-family: 'Cinzel', serif;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    padding: 8px;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 3px solid #8b4513;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.mobile-active {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        width: 100%;
        border-radius: 0;
        border: none;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-card {
        margin: 0 1rem;
    }
    
    .games-section h2,
    .portfolio-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-item {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .games-section h2,
    .portfolio-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }
}