/* ========================================
   Eternal Vow — Dedicated Page Styles
   ======================================== */

/* --- Hero --- */
.ev-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 40px;
}

.ev-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0a0000 0%, #000 50%, #0a0500 100%);
}

.ev-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 40%, rgba(232, 138, 0, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 30% 70%, rgba(180, 40, 0, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 30%, rgba(232, 138, 0, 0.03) 0%, transparent 60%);
}

.ev-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.ev-hero-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.ev-hero-title {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 900;
    letter-spacing: 6px;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-hero-tagline {
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.ev-hero-sub {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.ev-hero-meta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ev-meta-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border: 1px solid rgba(232, 138, 0, 0.3);
    color: var(--accent);
}

.ev-hero-platforms {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.ev-dot {
    margin: 0 8px;
    opacity: 0.3;
}

.ev-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- About --- */
.ev-about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: start;
}

.ev-about-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.ev-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--card-border);
}

.ev-info-item:last-child {
    border-bottom: none;
}

.ev-info-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.ev-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* --- Trailer --- */
.ev-trailer {
    background: var(--bg-secondary);
}

.ev-video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

.ev-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- Gallery / Carousel --- */
.ev-gallery {
    background: var(--bg-secondary);
    overflow: hidden;
}

.ev-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.ev-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.ev-carousel-slide {
    min-width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.ev-carousel-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border: 1px solid var(--card-border);
}

.ev-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(232, 138, 0, 0.3);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ev-carousel-btn:hover {
    background: rgba(232, 138, 0, 0.2);
    border-color: var(--accent);
}

.ev-carousel-prev {
    left: 8px;
}

.ev-carousel-next {
    right: 8px;
}

.ev-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding-bottom: 8px;
}

.ev-carousel-dot {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(232, 138, 0, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.ev-carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

.ev-carousel-dot:hover {
    border-color: var(--accent);
}

/* Lightbox */
.ev-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.ev-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.ev-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
}

.ev-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.ev-lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 960px) {
    .ev-carousel-slide {
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .ev-carousel-slide {
        padding: 0 16px;
    }
    .ev-carousel-btn {
        width: 36px;
        height: 36px;
    }
    .ev-carousel-prev { left: 4px; }
    .ev-carousel-next { right: 4px; }
}

/* --- Setting --- */
.ev-setting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ev-setting-card {
    padding: 40px 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
}

.ev-setting-card:hover {
    border-color: rgba(232, 138, 0, 0.3);
    transform: translateY(-4px);
}

.ev-setting-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.ev-setting-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ev-setting-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* --- Story --- */
.ev-story {
    background: var(--bg-secondary);
}

.ev-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.ev-story-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 20px;
}

/* --- Themes --- */
.ev-themes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ev-theme-card {
    padding: 32px 24px;
    border-left: 2px solid var(--accent);
    background: var(--card-bg);
}

.ev-theme-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ev-theme-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* --- Gameplay --- */
.ev-gameplay {
    background: var(--bg-secondary);
}

.ev-gameplay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ev-gp-card {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    position: relative;
    transition: all var(--transition);
}

.ev-gp-card:hover {
    border-color: rgba(232, 138, 0, 0.3);
}

.ev-gp-num {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 800;
    color: rgba(232, 138, 0, 0.1);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.ev-gp-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ev-gp-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* --- Combat --- */
.ev-combat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ev-combat-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 24px;
}

.ev-weapon {
    margin-bottom: 20px;
}

.ev-weapon h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ev-weapon p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Features --- */
.ev-features {
    background: var(--bg-secondary);
}

.ev-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ev-feature {
    padding: 32px 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
}

.ev-feature:hover {
    border-color: rgba(232, 138, 0, 0.3);
    transform: translateY(-4px);
}

.ev-feature-icon {
    display: block;
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 16px;
}

.ev-feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ev-feature p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* --- CTA --- */
.ev-cta {
    padding: 80px 0;
}

.ev-cta-inner {
    text-align: center;
    padding: 80px 40px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.ev-cta-inner h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.ev-cta-inner p {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.ev-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Fixed header on this page --- */
.header--dark {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .ev-hero { padding: 100px 24px; }

    .ev-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ev-setting-grid,
    .ev-combat-grid,
    .ev-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ev-themes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ev-story-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ev-gameplay-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ev-setting-grid,
    .ev-combat-grid,
    .ev-features-grid,
    .ev-themes-grid {
        grid-template-columns: 1fr;
    }

    .ev-gameplay-grid {
        grid-template-columns: 1fr;
    }

    .ev-hero-title {
        letter-spacing: 2px;
    }
}
