/* Specific styling for Reinos de Athermoor Page */

.game-page .navbar {
    background: rgba(3, 3, 5, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.game-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.game-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: brightness(0.4) contrast(1.1) saturate(0.85); /* Darker and more cinematic */
    animation: slowZoom 25s ease-in-out infinite alternate;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.video-overlay.dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3,4,8,0.2) 0%, rgba(2,2,4,0.95) 100%);
    z-index: -1;
}

.athermoor-logo {
    width: 600px;
    max-width: 90vw;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.1));
}

.lore-text {
    font-size: 1.35rem;
    color: #dfdfdf;
    max-width: 650px;
    margin-bottom: 3.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.9);
    letter-spacing: 0.5px;
}

/* Trailer Section */
.trailer-container {
    padding: 10rem 5% 5rem;
    background: #020204;
    position: relative;
    text-align: center;
}

.trailer-container::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #020204);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin: 0 auto 4rem auto;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(30px);
}

.video-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper:hover {
    transform: scale(1.015) translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.95), 0 0 50px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.6);
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 8px;
    background: #000;
}

.game-desc {
    max-width: 900px;
    font-size: 1.4rem;
    color: #e0e0e0;
    line-height: 1.9;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    font-style: italic;
    font-family: 'Cinzel', serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.game-desc.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features Grid */
.features-section {
    padding: 5rem 5% 8rem;
    background: #020204;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.3s; }
.feature-card:nth-child(3) { transition-delay: 0.5s; }

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 15, 22, 0.8);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

@media (max-width: 768px) {
    .athermoor-logo { width: 350px; }
    .lore-text { font-size: 1.1rem; }
    .trailer-container { padding-top: 5rem; }
    .game-desc { font-size: 1.1rem; }
}
