:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --accent: #e1ff00; /* Neon/Industri-gul */
    --text: #ffffff;
    --text-dim: #b0b0b0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* INTRO ANIMASJON */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.intro-container { position: relative; text-align: center; }

#intro-logo {
    width: 150px;
    filter: drop-shadow(0 0 10px var(--accent));
    animation: pulseLogo 1.5s ease-in-out;
}

#intro-portrait {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    border: 4px solid var(--accent);
    animation: portraitFade 1.5s forwards 1.8s;
}

@keyframes pulseLogo { 0% { transform: scale(0.8); opacity: 0; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes portraitFade { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* HOVEDINNHOLD */
.hidden { display: none; }
.profile-header { text-align: center; padding: 40px 20px; background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%); }
.small-profile-img { width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--accent); margin-bottom: 10px; }
h1 { font-size: 1.5rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.title { color: var(--accent); font-weight: bold; margin: 5px 0; }

/* TABS */
.tab-wrapper { position: sticky; top: 0; background: var(--bg); z-index: 10; border-bottom: 1px solid #333; }
.tab-nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 10px; gap: 10px; }
.tab-nav::-webkit-scrollbar { display: none; }

.tab-link {
    background: var(--card);
    border: 1px solid #333;
    color: var(--text-dim);
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-link i { font-size: 1.2rem; margin-bottom: 5px; }
.tab-link span { font-size: 0.7rem; text-transform: uppercase; }
.tab-link.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: bold; }

/* CONTENT */
.content-section { padding: 25px; min-height: 300px; }
.tab-content { display: none; animation: slideIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.contact-card { display: grid; gap: 15px; margin-top: 20px; }
.contact-item { background: var(--card); padding: 15px; border-radius: 15px; text-decoration: none; color: white; display: flex; align-items: center; gap: 15px; border-left: 4px solid var(--accent); }