/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --color-deep-purple: #2a0a2f;
    --color-dark-magenta: #6b215e;
    --color-pink: #ec4899;
    --color-soft-lavender: #f8e1f4;
    --color-white: #ffffff;
    --color-glass-bg: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.3);
    --color-error: #ff6b6b;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    overflow: hidden;
    background-color: var(--color-deep-purple);
}

/* =========================================
   APP CONTAINER & BACKGROUND
   ========================================= */
.app-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background-image: url('assets/motyf-background.png');
    background-size: 110% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--color-deep-purple);
    overflow: hidden;
}

.app-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(42, 10, 47, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}
.app-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.253); /* Tint gelap — adjust nilai ni */
    pointer-events: none;
    z-index: 2;
}

/* =========================================
   SCENE MANAGEMENT
   ========================================= */
.scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    transform: scale(0.98);
    z-index: 1;
}

.scene.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

/* =========================================
   LANDING SCENE
   ========================================= */
#landingScene { justify-content: space-between; }

/* Update untuk balance nav tanpa brand logo */
.top-nav {
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: flex-end; /* Login button ke kanan */
    align-items: center;
    position: relative;
    z-index: 10;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.9);
    user-select: none;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}

.login-button {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-glass-border);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    outline: none;
}

.login-button:hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.login-button:active { transform: translateY(0) scale(0.98); }

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    padding: 0 1rem;
    margin-top: 0;
    width: 100%;
}

/* 3 Logo — absolute dari atas landing scene */
.hero-logos {
    position: absolute;
    top: 4rem; /* Turun dari 7rem → 6rem (naik lagi) */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Gap lebih luas sikit */
    z-index: 15;
}

.hero-logo {
    width: clamp(110px, 12vw, 160px); /* Besarkan dari 90-130px */
    height: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
    animation: logoGlowMove 3s ease-in-out infinite;
}

/* Efek cahaya bergerak pada outline */
@keyframes logoGlowMove {
    0% {
        filter: 
            drop-shadow(0 0 8px rgba(59, 130, 246, 0.8))
            drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    }
    25% {
        filter: 
            drop-shadow(0 0 12px rgba(168, 85, 247, 0.9))
            drop-shadow(0 0 25px rgba(168, 85, 247, 0.6));
    }
    50% {
        filter: 
            drop-shadow(0 0 15px rgba(236, 72, 153, 1))
            drop-shadow(0 0 30px rgba(236, 72, 153, 0.7));
    }
    75% {
        filter: 
            drop-shadow(0 0 12px rgba(251, 191, 36, 0.9))
            drop-shadow(0 0 25px rgba(251, 191, 36, 0.6));
    }
    100% {
        filter: 
            drop-shadow(0 0 8px rgba(59, 130, 246, 0.8))
            drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    }
}

/* Stagger delay — setiap logo ada timing berbeza */
.hero-logos .hero-logo:nth-child(1) { animation-delay: 0s; }
.hero-logos .hero-logo:nth-child(2) { animation-delay: 0.5s; }
.hero-logos .hero-logo:nth-child(3) { animation-delay: 1s; }

.hero-logo:hover {
    transform: scale(1.15);
}



.journey-button {
    position: relative;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(135deg, #a855f7, #ec4899, #a855f7);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    padding: 1.1rem 2.8rem;
    cursor: pointer;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    outline: none;
    overflow: hidden;
    z-index: 20;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
    animation: 
        gradientShift 4s ease infinite,
        buttonPulse 2.5s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* Shimmer - cahaya melintas */
.journey-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Efek secondary glow */
.journey-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    background: linear-gradient(135deg, #a855f7, #ec4899, #fbbf24, #a855f7);
    background-size: 300% 300%;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.8;
    animation: gradientShift 4s ease infinite;
    pointer-events: none;
}

/* Gradient bergerak */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse glow */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(236, 72, 153, 0.9),
            0 0 60px rgba(168, 85, 247, 0.6);
    }
}

/* Shimmer bergerak */
@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* Hover */
.journey-button:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.05);
    box-shadow: 
        0 0 50px rgba(236, 72, 153, 1),
        0 0 80px rgba(168, 85, 247, 0.7),
        0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Active */
.journey-button:active {
    transform: translateX(-50%) translateY(-1px) scale(0.98);
}

.bottom-tagline {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    padding-bottom: 1.5rem;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-soft-lavender);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    user-select: none;
    opacity: 0.85;
}

/* =========================================
   AUTH SCENES (LOGIN & SIGNUP & CAREER)
   ========================================= */
