@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Inter:wght@400;600;700&display=swap');

:root {
    --saiyan-orange: #FF6B00;
    --saiyan-blue: #1E90FF;
    --saiyan-gold: #FFD700;
    --saiyan-dark: #0A0A0F;
    --saiyan-darker: #050508;
    --saiyan-card: #12121A;
    --saiyan-border: #1E1E2A;
    --saiyan-text: #E8E8F0;
    --saiyan-muted: #8888AA;
    --ferie-color: #FF6B00;
    --permessi-color: #1E90FF;
    --ferie-bg: rgba(255, 107, 0, 0.15);
    --permessi-bg: rgba(30, 144, 255, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--saiyan-darker);
    color: var(--saiyan-text);
    min-height: 100vh;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 107, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.app { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Save indicator */
.save-indicator {
    position: fixed; top: 12px; right: 16px;
    display: flex; align-items: center; gap: 6px;
    font-size: 0.7rem; color: var(--saiyan-muted);
    background: var(--saiyan-card); border: 1px solid var(--saiyan-border);
    border-radius: 20px; padding: 5px 12px; z-index: 50;
    opacity: 0.85; transition: opacity 0.2s;
}
.save-indicator:hover { opacity: 1; }.save-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saiyan-muted); flex-shrink: 0; transition: background 0.3s; }
.save-dot.ok { background: #4CAF50; }
.save-dot.saving { background: var(--saiyan-gold); animation: pulse 0.8s infinite; }
.save-dot.error { background: #FF5555; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Greeting */
.greeting {
    position: fixed; top: 12px; left: 16px;
    font-size: 0.75rem; color: var(--saiyan-muted);
    background: var(--saiyan-card); border: 1px solid var(--saiyan-border);
    border-radius: 20px; padding: 5px 14px; z-index: 50;
    opacity: 0.85; transition: opacity 0.2s;
    letter-spacing: 0.5px;
}
.greeting:hover { opacity: 1; }

/* Floating stats */
.floating-stats {
    position: fixed; top: 42px; left: 16px;
    background: var(--saiyan-card); border: 1px solid var(--saiyan-border);
    border-radius: 12px; padding: 10px 16px; z-index: 50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: none; min-width: 180px; font-size: 0.82rem;
}
.floating-stats.visible { display: block; animation: dragInfoIn 0.2s ease; }
.floating-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.floating-val { font-weight: 700; }
.floating-val.ferie { color: var(--ferie-color); }
.floating-val.permessi { color: var(--permessi-color); }

/* Header */
.header { text-align: center; padding: 30px 0 20px; }
.header h1 {
    font-family: 'Bangers', cursive; font-size: 2.8rem; letter-spacing: 3px;
    background: linear-gradient(135deg, var(--saiyan-orange), var(--saiyan-gold), var(--saiyan-orange));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.3));
}
.header .subtitle { font-size: 0.9rem; color: var(--saiyan-muted); margin-top: 5px; letter-spacing: 2px; text-transform: uppercase; }

