@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;600;700&display=swap');

.scene {
    position: relative;
    min-height: 100vh;
    padding: 160px 40px 100px;
    background: 
        radial-gradient(ellipse at 50% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        url('../images/Main.png') center / cover no-repeat fixed;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.scene::before {
    content:""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 215, 0, 0.03) 49px, rgba(255, 215, 0, 0.03) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 215, 0, 0.03) 49px, rgba(255, 215, 0, 0.03) 50px);
    opacity: 0.4;
}

.scene::after {
    content:""; position: absolute; top: 0; left: 0; right: 0; height: 300px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    pointer-events: none; z-index: 0;
}

.content {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.hero-section {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #ffd700;
    margin-bottom: 14px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.12em;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}

.hero-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-container {
    background: linear-gradient(135deg, rgba(8, 10, 14, 0.92), rgba(16, 20, 32, 0.88));
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 215, 0, 0.18);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.info-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

.info-text {
    flex: 1;
}

.info-image {
    flex: 0 0 auto;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: inset 0 0 32px rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-container h1 {
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: 16px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.info-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 245, 245, 0.85);
    margin-bottom: 14px;
}

.section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.info-card {
    background: rgba(8, 10, 14, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 215, 0, 0.12);
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.info-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.info-card h2 {
    font-size: 1.6rem;
    color: #ffd700;
    margin-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.25);
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.82);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
        padding: 32px;
    }
    .section-row {
        grid-template-columns: 1fr;
    }
    .npc-grid {
        grid-template-columns: 1fr !important;
    }
}

/* NPC Characters Section */
.npc-section {
    width: 100%;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.section-title {
    font-size: 2.5rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.4);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.npc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.npc-card {
    background: linear-gradient(135deg, rgba(8, 10, 14, 0.95), rgba(16, 20, 32, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 215, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.npc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 36px rgba(255, 215, 0, 0.25);
}

.npc-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
}

.npc-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.npc-info {
    padding: 24px;
}

.npc-name {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.npc-role {
    font-size: 0.95rem;
    color: rgba(255, 215, 0, 0.7);
    margin-bottom: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.npc-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.85);
    margin-bottom: 16px;
}

.npc-purpose {
    padding: 12px 16px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #ffd700;
    border-radius: 4px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.npc-purpose strong {
    color: #ffd700;
    display: block;
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
}