#loginScene, #signupScene, #careerQuestionScene, #reasonQuestionScene {
    justify-content: center;
    background: rgba(42, 10, 47, 0.3);
    backdrop-filter: blur(4px);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(42, 10, 47, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    text-align: center;
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    max-height: 92vh;
    overflow-y: auto;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.back-btn {
    display: inline-block;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    color: var(--color-soft-lavender);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.back-btn:hover {
    color: var(--color-white);
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--color-pink);
    transform: translateX(-3px);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.back-btn:active {
    transform: translateX(0) scale(0.97);
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-soft-lavender);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input { padding-right: 3rem; }

.eye-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.eye-btn:hover { color: var(--color-white); }

.error-msg {
    display: block;
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    min-height: 1rem;
}

.auth-submit-btn {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    border: none;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
}

.auth-submit-btn:active { transform: scale(0.98); }

.auth-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
}

.auth-switch a {
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 600;
    transition: text-shadow 0.3s;
}

.auth-switch a:hover { text-shadow: 0 0 10px rgba(236, 72, 153, 0.8); }

/* =========================================
   CAREER QUESTION SCENE
   ========================================= */
.career-card { max-width: 520px; }

.user-greeting {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-pink);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.career-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.career-option-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-white);
    font-family: var(--font-body);
    text-align: center;
    overflow: hidden;
}

.career-option-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.career-option-btn:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4), 0 0 40px rgba(236, 72, 153, 0.3);
}

.career-option-btn:hover::before { opacity: 1; }
.career-option-btn:active { transform: translateY(-2px) scale(0.99); }
.career-option-btn > * { position: relative; z-index: 1; }

.option-icon {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-pink);
    margin-bottom: 0.2rem;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.8);
}

.yes-btn .option-icon {
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.8);
}

.option-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-white);
}

.option-desc {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.2rem;
}

/* =========================================
   REASON QUESTION SCENE
   ========================================= */
.reason-card { max-width: 560px; }

.reason-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.5rem;
    text-align: left;
}

.reason-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: left;
}

.reason-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.reason-option.selected {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.35));
    border-color: var(--color-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.reason-check {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.reason-option.selected .reason-check {
    color: var(--color-pink);
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.9);
}

.reason-text { flex-grow: 1; line-height: 1.3; }

/* =========================================
   CAREER EXPLORATION SCENE
   ========================================= */
#careerExplorationScene { justify-content: center; }

.exploration-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding: 2.5rem 2rem;
    margin: 0 1rem;
    background: rgba(42, 10, 47, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    text-align: center;
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    max-height: 92vh;
    overflow-y: auto;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.career-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-white);
    font-family: var(--font-body);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.career-cluster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.career-cluster > * { position: relative; z-index: 1; }

.career-cluster:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.career-cluster:hover::before { opacity: 1; }

.career-cluster.selected {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5));
    border-color: var(--color-pink);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
}

.career-cluster.selected::after {
    content: '✓';
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 24px;
    height: 24px;
    background: var(--color-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.9);
}

.cluster-icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.6));
}

.cluster-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white);
    line-height: 1.2;
}

.cluster-desc {
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
    margin-top: 0.2rem;
}

/* =========================================
   GAME SCENE
   ========================================= */
#gameScene { justify-content: center; }

.game-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 2.5rem 2rem;
    margin: 0 1rem;
    background: rgba(42, 10, 47, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    text-align: center;
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    max-height: 92vh;
    overflow-y: auto;
    transition: max-width 0.4s ease;
}

#gameScene .game-container:has(.gdevelop-game[style*="flex"]) {
    max-width: 900px;
}

/* Cinematic Journey */
.journey-begin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    animation: fadeInScale 0.8s ease-out both;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.journey-icon {
    font-size: 4rem;
    color: var(--color-pink);
    text-shadow: 0 0 30px rgba(236, 72, 153, 1), 0 0 60px rgba(168, 85, 247, 0.8);
    animation: pulseGlow 2s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: scale(1); 
        text-shadow: 0 0 30px rgba(236, 72, 153, 1), 0 0 60px rgba(168, 85, 247, 0.8);
    }
    50% { 
        transform: scale(1.15); 
        text-shadow: 0 0 50px rgba(236, 72, 153, 1), 0 0 100px rgba(168, 85, 247, 1);
    }
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

.journey-text {
    font-size: 0.95rem;
    color: var(--color-soft-lavender);
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 2rem;
    font-weight: 300;
}

.journey-loading {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.9);
    animation: bounceDot 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceDot {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.journey-subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    letter-spacing: 1px;
}

/* GDevelop Game */
.gdevelop-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    animation: fadeInScale 0.8s ease-out both;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

.game-desc {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .top-nav { flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 1rem; }
    .nav-links { order: 3; width: 100%; justify-content: center; gap: 1.5rem; margin-top: 0.5rem; }
}

@media (max-width: 768px) {
    .brand-logo { font-size: 1.8rem; }
    .hero-logos { gap: 1.2rem; }
    .hero-logo { width: 65px; height: auto; }
    .hero-title { letter-spacing: 2px; }
    .nav-links a { font-size: 0.85rem; }
    .app-container { background-size: cover; background-position: center bottom; }
    .career-grid { grid-template-columns: repeat(2, 1fr); }
    .exploration-container { padding: 2rem 1.2rem; }
}

