/* ===== SOLO LEVELING IMMERSIVE UI ===== */
:root {
    --primary-purple: #8b5cf6;
    --dark-bg: #0f0f1e;
    --darker-bg: #050508;
    --accent-gold: #fbbf24;
    --light-text: #e5e7eb;
    --muted-text: #9ca3af;
    --border-light: #2d3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow: hidden;
}

/* ===== BACKGROUND ===== */
.sl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a15 0%, #1a0a2e 50%, #0f0f1e 100%);
    z-index: -2;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #8b5cf6, rgba(139, 92, 246, 0)),
        radial-gradient(2px 2px at 60% 70%, #fbbf24, rgba(251, 191, 36, 0)),
        radial-gradient(1px 1px at 50% 50%, #fff, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 80% 10%, #8b5cf6, rgba(139, 92, 246, 0));
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleShift 20s ease-in-out infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes particleShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ===== INTERFACE PRINCIPALE ===== */
.sl-interface {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
}

/* ===== HUB SIDEBAR ===== */
.sl-hub {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(26, 26, 46, 0.9));
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3), inset 0 0 20px rgba(139, 92, 246, 0.1);
    animation: hubAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-y: auto;
    scrollbar-width: none;
}

.sl-hub::-webkit-scrollbar {
    display: none;
}

@keyframes hubAppear {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hub-title {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.glitch-text {
    position: relative;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
    animation: glitchFlicker 2s infinite;
}

@keyframes glitchFlicker {
    0%, 100% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.6); }
    25% { text-shadow: -2px 0 #8b5cf6, 2px 0 #00ffff; }
    50% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }
    75% { text-shadow: -2px 0 #8b5cf6, 2px 0 #00ffff; }
}

.hub-character {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    border-radius: 6px;
    flex-shrink: 0;
}

.character-avatar {
    font-size: 40px;
    flex-shrink: 0;
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.character-info-hub {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.character-name-hub {
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.character-level-hub {
    font-size: 12px;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hub-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.hub-stat {
    display: grid;
    grid-template-columns: 70px 1fr 50px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted-text);
}

.stat-bar {
    height: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-purple);
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-gold));
    animation: statGlow 1.5s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% { box-shadow: inset 0 0 5px rgba(139, 92, 246, 0.5); }
    50% { box-shadow: inset 0 0 10px rgba(251, 191, 36, 0.6); }
}

.hub-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.hub-menu::-webkit-scrollbar {
    display: none;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.menu-btn:hover,
.menu-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-icon {
    font-size: 16px;
}

/* ===== CONTENT AREA ===== */
.sl-content-area {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    scrollbar-width: none;
    padding: 20px;
}

.sl-content-area::-webkit-scrollbar {
    display: none;
}

.sl-panel {
    position: absolute;
    width: 100%;
    max-width: 90vw;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.8));
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3), inset 0 0 20px rgba(139, 92, 246, 0.05);
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    pointer-events: none;
    display: none;
    animation: panelPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    z-index: 10;
    transition: all 0.1s ease;
    top: 0;
    left: 0;
}

.sl-panel.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

@keyframes panelPopIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px) rotateX(-20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0);
    }
}

@keyframes panelFadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(50px) rotateX(-20deg);
    }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 20px;
    cursor: grab;
    user-select: none;
    transition: background-color 0.2s ease;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(26, 26, 46, 0.95));
}

.panel-header:active {
    cursor: grabbing;
    background-color: rgba(139, 92, 246, 0.2);
}

.sl-panel.dragging {
    opacity: 0.9 !important;
    box-shadow: 0 0 80px rgba(251, 191, 36, 0.5), inset 0 0 20px rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.6) !important;
    z-index: 1000 !important;
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-close {
    background: none;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.panel-close:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-gold);
}

.panel-content {
    padding: 0 20px 20px 20px;
    max-height: 75vh;
    overflow-y: auto;
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.panel-content p {
    margin-bottom: 12px;
}

.panel-content strong {
    color: var(--accent-gold);
}

/* Larger panels for specific sections */
#experience-panel .panel-content,
#projets-panel .panel-content,
#organisation-panel .panel-content,
#contact-panel .panel-content {
    max-height: 78vh;
}

/* Scrollbar customization */
.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.panel-content::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 3px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ===== SKILL GRID ===== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px !important;
}

.skill-block {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    padding: 10px;
    border-radius: 6px;
}

.skill-category-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr 45px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.skill-row span:first-child {
    color: var(--light-text);
}

.mini-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary-purple);
    overflow: hidden;
}

.mini-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-gold));
}

.skill-row span:last-child {
    color: var(--accent-gold);
    font-weight: 600;
    text-align: right;
}

