* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
}

.main-container { display: flex; height: 100vh; }

.left-panel {
    width: 35%;
    background: linear-gradient(135deg, #0a0e27, #16213e);
    padding: clamp(20px, 3vh, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.05), transparent);
    pointer-events: none;
}

.stars-container { position: absolute; inset: 0; pointer-events: none; }
.floating-star { position: absolute; background: #d4af37; border-radius: 50%; box-shadow: 0 0 8px rgba(212, 175, 55, 0.8); }

@keyframes float1 { 0%, 100% { transform: translate(0); opacity: 0.3; } 50% { transform: translate(-20px, -100px); opacity: 1; } }
@keyframes float2 { 0%, 100% { transform: translate(0); opacity: 0.4; } 50% { transform: translate(20px, 120px); opacity: 1; } }
@keyframes float3 { 0%, 100% { transform: translate(0) scale(1); opacity: 0.3; } 50% { transform: translate(40px, 40px) scale(1.2); opacity: 0.9; } }
@keyframes float4 { 0%, 100% { transform: translate(0); opacity: 0.5; } 50% { transform: translate(-50px, 100px) rotate(180deg); opacity: 1; } }

.left-panel-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; z-index: 2; }
.language-switcher { display: flex; gap: 10px; margin-bottom: 15px; z-index: 2; }

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: rgba(212, 175, 55, 0.7);
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.lang-btn:hover { border-color: #d4af37; color: #d4af37; background: rgba(212, 175, 55, 0.1); }
.lang-btn.active { background: #d4af37; color: #0a0e27; }

.main-title {
    font-size: clamp(3rem, 8vh, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    background: linear-gradient(45deg, #d4af37, #fff, #d4af37);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
    margin-bottom: 10px;
}

@keyframes shimmer { 0%, 100% { background-position: 0%; } 50% { background-position: 100%; } }

.subtitle {
    font-size: clamp(0.9rem, 1.5vh, 1.3rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4af37;
    opacity: 0.9;
}

.vidar-image-container {
    margin: 15px 0;
    padding: 25px;
    flex: 1;
    min-height: 0;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vidar-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(243, 125, 15, 0.4))
                drop-shadow(0 0 12px rgba(212, 175, 55, 0.2)); 
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(23, 28, 99, 0.6))
                drop-shadow(0 0 18px rgba(212, 175, 55, 0.3)); 
    }
}

.copyright {
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    z-index: 2;
}

.copyright p { color: rgba(212, 175, 55, 0.6); font-size: 0.85rem; margin: 5px 0; }
.copyright-sub { font-size: 0.7rem; color: rgba(212, 175, 55, 0.4); }

.right-panel { width: 65%; background: linear-gradient(135deg, #16213e, #0a0e27); }

.content-scroll {
    height: 100vh;
    overflow-y: auto;
    padding: 60px 80px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.content-scroll::-webkit-scrollbar { width: 8px; }
.content-scroll::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.3); border-radius: 4px; }

.story-block { margin-bottom: 50px; }
.story-block h2 { font-size: 2rem; color: #d4af37; margin-bottom: 20px; position: relative; display: inline-block; }
.story-block h2::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 60%; height: 2px; background: linear-gradient(90deg, #d4af37, transparent); }
.story-block p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 15px; }
.highlight { color: #d4af37; font-weight: 600; }
.quote { font-size: 1.2rem; font-style: italic; padding: 25px 30px; border-left: 4px solid #d4af37; background: rgba(212, 175, 55, 0.05); margin-top: 20px; }

@media (max-width: 1200px) {
    .left-panel { width: 40%; }
    .right-panel { width: 60%; }
    .content-scroll { padding: 40px 50px; }
}

@media (max-width: 768px) {
    .main-container { flex-direction: column; height: 100vh; }
    .left-panel { 
        width: 100%; 
        height: auto; 
        padding: 20px;
        flex-shrink: 0;
        overflow: visible;
    }
    .right-panel { width: 100%; flex: 1; overflow: hidden; }
    .left-panel-content { flex: none; }
    .content-scroll { 
        height: 100%; 
        overflow-y: auto; 
        padding: 30px 20px;
        scrollbar-width: thin;
        scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
    }
    .vidar-image-container { display: none; }
    .copyright { display: none; }
    .main-title { font-size: 3rem; display: block; }
    .subtitle { display: block; }
}