@media (max-width: 480px) {
    .brand-logo { font-size: 1.5rem; }
    .hero-logos { gap: 0.8rem; }
    .hero-logo { width: 50px; }
    .hero-subtitle { font-size: 0.85rem; padding: 0 1rem; }
    .journey-button { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.75rem; }
    .auth-card { padding: 2rem 1.5rem; margin: 0 1rem; width: calc(100% - 2rem); }
    .auth-title { font-size: 1.5rem; }
    .career-grid { grid-template-columns: 1fr; gap: 0.7rem; }
    .career-cluster { padding: 1rem; flex-direction: row; text-align: left; gap: 0.9rem; }
    .cluster-icon { font-size: 1.6rem; margin-bottom: 0; }
    .game-container { padding: 2rem 1.2rem; }
    .journey-icon { font-size: 3rem; }
    .journey-title { font-size: 1.4rem; }
}
/* =========================================
   USER PROFILE (TOP NAV)
   ========================================= */
.user-profile {
    position: relative;
    z-index: 100;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--color-glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-glass-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-white);
    font-family: var(--font-body);
    outline: none;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
}

.user-class {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-soft-lavender);
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--color-soft-lavender);
    transition: transform 0.3s ease;
}

.user-profile.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: rgba(42, 10, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.user-profile.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(168, 85, 247, 0.25);
    transform: translateX(3px);
}

.dropdown-item .dropdown-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.4rem 0.5rem;
}

.logout-item {
    color: #ff8b8b;
}

.logout-item:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ffb3b3;
}

/* Responsive */
@media (max-width: 768px) {
    .user-info {
        display: none;
    }

    .user-profile-btn {
        padding: 0.4rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .dropdown-arrow {
        display: none;
    }
}
/* =========================================
   USER DASHBOARD
   ========================================= */
#dashboardScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.4);
    backdrop-filter: blur(4px);
}

.dashboard-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    margin: auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--color-white);
    margin: 0 auto 1rem;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dashboard-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.dashboard-class {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    font-weight: 300;
}

/* Kod IMK Card */
.dashboard-imk-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.imk-label {
    font-size: 0.8rem;
    color: var(--color-soft-lavender);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.imk-code-display {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 10px;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.9), 0 0 50px rgba(168, 85, 247, 0.6);
    margin-bottom: 0.5rem;
}

.imk-meaning {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
}

/* Stats Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.4);
    transform: translateY(-3px);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.card-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.card-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.2;
    word-break: break-word;
}

/* Sections */
.dashboard-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

/* Reasons List */
.reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.reason-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-white);
}

.reason-tag::before {
    content: '●';
    color: var(--color-pink);
    font-size: 0.6rem;
}

/* Progress List */
.progress-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.progress-item.done {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
}

.progress-item.pending {
    opacity: 0.6;
}

.progress-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.progress-item.done .progress-check {
    background: rgba(74, 222, 128, 0.3);
    border-color: #4ade80;
    color: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.progress-text {
    font-size: 0.9rem;
    color: var(--color-white);
    flex-grow: 1;
}

.progress-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-item.done .progress-status {
    color: #4ade80;
}

/* Responsive */
@media (max-width: 640px) {
    .dashboard-container {
        padding: 2rem 1.2rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem;
    }

    .card-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .card-label {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .card-value {
        margin-left: auto;
        text-align: right;
    }

    .imk-code-display {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }

    .dashboard-name {
        font-size: 1.3rem;
    }

    .dashboard-avatar {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
}
/* =========================================
   USER PROFILE SCENE
   ========================================= */
#profileScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.4);
    backdrop-filter: blur(4px);
}

.profile-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    margin: auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.3rem;
    color: var(--color-white);
    margin: 0 auto 1rem;
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}

.profile-class {
    font-size: 0.95rem;
    color: var(--color-soft-lavender);
    font-weight: 300;
}

/* Info Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.info-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.info-label-inline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    word-break: break-word;
}

/* Profile Sections */
.profile-section {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-section-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.profile-imk-display {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 10px;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 16px;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.9);
    margin-bottom: 0.7rem;
}

.profile-imk-meaning {
    font-size: 0.85rem;
    color: var(--color-soft-lavender);
    text-align: center;
    font-style: italic;
}

.profile-dream-career {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 0.7rem;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.profile-dream-reason {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    line-height: 1.6;
    font-style: italic;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--color-pink);
    border-radius: 8px;
}

/* Actions */
.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-btn {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.secondary-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--color-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.danger-btn {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ff8b8b;
}

.danger-btn:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    color: #ffb3b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
    .profile-container {
        padding: 2rem 1.2rem;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-name {
        font-size: 1.4rem;
    }

    .profile-avatar {
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
    }

    .profile-imk-display {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .profile-actions {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   EDIT PROFILE SCENE
   ========================================= */
#editProfileScene {
    justify-content: center;
    background: rgba(42, 10, 47, 0.3);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.edit-profile-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 460px;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.field-hint {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.3rem;
    font-style: italic;
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: rgba(42, 10, 47, 0.7);
    font-size: 0.75rem;
    color: var(--color-soft-lavender);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.success-msg {
    color: #4ade80;
    font-size: 0.85rem;
    padding: 0.6rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 10px;
    margin-top: 0.5rem;
    animation: fadeInUp 0.5s ease-out;
}

.success-msg:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

@media (max-width: 480px) {
    .edit-profile-container {
        padding: 2rem 1.2rem;
    }
}
/* =========================================
   BACK BUTTON KHAS - EDIT PROFILE
   ========================================= */
.edit-back-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(236, 72, 153, 0.6);
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    width: fit-content;
    z-index: 9999;
}

.edit-back-btn:hover {
    background: rgba(236, 72, 153, 0.5);
    border-color: #ec4899;
    transform: translateX(-4px);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.7);
}

.edit-back-btn:active {
    transform: translateX(0) scale(0.97);
}
/* =========================================
   CODE SCENE (KOD HOLLAND + KERJAYA)
   ========================================= */
#codeScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.4);
    backdrop-filter: blur(4px);
}

.code-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    margin: auto;
}

/* Header Kod Holland */
.code-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-holland-label {
    font-size: 0.85rem;
    color: var(--color-soft-lavender);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.code-holland-display {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 15px;
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.9), 0 0 60px rgba(168, 85, 247, 0.6);
    margin-bottom: 1rem;
    padding-left: 15px;
}

.code-holland-meanings {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.holland-meaning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    min-width: 100px;
}

.holland-meaning-letter {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-pink);
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.7);
}