/* ===== EXPERIENCE TABS ===== */
.exp-tab {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--primary-purple);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.exp-date {
    font-size: 11px;
    color: var(--primary-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.exp-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 3px;
}

.exp-company {
    font-size: 12px;
    color: var(--muted-text);
    font-style: italic;
    margin-bottom: 8px;
}

.exp-desc {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.exp-reward {
    font-size: 11px;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ORGANISATION ===== */
.org-info {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    padding: 10px;
    border-radius: 6px;
}

.org-info p {
    margin-bottom: 10px;
    font-size: 13px;
}

/* ===== PROJETS ===== */
.project-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
}

.project-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
}

.project-desc {
    font-size: 12px;
    color: var(--muted-text);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tags span {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== VEILLE TABS ===== */
.veille-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.veille-tab-btn {
    padding: 8px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.veille-tab-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
}

.veille-tab-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.veille-tab-content {
    display: none;
}

.veille-tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== VEILLE GRID ===== */
.veille-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px !important;
}

.veille-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    padding: 8px;
    border-radius: 6px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.veille-badge {
    font-size: 9px;
    color: var(--primary-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.veille-category {
    font-size: 10px;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.veille-title {
    font-size: 12px;
    color: var(--light-text);
    font-weight: 600;
    line-height: 1.3;
}

.veille-description {
    font-size: 10px;
    color: var(--muted-text);
    line-height: 1.4;
}

.veille-source {
    font-size: 9px;
    color: var(--primary-purple);
    font-style: italic;
}

.veille-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.veille-tags span {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-purple);
    color: var(--light-text);
    padding: 10px 12px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    transition: all 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(229, 231, 235, 0.5);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(251, 191, 36, 0.05);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.submit-btn {
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-gold));
    color: var(--dark-bg);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.form-message {
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid #10b981;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* ===== FORMATION ===== */
.formation-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.formation-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.formation-detail {
    font-size: 12px;
    color: var(--light-text);
    margin-left: 10px;
    margin-bottom: 4px;
}

/* ===== LANGUES ===== */
.langue-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    margin-bottom: 10px;
    border-radius: 4px;
}

.langue-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
}

.langue-level {
    font-size: 12px;
    color: var(--light-text);
}

/* ===== CAPTCHA VERIFICATION ===== */
.captcha-verification {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(251, 191, 36, 0.1));
    border: 1.5px solid #8b5cf6;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.captcha-verification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    animation: scanLine 3s infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Rajdhani', monospace;
}

.scan-icon {
    font-size: 1.2rem;
    animation: scanPulse 1.5s ease-in-out infinite;
}

@keyframes scanPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.captcha-text {
    background: linear-gradient(90deg, #fbbf24, #8b5cf6, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 2px #fbbf24); }
    50% { filter: drop-shadow(0 0 8px #8b5cf6); }
}

#captchaQuestion {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.captcha-input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(15, 15, 30, 0.8);
    border: 1.5px solid #8b5cf6;
    border-radius: 6px;
    color: #e5e7eb;
    font-family: 'Rajdhani', monospace;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.captcha-input::placeholder {
    color: #6b7280;
    opacity: 0.6;
}

.captcha-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    background: rgba(15, 15, 30, 0.95);
}

.captcha-input.correct {
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.captcha-input.incorrect {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    animation: shakeError 0.3s;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.captcha-validation {
    margin-top: 8px;
    font-size: 0.85rem;
    height: 18px;
}

.captcha-validation.success {
    color: #10b981;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.captcha-validation.error {
    color: #ef4444;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes manaWarning {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05); border-color: #06b6d4; }
    75% { transform: scale(1.05); border-color: #06b6d4; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sl-interface {
        grid-template-columns: 300px 1fr;
        gap: 15px;
        padding: 15px;
    }

    .sl-panel {
        max-width: 85vw;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
    }

    .veille-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .sl-interface {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        height: auto;
        min-height: 100vh;
    }

    .sl-hub {
        width: 100%;
        padding: 15px;
    }

    .sl-content-area {
        width: 100%;
        min-height: 600px;
    }

    .sl-panel {
        max-width: 100%;
        width: 90%;
    }

    .menu-btn {
        font-size: 11px;
        padding: 10px 12px;
    }

    .panel-content {
        max-height: 70vh;
    }

    #experience-panel .panel-content,
    #projets-panel .panel-content,
    #organisation-panel .panel-content,
    #contact-panel .panel-content {
        max-height: 73vh;
    }

    .projet-item {
        grid-template-columns: 40px 1fr;
    }

    .project-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .sl-interface {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .sl-hub {
        padding: 12px;
        gap: 15px;
    }

    .hub-title {
        font-size: 18px;
    }

    .hub-character {
        flex-direction: column;
        text-align: center;
    }

    .character-avatar {
        font-size: 40px;
    }

    .menu-btn {
        font-size: 10px;
        padding: 8px 10px;
    }

    .panel {
        max-width: 95%;
    }

    .panel-content {
        max-height: 65vh;
        padding: 0 10px 10px 10px;
    }

    #experience-panel .panel-content,
    #projets-panel .panel-content,
    #organisation-panel .panel-content,
    #contact-panel .panel-content {
        max-height: 68vh;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
    }

    .skill-row {
        grid-template-columns: 1fr 35px;
    }
}


@keyframes potionPop {
    0% { opacity: 0; transform: translateY(-20px) scale(0.8); }
    50% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(20px) scale(0.8); }
}


.hub-shortcuts {
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shortcut-title {
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    font-size: 11px;
}

.shortcut-key {
    background: linear-gradient(135deg, #8b5cf6, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 13px;
}

.shortcut-desc {
    color: #9ca3af;
    font-size: 10px;
}