/* Year Navigation */
.year-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 20px 0; }
.year-nav button {
    background: var(--saiyan-card); border: 1px solid var(--saiyan-border); color: var(--saiyan-text);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.year-nav button:hover { border-color: var(--saiyan-orange); box-shadow: 0 0 15px rgba(255, 107, 0, 0.2); }
.year-nav .year-display { font-family: 'Bangers', cursive; font-size: 2rem; color: var(--saiyan-gold); min-width: 120px; text-align: center; }

/* Stats Cards */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.stat-card { background: var(--saiyan-card); border: 1px solid var(--saiyan-border); border-radius: 16px; padding: 20px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.stat-card.ferie::before { background: linear-gradient(90deg, var(--ferie-color), var(--saiyan-gold)); }
.stat-card.permessi::before { background: linear-gradient(90deg, var(--permessi-color), #00BFFF); }
.stat-card .stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--saiyan-muted); margin-bottom: 8px; }
.stat-card .stat-value { font-family: 'Bangers', cursive; font-size: 2.2rem; letter-spacing: 1px; }
.stat-card.ferie .stat-value { color: var(--ferie-color); }
.stat-card.permessi .stat-value { color: var(--permessi-color); }
.stat-card .stat-bar { margin-top: 12px; height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.stat-card .stat-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.stat-card.ferie .stat-bar-fill { background: linear-gradient(90deg, var(--ferie-color), var(--saiyan-gold)); }
.stat-card.permessi .stat-bar-fill { background: linear-gradient(90deg, var(--permessi-color), #00BFFF); }
.stat-card .stat-detail { margin-top: 8px; font-size: 0.8rem; color: var(--saiyan-muted); }

/* Action Buttons */
.actions { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.btn {
    padding: 10px 20px; border-radius: 10px; border: 1px solid var(--saiyan-border);
    background: var(--saiyan-card); color: var(--saiyan-text); cursor: pointer;
    font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.btn:hover { border-color: var(--saiyan-orange); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--saiyan-orange), #FF8C00); border: none; color: #000; }
.btn.primary:hover { box-shadow: 0 0 20px rgba(255, 107, 0, 0.4); }
.btn.export-btn { margin-left: auto; }
.btn.danger { background: #FF3333; border: none; color: #fff; }
.btn.danger:hover { box-shadow: 0 0 15px rgba(255, 51, 51, 0.3); }

/* Legend */
.tabs {
    display: flex; gap: 4px; margin-bottom: 18px;
    background: var(--saiyan-darker); border: 1px solid var(--saiyan-border);
    border-radius: 12px; padding: 4px; width: fit-content;
}
.tab {
    padding: 8px 20px; border-radius: 9px; border: none;
    background: transparent; color: var(--saiyan-muted); cursor: pointer;
    font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.tab:hover { color: var(--saiyan-text); }
.tab.active { background: var(--saiyan-card); color: var(--saiyan-gold); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeSlideUp 0.3s ease-out; }

.legend { display: flex; gap: 20px; margin-bottom: 15px; font-size: 0.85rem; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.legend-dot.ferie { background: var(--ferie-color); }
.legend-dot.permessi { background: var(--permessi-color); }
.legend-dot.both { background: linear-gradient(135deg, var(--ferie-color) 50%, var(--permessi-color) 50%); }
.legend-dot.festivo { background: #E040FB; }

/* Calendar Grid */
.calendar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.month-card { background: var(--saiyan-card); border: 1px solid var(--saiyan-border); border-radius: 12px; padding: 12px; }
.month-name { font-family: 'Bangers', cursive; font-size: 1.1rem; letter-spacing: 1px; color: var(--saiyan-gold); text-align: center; margin-bottom: 8px; }
.weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.65rem; color: var(--saiyan-muted); margin-bottom: 4px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; border-radius: 6px; cursor: pointer; transition: all 0.15s;
    position: relative; border: 1px solid transparent; user-select: none; -webkit-user-select: none;
}
.day:hover:not(.empty):not(.weekend):not(.festivo) { border-color: var(--saiyan-orange); box-shadow: 0 0 8px rgba(255, 107, 0, 0.2); }
.day.empty { cursor: default; }
.day.weekend { color: var(--saiyan-muted); opacity: 0.4; cursor: default; }
.day.today {
    border-color: var(--saiyan-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.day.today::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent 0deg, transparent 340deg, rgba(255, 215, 0, 0.4) 350deg, transparent 360deg);
    animation: todaySpark 60s linear infinite;
    z-index: -1;
}
@keyframes todaySpark {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.day.today::after {
    content: '✦';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 1px;
    font-size: 0.4rem;
    color: var(--saiyan-gold);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9));
    transform: rotate(var(--hour-angle, 0deg));
    transform-origin: center center;
    transition: transform 60s linear;
    animation: sparkPulse 2s ease-in-out infinite;
}
@keyframes sparkPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.day.festivo { background: rgba(224, 64, 251, 0.15); color: #E040FB; font-weight: 700; cursor: default; }
.day.selecting { background: rgba(255, 215, 0, 0.25); border-color: var(--saiyan-gold); box-shadow: 0 0 6px rgba(255, 215, 0, 0.3); }
.day.ferie { background: var(--ferie-bg); color: var(--ferie-color); font-weight: 700; }
.day.permessi { background: var(--permessi-bg); color: var(--permessi-color); font-weight: 700; }
.day.permessi-fill {
    background: transparent; position: relative; overflow: hidden; z-index: 0;
}
.day.permessi-fill::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: var(--fill, 0%);
    background: linear-gradient(0deg, rgba(30, 144, 255, 0.35), rgba(30, 144, 255, 0.15));
    border-radius: 0 0 5px 5px;
    z-index: -1;
    transition: height 0.4s ease;
}
.day.both { background: linear-gradient(135deg, var(--ferie-bg), var(--permessi-bg)); color: var(--saiyan-gold); font-weight: 700; }

/* Modal */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7); z-index: 100;
    align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal { background: var(--saiyan-card); border: 1px solid var(--saiyan-border); border-radius: 16px; padding: 25px; width: 90%; max-width: 400px; position: relative; }
.modal h3 { font-family: 'Bangers', cursive; font-size: 1.4rem; color: var(--saiyan-gold); margin-bottom: 20px; letter-spacing: 1px; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: var(--saiyan-muted); font-size: 1.2rem; cursor: pointer; }
.modal-close:hover { color: var(--saiyan-text); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--saiyan-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group select {
    width: 100%; padding: 10px 12px; background: var(--saiyan-darker);
    border: 1px solid var(--saiyan-border); border-radius: 8px;
    color: var(--saiyan-text); font-size: 0.9rem; font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--saiyan-orange); }
.type-selector { display: flex; gap: 10px; margin-bottom: 15px; }
.type-btn { flex: 1; padding: 12px; border-radius: 10px; border: 2px solid var(--saiyan-border); background: transparent; color: var(--saiyan-text); cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: all 0.2s; text-align: center; }
.type-btn.ferie.selected { border-color: var(--ferie-color); background: var(--ferie-bg); color: var(--ferie-color); }
.type-btn.permessi.selected { border-color: var(--permessi-color); background: var(--permessi-bg); color: var(--permessi-color); }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* Entries List */
.entries-section { margin-top: 25px; }
.entries-title { font-family: 'Bangers', cursive; font-size: 1.3rem; color: var(--saiyan-gold); margin-bottom: 12px; letter-spacing: 1px; }
.entries-list { display: flex; flex-direction: column; gap: 6px; }
.entry-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--saiyan-card); border: 1px solid var(--saiyan-border); border-radius: 10px; font-size: 0.85rem; }
.entry-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.entry-dot.ferie { background: var(--ferie-color); }
.entry-dot.permessi { background: var(--permessi-color); }
.entry-date { color: var(--saiyan-muted); min-width: 90px; }
.entry-type { font-weight: 600; min-width: 70px; }
.entry-type.ferie { color: var(--ferie-color); }
.entry-type.permessi { color: var(--permessi-color); }
.entry-hours { color: var(--saiyan-text); }
.entry-note { color: var(--saiyan-muted); flex: 1; font-size: 0.8rem; }
.entry-status { font-size: 0.75rem; min-width: 85px; }
.entry-past .entry-status { color: #4CAF50; }
.entry-past .entry-date,
.entry-past .entry-type,
.entry-past .entry-hours,
.entry-past .entry-note { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.15); }
.entry-past { opacity: 0.3; transition: opacity 0.2s; }
.entry-past:hover { opacity: 0.7; }
.entry-today .entry-status { color: var(--saiyan-gold); }
.entry-today { border-color: rgba(255, 215, 0, 0.3); }
.entry-future .entry-status { color: var(--saiyan-muted); }
.entry-delete { background: none; border: none; color: var(--saiyan-muted); cursor: pointer; font-size: 0.9rem; padding: 4px; border-radius: 4px; transition: all 0.2s; }
.entry-delete:hover { color: #FF3333; background: rgba(255,51,51,0.1); }
.no-entries { text-align: center; padding: 30px; color: var(--saiyan-muted); font-size: 0.9rem; }

/* Toast */
.toast { position: fixed; bottom: 30px; right: 30px; padding: 12px 20px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; z-index: 200; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--saiyan-orange); color: #000; }
.toast.info { background: var(--saiyan-blue); color: #fff; }

/* Drag info popup */
.drag-info { position: fixed; bottom: 30px; right: 30px; background: var(--saiyan-card); border: 1px solid var(--saiyan-gold); border-radius: 12px; padding: 14px 18px; font-size: 0.85rem; z-index: 150; box-shadow: 0 0 25px rgba(255, 215, 0, 0.15), 0 8px 30px rgba(0,0,0,0.5); display: none; min-width: 220px; line-height: 1.6; }
.drag-info.visible { display: block; animation: dragInfoIn 0.15s ease; }
.drag-info .drag-title { font-family: 'Bangers', cursive; color: var(--saiyan-gold); font-size: 1rem; letter-spacing: 1px; margin-bottom: 6px; }
.drag-info .drag-row { display: flex; justify-content: space-between; gap: 12px; }
.drag-info .drag-val { font-weight: 700; }
.drag-info .drag-val.ferie { color: var(--ferie-color); }
.drag-info .drag-val.permessi { color: var(--permessi-color); }
.drag-info .drag-val.warning { color: #FF5555; }
@keyframes dragInfoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== ANIMATIONS ===== */
.header h1 { animation: powerUp 1s ease-out; }
@keyframes powerUp {
    0% { opacity: 0; transform: scale(0.5); filter: drop-shadow(0 0 60px rgba(255, 107, 0, 0.8)); }
    60% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.5)); }
    100% { opacity: 1; transform: scale(1); }
}
.header .subtitle { animation: fadeSlideUp 0.6s ease-out 0.3s both; }
.stat-card { animation: fadeSlideUp 0.5s ease-out both; transition: transform 0.2s, box-shadow 0.3s; }
.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.35s; }
.stat-card.ferie:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(255, 107, 0, 0.2), 0 8px 25px rgba(0,0,0,0.3); }
.stat-card.permessi:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(30, 144, 255, 0.2), 0 8px 25px rgba(0,0,0,0.3); }
.stat-card .stat-bar-fill { position: relative; animation: barGlow 2s ease-in-out infinite; }
@keyframes barGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.3); } }
.month-card { animation: fadeSlideUp 0.4s ease-out both; transition: transform 0.2s, border-color 0.2s; }
.month-card:hover { transform: translateY(-2px); border-color: rgba(255, 215, 0, 0.2); }
.month-card:nth-child(1) { animation-delay: 0.1s; } .month-card:nth-child(2) { animation-delay: 0.15s; }
.month-card:nth-child(3) { animation-delay: 0.2s; } .month-card:nth-child(4) { animation-delay: 0.25s; }
.month-card:nth-child(5) { animation-delay: 0.3s; } .month-card:nth-child(6) { animation-delay: 0.35s; }
.month-card:nth-child(7) { animation-delay: 0.4s; } .month-card:nth-child(8) { animation-delay: 0.45s; }
.month-card:nth-child(9) { animation-delay: 0.5s; } .month-card:nth-child(10) { animation-delay: 0.55s; }
.month-card:nth-child(11) { animation-delay: 0.6s; } .month-card:nth-child(12) { animation-delay: 0.65s; }
.day:not(.empty) { animation: dayPop 0.3s ease-out both; }
.modal-overlay { transition: opacity 0.25s ease; opacity: 0; }
.modal-overlay.active { opacity: 1; }
.modal { animation: modalBlast 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes modalBlast { 0% { opacity: 0; transform: scale(0.8) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.toast { transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.toast.show { box-shadow: 0 0 20px rgba(255, 107, 0, 0.3); }
.entry-item { animation: fadeSlideUp 0.3s ease-out both; transition: transform 0.15s, border-color 0.2s; }
.entry-item:hover { transform: translateX(4px); border-color: rgba(255, 215, 0, 0.2); }
.year-nav button { transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.year-nav button:active { transform: scale(0.85); }
.btn { transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.btn:active { transform: scale(0.95); }
.floating-stats.visible { animation: slideInLeft 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dayPop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }

/* Responsive */
@media (max-width: 900px) { .calendar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .calendar-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .header h1 { font-size: 2rem; }
    .actions { flex-direction: column; }
    .btn.export-btn { margin-left: 0; }
}

/* ===== EASTER EGGS ===== */

/* Super Saiyan Mode */
body.super-saiyan { background: #0A0800; }
body.super-saiyan::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 40%);
}
body.super-saiyan .header h1 {
    background: linear-gradient(135deg, #FFD700, #FFF8DC, #FFD700);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    animation: ssAura 1.5s ease-in-out infinite alternate;
}
@keyframes ssAura {
    from { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}
body.super-saiyan .stat-card { border-color: rgba(255, 215, 0, 0.2); }
body.super-saiyan .month-card { border-color: rgba(255, 215, 0, 0.1); }

/* SS Aura overlay */
.ss-aura-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: url('../assets/ssj2-daima.gif') center/cover no-repeat;
    pointer-events: none;
    z-index: 0;
    animation: auraReveal 4s ease forwards;
}
@keyframes auraReveal {
    0% { opacity: 0; }
    15% { opacity: 0.7; }
    100% { opacity: 0.15; }
}

/* Ki particles */
.ki-particle {
    position: fixed;
    bottom: -20px;
    pointer-events: none;
    z-index: 999;
    animation: kiRise linear forwards;
    opacity: 0;
}
@keyframes kiRise {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.2) rotate(360deg); }
}

/* Shenron overlay */
.shenron-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 300;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    opacity: 0;
    animation: shenronFadeIn 0.8s ease forwards;
}
.shenron-overlay.leaving {
    animation: shenronFadeOut 1s ease forwards;
}
@keyframes shenronFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes shenronFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
.shenron-content { text-align: center; }
.shenron-img {
    width: 300px; max-width: 80vw;
    border-radius: 12px;
    animation: shenronAppear 1s ease-out;
}
@keyframes shenronAppear {
    0% { opacity: 0; transform: scale(0.8) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.shenron-text {
    margin-top: 20px;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: #4CAF50;
    letter-spacing: 1px;
    max-width: 400px;
    line-height: 1.5;
    animation: fadeSlideUp 0.5s ease 0.3s both;
}