.holland-meaning-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Filter Buttons */
.code-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(236, 72, 153, 0.5);
}

.filter-btn.active {
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    border-color: var(--color-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    color: var(--color-white);
    font-weight: 600;
}

.code-filter-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-soft-lavender);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.code-filter-note strong {
    color: var(--color-pink);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Career Grid */
.career-grid-code {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 2rem;
    min-height: 200px;
}

.career-card-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.3rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    animation: fadeInUp 0.5s ease-out both;
}

.career-card-code:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.career-card-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.6));
}

.career-card-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.career-card-cluster {
    font-size: 0.65rem;
    color: var(--color-pink);
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.career-card-code-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--color-soft-lavender);
    letter-spacing: 2px;
    font-weight: 700;
}

.career-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}



.code-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-soft-lavender);
    font-style: italic;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 640px) {
    .code-container {
        padding: 2rem 1.2rem;
    }

    .code-holland-display {
        font-size: 2.8rem;
        letter-spacing: 10px;
        padding-left: 10px;
    }

    .holland-meaning {
        min-width: 80px;
        padding: 0.5rem 0.8rem;
    }

    .career-grid-code {
        grid-template-columns: repeat(2, 1fr);
    }


    .filter-btn {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}
/* =========================================
   GLOBAL USER PROFILE (Muncul di semua scene)
   ========================================= */
.global-user-profile {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 9999;
    font-family: var(--font-body);
    pointer-events: auto;
}

.global-user-profile .user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: rgba(42, 10, 47, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-white);
    font-family: var(--font-body);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.global-user-profile .user-profile-btn:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: var(--color-pink);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
    transform: translateY(-2px);
}

.global-user-profile .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, var(--color-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.global-user-profile .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.global-user-profile .user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
}

.global-user-profile .user-class {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-soft-lavender);
    white-space: nowrap;
}

.global-user-profile .dropdown-arrow {
    font-size: 0.7rem;
    color: var(--color-soft-lavender);
    transition: transform 0.3s ease;
}

.global-user-profile.open .dropdown-arrow {
    transform: rotate(180deg);
}

.global-user-profile .user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: rgba(42, 10, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.global-user-profile.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.global-user-profile .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.global-user-profile .dropdown-item:hover {
    background: rgba(168, 85, 247, 0.25);
    transform: translateX(3px);
}

.global-user-profile .dropdown-item .dropdown-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.global-user-profile .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.4rem 0.5rem;
}

.global-user-profile .logout-item {
    color: #ff8b8b;
}

.global-user-profile .logout-item:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ffb3b3;
}

/* Responsive */
@media (max-width: 768px) {
    .global-user-profile {
        top: 1rem;
        right: 1rem;
    }

    .global-user-profile .user-info {
        display: none;
    }

    .global-user-profile .user-profile-btn {
        padding: 0.4rem;
    }

    .global-user-profile .dropdown-arrow {
        display: none;
    }
}
/* =========================================
   ADMIN LOGIN SCENE
   ========================================= */
#adminLoginScene {
    justify-content: center;
    background: rgba(42, 10, 47, 0.5);
    backdrop-filter: blur(4px);
}

.admin-login-card {
    max-width: 420px;
}

/* =========================================
   ADMIN DASHBOARD SCENE
   ========================================= */
#adminDashboardScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.5);
    backdrop-filter: blur(4px);
}

.admin-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
}

.admin-subtitle {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    font-style: italic;
}

/* Summary Cards */
.admin-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.summary-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.6));
}

.summary-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.summary-label {
    font-size: 0.75rem;
    color: var(--color-soft-lavender);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-percent {
    font-size: 0.7rem;
    color: #4ade80;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Charts */
.admin-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-chart-card {
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
}

.chart-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.chart-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chart-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chart-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-white);
}

.chart-item-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
}

.chart-item-bar {
    height: 100%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 50px;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.chart-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 0.85rem;
    padding: 1rem;
}

/* Student Table */
.admin-table-card {
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.export-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.7);
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th {
    text-align: left;
    padding: 0.8rem;
    color: var(--color-soft-lavender);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 0.8rem;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tr:hover td {
    background: rgba(168, 85, 247, 0.1);
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-ya {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.badge-tidak {
    background: rgba(255, 107, 107, 0.2);
    color: #ff8b8b;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.badge-code {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.4);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 640px) {
    .admin-title { font-size: 1.4rem; }
    .summary-value { font-size: 1.5rem; }
    .summary-icon { font-size: 1.5rem; }
    .admin-charts { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.75rem; }
    .admin-table th, .admin-table td { padding: 0.5rem; }
}
/* =========================================
   CAREER DETAIL MODAL
   ========================================= */
.career-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.career-modal.open {
    opacity: 1;
    visibility: visible;
}

.career-modal-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(42, 10, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(236, 72, 153, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-modal.open .career-modal-content {
    transform: scale(1) translateY(0);
}

.career-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    transform: rotate(90deg);
}

/* Header */
.career-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.career-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.7));
}

.career-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.7);
}

.career-modal-badges {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Body */
.career-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.career-modal-section-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-soft-lavender);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.career-modal-text {
    font-size: 0.9rem;
    color: var(--color-white);
    line-height: 1.6;
    font-weight: 300;
}

/* Grid Info */
.career-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.career-modal-info {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.info-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

/* Tags */
.career-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.career-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.career-tag:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: var(--color-pink);
    transform: translateY(-2px);
}

/* Make career cards clickable */
.career-card-code {
    cursor: pointer;
}

.career-card-code:active {
    transform: translateY(-2px) scale(0.98);
}

/* Responsive */
@media (max-width: 480px) {
    .career-modal-content {
        padding: 1.5rem 1.2rem;
    }
    
    .career-modal-title {
        font-size: 1.3rem;
    }
    
    .career-modal-icon {
        font-size: 2.8rem;
    }
    
    .career-modal-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   CAREER MODAL — EXTRA STYLING
   ========================================= */
.career-modal-info {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-modal-info .info-value {
    font-size: 0.85rem;
    line-height: 1.3;
}

.career-modal-text {
    font-size: 0.85rem;
    line-height: 1.6;
}

.career-modal-section {
    margin-bottom: 0.3rem;
}

.career-modal-section:last-child {
    margin-bottom: 0;
}
/* =========================================
   CODE SCENE — CATEGORY TABS
   ========================================= */
.code-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(42, 10, 47, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 90px;
}

.category-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-3px);
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.6), rgba(236, 72, 153, 0.6));
    border-color: var(--color-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.cat-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.cat-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.code-filter-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-soft-lavender);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.code-filter-note strong {
    color: var(--color-pink);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 640px) {
    .code-categories {
        gap: 0.4rem;
        padding: 0.7rem;
    }
    
    .category-btn {
        padding: 0.5rem 0.7rem;
        min-width: 70px;
    }
    
    .cat-icon {
        font-size: 1.1rem;
    }
    
    .cat-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .category-btn {
        padding: 0.4rem 0.5rem;
        min-width: 60px;
    }
    
    .cat-icon {
        font-size: 1rem;
    }
    
    .cat-name {
        font-size: 0.6rem;
    }
}
/* =========================================
   HERO MAIN LOGO (PNG)
   ========================================= */
.hero-main-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(400px, 55vw, 800px);
    height: auto;
    object-fit: contain;
    
    /* Multi-layer glow + shadow */
    filter: 
        drop-shadow(0 0 20px rgba(59, 130, 246, 0.9))
        drop-shadow(0 0 40px rgba(168, 85, 247, 0.7))
        drop-shadow(0 0 80px rgba(236, 72, 153, 0.5))
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    
    z-index: 10;
    pointer-events: none;
    
    /* Fade in + float + pulse */
    animation: 
        logoFadeIn 1s ease-out both, 
        logoFloat 3s ease-in-out infinite 1s,
        logoPulse 2.5s ease-in-out infinite 1s;
}

@keyframes logoFadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.85); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        transform: translate(-50%, -53%) scale(1.03); 
    }
}

@keyframes logoPulse {
    0%, 100% {
        filter: 
            drop-shadow(0 0 20px rgba(59, 130, 246, 0.9))
            drop-shadow(0 0 40px rgba(168, 85, 247, 0.7))
            drop-shadow(0 0 80px rgba(236, 72, 153, 0.5))
            drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    }
    50% {
        filter: 
            drop-shadow(0 0 30px rgba(59, 130, 246, 1))
            drop-shadow(0 0 60px rgba(168, 85, 247, 0.9))
            drop-shadow(0 0 120px rgba(236, 72, 153, 0.7))
            drop-shadow(0 15px 40px rgba(0, 0, 0, 0.7));
    }
}

/* Button di bawah */
.hero-content .journey-button {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.hero-content .journey-button:hover {
    transform: translateX(-50%) translateY(-3px) scale(1.04);
}

.hero-content .journey-button:active {
    transform: translateX(-50%) translateY(0) scale(0.97);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-main-logo {
        width: clamp(260px, 70vw, 400px);
    }
    
    .hero-content .journey-button {
        bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-main-logo {
        width: clamp(220px, 80vw, 320px);
    }
}
/* =========================================
   ABOUT SCENE
   ========================================= */
#aboutScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.5);
    backdrop-filter: blur(6px);
}

.about-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 2.5rem 2rem;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.7));
    animation: pulse 2s ease-in-out infinite;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
}

.about-subtitle {
    font-size: 0.95rem;
    color: var(--color-soft-lavender);
    font-style: italic;
    letter-spacing: 1px;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.about-text strong {
    color: var(--color-pink);
    font-weight: 600;
}

/* Misi Kami */
.about-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.3rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-3px);
}

.mission-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.mission-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.mission-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.about-feature {
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--color-pink);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.about-feature .feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.about-feature .feature-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.about-feature .feature-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* CTA */
.about-cta {
    text-align: center;
    padding: 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 16px;
}

.about-cta-text {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-cta .auth-submit-btn {
    max-width: 350px;
    margin: 0 auto;
}

.about-footer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding-top: 0.5rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 640px) {
    .about-container {
        padding: 2rem 1.2rem;
    }

    .about-title { font-size: 1.5rem; }
    .about-icon { font-size: 2.8rem; }
    .about-mission { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
}
/* =========================================
   EXPLORE SCENE
   ========================================= */
#exploreScene {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(42, 10, 47, 0.5);
    backdrop-filter: blur(6px);
}

.explore-container-scene {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 2.5rem 2rem;
    background: rgba(42, 10, 47, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Header */
.explore-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-icon {
    font-size: 3rem;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.7));
    animation: pulse 2s ease-in-out infinite;
}

.explore-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
}

.explore-subtitle {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    font-style: italic;
}

/* Clusters Grid */
.clusters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cluster-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cluster-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cluster-card > * {
    position: relative;
    z-index: 1;
}

.cluster-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.cluster-card:hover::before {
    opacity: 1;
}

.cluster-card-icon {
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.6));
}

.cluster-card-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.cluster-card-count {
    font-size: 0.75rem;
    color: var(--color-soft-lavender);
    font-style: italic;
    margin-top: 0.3rem;
}

/* Back to Clusters Button */
.back-to-clusters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.back-to-clusters-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--color-pink);
    transform: translateX(-4px);
}

.explore-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-soft-lavender);
    font-style: italic;
    letter-spacing: 2px;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .explore-container-scene { padding: 2rem 1.2rem; }
    .explore-title { font-size: 1.4rem; }
    .clusters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .explore-icon { font-size: 2.4rem; }
    .clusters-grid { grid-template-columns: 1fr; }
    .cluster-card { padding: 1.5rem 1rem; flex-direction: row; text-align: left; gap: 1rem; }
    .cluster-card-icon { font-size: 2rem; margin-bottom: 0; }
}
/* =========================================
   GUIDE TUTORIAL OVERLAY
   ========================================= */
.guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    font-family: var(--font-body);
}

/* Spotlight — "lubang" cahaya pada element */
.guide-spotlight {
    position: fixed;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(10, 3, 20, 0.82);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 99998;
    border: 2px solid rgba(236, 72, 153, 0.7);
}

.guide-spotlight.center {
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 0 9999px rgba(10, 3, 20, 0.85);
    border: none;
}

/* Arrow — anak panah */
.guide-arrow {
    position: fixed;
    z-index: 99999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.guide-arrow.arrow-top {
    transform: translate(-50%, 0);
}

.guide-arrow.arrow-bottom {
    transform: translate(-50%, 0) rotate(180deg);
}

.arrow-shape {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid var(--color-pink);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.9));
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Caption box */
.guide-caption {
    position: fixed;
    z-index: 100000;
    background: rgba(42, 10, 47, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.5);
    border-radius: 18px;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(236, 72, 153, 0.3);
    max-width: 360px;
    min-width: 280px;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: captionFadeIn 0.4s ease-out;
}

@keyframes captionFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.guide-progress {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--color-pink);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.guide-caption-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.guide-caption-text {
    font-size: 0.9rem;
    color: var(--color-soft-lavender);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.guide-caption-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

.guide-skip-btn {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-skip-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.guide-next-btn {
    padding: 0.6rem 1.3rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.guide-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
}

/* Responsive */
@media (max-width: 640px) {
    .guide-caption {
        max-width: calc(100% - 2rem);
        min-width: auto;
        padding: 1.1rem 1.2rem;
    }
    
    .guide-caption-title {
        font-size: 1rem;
    }
    
    .guide-caption-text {
        font-size: 0.85rem;
    }
}
/* =========================================
   GLOBAL BRAND LOGO (Muncul di semua scene)
   ========================================= */
.global-brand-logo {
    position: fixed;
    top: 1.5rem;
    left: 3rem;
    z-index: 9999;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.9);
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.global-brand-logo:hover {
    color: var(--color-pink);
    text-shadow: 0 0 25px rgba(236, 72, 153, 1), 0 0 40px rgba(168, 85, 247, 0.8);
    transform: scale(1.05);
}

.global-brand-logo:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .global-brand-logo {
        top: 1rem;
        left: 1.5rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .global-brand-logo {
        font-size: 1.4rem;
    }
}
/* =========================================
   ASK AI BUTTON (Dalam Career Modal)
   ========================================= */
/* =========================================
   CAREER MODAL — FOOTER (AI + OK)
   ========================================= */
.career-modal-footer {
    display: flex;
    gap: 0.7rem;
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(42, 10, 47, 0.98) 60%,
        rgba(42, 10, 47, 0.7) 90%,
        transparent 100%
    );
    padding-bottom: 0.5rem;
}

/* Butang AI */
.ask-ai-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 14px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ask-ai-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--color-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.ask-ai-btn:active {
    transform: translateY(0) scale(0.98);
}

.ask-ai-icon {
    font-size: 1.1rem;
}

/* Butang OK */
.career-modal-ok-btn {
    flex: 1;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 14px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.career-modal-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
}

.career-modal-ok-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Responsive */
@media (max-width: 480px) {
    .career-modal-footer {
        flex-direction: column;
    }
    
    .ask-ai-btn,
    .career-modal-ok-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}

/* =========================================
   AI CHAT OVERLAY
   ========================================= */
.ai-chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-chat-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ai-chat-window {
    width: 100%;
    max-width: 420px;
    height: 80vh;
    max-height: 650px;
    background: rgba(42, 10, 47, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(236, 72, 153, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-overlay.open .ai-chat-window {
    transform: translateY(0) scale(1);
}

/* Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ai-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
    flex-shrink: 0;
}

.ai-chat-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.ai-chat-subtitle {
    font-size: 0.72rem;
    color: var(--color-soft-lavender);
    font-style: italic;
    margin-top: 0.1rem;
}

.ai-chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    transform: rotate(90deg);
}

/* Messages */
.ai-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar { width: 6px; }
.ai-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, 0.4);
    border-radius: 50px;
}

.chat-message {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
    animation: messageFadeIn 0.3s ease-out;
}

@keyframes messageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.user { justify-content: flex-end; }
.chat-message.ai { justify-content: flex-start; }

.chat-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.user .chat-bubble {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: var(--color-white);
    border-bottom-right-radius: 4px;
}

.chat-message.ai .chat-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.chat-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-pink);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* Input */
.ai-chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.ai-chat-input {
    flex-grow: 1;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.ai-chat-input:focus {
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.ai-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    color: var(--color-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.ai-chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
}

.ai-chat-send:active { transform: scale(0.95); }
.ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Suggestion chips */
.ai-chat-suggestions {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.ai-chat-suggestions::-webkit-scrollbar { display: none; }

.suggestion-chip {
    padding: 0.5rem 0.9rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.suggestion-chip:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: var(--color-pink);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 640px) {
    .ai-chat-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .ai-chat-window {
        max-width: 100%;
        height: 85vh;
        max-height: 100%;
        border-radius: 24px 24px 0 0;
    }

    .ask-ai-btn {
        bottom: 0.8rem;
        right: 0.8rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}
/* =========================================
   AI RATE LIMIT INDICATOR
   ========================================= */
.ai-chat-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ai-rate-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ai-rate-indicator.warning {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.ai-rate-indicator.danger {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
    color: #ff8b8b;
    animation: ratePulse 1.5s ease-in-out infinite;
}

@keyframes ratePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Countdown */
.ai-rate-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-top: 1px solid rgba(255, 107, 107, 0.3);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #ff8b8b;
    font-style: italic;
}

.ai-rate-countdown strong {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff6b6b;
}

/* Input disabled state */
.ai-chat-input:disabled,
.ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* =========================================
   BOOKMARK BUTTON (Career Modal)
   ========================================= */
.career-modal-bookmark {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.career-modal-bookmark:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: var(--color-pink);
    transform: scale(1.1);
}

.career-modal-bookmark.saved {
    background: rgba(236, 72, 153, 0.4);
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.7);
    animation: bookmarkPop 0.4s ease;
}

@keyframes bookmarkPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* =========================================
   FAVOURITES GRID (Dashboard)
   ========================================= */
.favourites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.favourite-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.4s ease-out both;
}

.favourite-card:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.favourite-card-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.favourite-card-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.favourite-card-code {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--color-pink);
    letter-spacing: 2px;
    font-weight: 700;
}

.favourites-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .favourites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================================
   TUTORIAL MODAL
   ========================================= */
.tutorial-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.tutorial-overlay.open {
    opacity: 1;
    visibility: visible;
}

.tutorial-container {
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    background: rgba(42, 10, 47, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(236, 72, 153, 0.5);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(236, 72, 153, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.tutorial-overlay.open .tutorial-container {
    transform: scale(1) translateY(0);
}

/* Header */
.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.tutorial-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.6));
}

.tutorial-skip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--color-soft-lavender);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tutorial-skip:hover {
    background: rgba(168, 85, 247, 0.3);
    color: var(--color-white);
    border-color: var(--color-pink);
}

/* Slide wrapper */
.tutorial-slide-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.tutorial-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
    transition: opacity 0.3s ease;
}

.tutorial-image.fading {
    opacity: 0;
}

/* Nav buttons */
.tutorial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(42, 10, 47, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding-bottom: 4px;
    z-index: 5;
}

.tutorial-nav:hover {
    background: rgba(236, 72, 153, 0.6);
    border-color: var(--color-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.tutorial-prev { left: 0.8rem; }
.tutorial-next { right: 0.8rem; }

.tutorial-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Progress */
.tutorial-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tutorial-dots {
    display: flex;
    gap: 0.4rem;
    flex: 1;
}

.tutorial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.tutorial-dot.active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.8);
    transform: scale(1.3);
}

.tutorial-dot:hover {
    background: rgba(236, 72, 153, 0.5);
}

.tutorial-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-soft-lavender);
    letter-spacing: 2px;
    font-weight: 700;
}

/* Start button */
.tutorial-start-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
    transition: all 0.3s ease;
    animation: tutorialPulse 2s ease-in-out infinite;
    margin-top: 0.5rem;
}

.tutorial-start-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(236, 72, 153, 1);
}

@keyframes tutorialPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(236, 72, 153, 0.7); }
    50% { box-shadow: 0 0 45px rgba(236, 72, 153, 1), 0 0 70px rgba(168, 85, 247, 0.6); }
}

/* Responsive */
@media (max-width: 640px) {
    .tutorial-overlay { padding: 0.8rem; }
    .tutorial-container { padding: 1rem; border-radius: 18px; }
    .tutorial-title { font-size: 0.9rem; }
    .tutorial-icon { font-size: 1.1rem; }
    .tutorial-nav { width: 36px; height: 36px; font-size: 1.4rem; }
    .tutorial-prev { left: 0.4rem; }
    .tutorial-next { right: 0.4rem; }
    .tutorial-start-btn { font-size: 0.85rem; padding: 0.85rem; }
}
/* =========================================
   ENCOURAGEMENT SCENE
   ========================================= */
#encouragementScene {
    justify-content: center;
    align-items: center;
    background: rgba(42, 10, 47, 0.6);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
}

.encouragement-container {
    width: 100%;
    max-width: 600px;
    padding: 3rem 2.5rem;
    background: rgba(42, 10, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(236, 72, 153, 0.25);
    text-align: center;
    animation: encouragementFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes encouragementFade {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.encouragement-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: encouragementPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(236, 72, 153, 1));
}

@keyframes encouragementPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(236, 72, 153, 1));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 40px rgba(236, 72, 153, 1)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.8));
    }
}

.encouragement-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.9), 0 0 50px rgba(168, 85, 247, 0.6);
}

.encouragement-text {
    font-size: 1rem;
    color: var(--color-soft-lavender);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 300;
}

.encouragement-call {
    font-size: 1.05rem;
    color: var(--color-white);
    line-height: 1.6;
    font-weight: 500;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 14px;
    margin-bottom: 2rem;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.2);
}

.encouragement-btn {
    width: 100%;
    max-width: 320px;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: btnEncouragePulse 2.5s ease-in-out infinite;
}

.encouragement-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 0 50px rgba(236, 72, 153, 1), 0 0 80px rgba(168, 85, 247, 0.6);
}

.encouragement-btn:active {
    transform: translateY(0) scale(0.97);
}

@keyframes btnEncouragePulse {
    0%, 100% { box-shadow: 0 0 30px rgba(236, 72, 153, 0.7); }
    50% { box-shadow: 0 0 45px rgba(236, 72, 153, 1), 0 0 70px rgba(168, 85, 247, 0.6); }
}

/* Responsive */
@media (max-width: 480px) {
    .encouragement-container { padding: 2rem 1.5rem; }
    .encouragement-icon { font-size: 3rem; }
    .encouragement-title { letter-spacing: 2px; }
    .encouragement-text { font-size: 0.9rem; }
    .encouragement-call { font-size: 0.95rem; }
    .encouragement-btn { font-size: 0.95rem; padding: 1rem 1.5rem; }
}
/* =========================================
   GAME SCENE — Top Buttons
   ========================================= */
.game-top-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tutorial-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(236, 72, 153, 0.5);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
    animation: tutorialHelpPulse 2.5s ease-in-out infinite;
}

.tutorial-help-btn:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5));
    border-color: var(--color-pink);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.7);
}

.tutorial-help-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes tutorialHelpPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.6), 0 0 40px rgba(168, 85, 247, 0.3);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .game-top-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-top-buttons .edit-back-btn,
    .tutorial-help-btn {
        justify-content: center;
        width: 100%;
    }
}
/* =========================================
   GAME SCENE — Fullscreen Mode
   ========================================= */
#gdevelopGame:fullscreen,
#gdevelopGame:-webkit-full-screen {
    background: #000;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

#gdevelopGame:fullscreen .iframe-wrapper,
#gdevelopGame:-webkit-full-screen .iframe-wrapper {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
}

#gdevelopGame:fullscreen iframe,
#gdevelopGame:-webkit-full-screen iframe {
    width: 100%;
    height: 100%;
}

#gdevelopGame:fullscreen .game-title,
#gdevelopGame:fullscreen .game-desc,
#gdevelopGame:fullscreen .auth-submit-btn,
#gdevelopGame:-webkit-full-screen .game-title,
#gdevelopGame:-webkit-full-screen .game-desc,
#gdevelopGame:-webkit-full-screen .auth-submit-btn {
    display: none !important;
}