/* '말빨스쿨' (Verbal Battle School) Premium CSS Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --bg-dark: #06050b;
    --bg-panel: rgba(14, 12, 28, 0.8);
    --bg-card: rgba(22, 19, 44, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --primary: #00f2fe;      /* Neon Cyan */
    --primary-glow: rgba(0, 242, 254, 0.4);
    --secondary: #b927fc;    /* Neon Purple */
    --secondary-glow: rgba(185, 39, 252, 0.4);
    --accent: #ff007f;       /* Neon Hot Pink */
    --accent-glow: rgba(255, 0, 127, 0.4);
    --gold: #ffd700;         /* Champion Gold */
    --success: #00ff87;      /* Neon Teal/Green */
    
    --text-main: #ffffff;
    --text-muted: #8d89a5;
    --text-dark: #080710;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-fancy: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 10%, rgba(185, 39, 252, 0.15) 0px, transparent 40%),
        radial-gradient(at 90% 90%, rgba(0, 242, 254, 0.15) 0px, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Cyber grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(7, 6, 13, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(185, 39, 252, 0.2);
    border-radius: 10px;
    transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

/* App Layout Container */
#app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 0 12px var(--primary-glow));
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-fancy);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.3));
}

.header-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-badge {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--gold);
    font-family: var(--font-fancy);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.03);
    transition: var(--transition-smooth);
}

.coin-badge.animate-pulse {
    animation: gold-pulse 0.6s ease-in-out 2;
}

/* Settings Button */
.settings-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.settings-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: rotate(45deg) scale(1.05);
}

/* Main Content Screens */
.screen {
    display: none;
    flex-grow: 1;
    animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* LOBBY SCREEN */
.lobby-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    flex-grow: 1;
}

@media (max-width: 950px) {
    .lobby-layout {
        grid-template-columns: 1fr;
    }
}

.hero-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-fancy);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    z-index: 1;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 40px;
    max-width: 520px;
    z-index: 1;
    line-height: 1.6;
}

.start-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--text-dark);
    font-family: var(--font-fancy);
    font-weight: 800;
    font-size: 20px;
    padding: 18px 50px;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.35);
    transition: var(--transition-smooth);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.start-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(185, 39, 252, 0.5);
    color: white;
}

/* Leaderboard Panel */
.leaderboard-panel {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.leaderboard-title {
    font-family: var(--font-fancy);
    font-size: 24px;
    font-weight: 750;
}

.leaderboard-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.leaderboard-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.leaderboard-list {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.leaderboard-item.user-highlight {
    background: rgba(0, 242, 254, 0.06);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.08);
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
}

.rank-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rank-number {
    font-family: var(--font-fancy);
    font-weight: 800;
    font-size: 15px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rank-1 { color: #ffeb3b; background: rgba(255, 235, 59, 0.12); box-shadow: 0 0 10px rgba(255, 235, 59, 0.2); }
.rank-2 { color: #e0e0e0; background: rgba(224, 224, 224, 0.12); }
.rank-3 { color: #cd7f32; background: rgba(205, 127, 50, 0.12); }
.rank-other { color: var(--text-muted); background: rgba(255, 255, 255, 0.04); }

.rank-name {
    font-weight: 600;
    font-size: 15px;
}

.rank-score {
    font-family: var(--font-fancy);
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

/* CHARACTER SELECT SCREEN */
.char-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.char-select-title {
    font-family: var(--font-fancy);
    font-size: 32px;
    font-weight: 800;
}

.category-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 5px;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-1px);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.35);
}

.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    overflow-y: auto;
    max-height: 60vh;
    padding-right: 5px;
}

.char-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.char-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.2);
}

.char-card:hover .char-emoji {
    transform: scale(1.15) rotate(5deg);
}

.char-emoji {
    font-size: 54px;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: var(--transition-smooth);
}

.char-name-tag {
    font-family: var(--font-fancy);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
}

.difficulty-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.diff-easy { background: rgba(0, 255, 135, 0.08); color: var(--success); border: 1px solid rgba(0, 255, 135, 0.2); }
.diff-medium { background: rgba(255, 215, 0, 0.08); color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.2); }
.diff-hard { background: rgba(255, 0, 127, 0.08); color: var(--accent); border: 1px solid rgba(255, 0, 127, 0.2); }
.diff-legendary { background: rgba(185, 39, 252, 0.1); color: var(--secondary); border: 1px solid var(--secondary); }

.char-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 5, 11, 0.88);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 1;
    z-index: 2;
    transition: var(--transition-smooth);
}

.unlock-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    border: none;
    color: black;
    font-family: var(--font-fancy);
    font-weight: 800;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.unlock-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.55);
}

/* BATTLE ROOM SCREEN */
.battle-layout {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 20px;
    height: calc(100vh - 120px);
    max-height: 800px;
}

.battle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.opponent-profile-small {
    display: flex;
    align-items: center;
    gap: 15px;
}

.opp-emoji-small {
    font-size: 38px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.opp-details-small h3 {
    font-family: var(--font-fancy);
    font-size: 18px;
    font-weight: 700;
}

.opp-details-small span {
    font-size: 12px;
    color: var(--text-muted);
}

.turn-counter {
    font-family: var(--font-fancy);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ADVANTAGE BAR */
.advantage-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.advantage-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    padding: 0 8px;
    letter-spacing: 0.5px;
}

.adv-user-label { color: var(--primary); text-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
.adv-ai-label { color: var(--accent); text-shadow: 0 0 10px rgba(255, 0, 127, 0.2); }

.advantage-track {
    height: 28px;
    width: 100%;
    background: var(--accent);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.advantage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    width: 50%;
    transition: width 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.advantage-pin {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: white;
    box-shadow: 0 0 15px #fff, 0 0 5px var(--primary);
    right: -3px;
    z-index: 3;
}

/* Chat History Window */
.chat-window {
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-bubble {
    max-width: 75%;
    padding: 16px 22px;
    border-radius: 20px;
    line-height: 1.6;
    font-size: 15px;
    letter-spacing: 0.2px;
    animation: bubble-bounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.chat-bubble.user {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(185, 39, 252, 0.08) 100%);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.03);
}

.chat-bubble.ai {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(185, 39, 252, 0.02) 100%);
    border: 1px solid rgba(185, 39, 252, 0.2);
    color: #eae7f5;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.thinking-indicator {
    display: none;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 14px 22px;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    gap: 6px;
}

.thinking-indicator span {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: thinking-dots 1.4s infinite ease-in-out both;
}

.thinking-indicator span:nth-child(2) { animation-delay: 0.2s; }
.thinking-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* Chat Input Bar */
.input-container {
    display: flex;
    gap: 15px;
    padding: 20px 0;
}

.chat-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 35px;
    padding: 16px 28px;
    color: white;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.send-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--text-dark);
    padding: 0 35px;
    border-radius: 35px;
    font-weight: 800;
    font-family: var(--font-fancy);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(185, 39, 252, 0.5);
    color: white;
}

.send-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* RESULTS SCREEN */
.results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.verdict-header {
    animation: bounce-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.verdict-emoji {
    font-size: 90px;
    margin-bottom: 15px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.verdict-title {
    font-family: var(--font-fancy);
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.verdict-win {
    color: var(--success);
    text-shadow: 0 0 30px rgba(0, 255, 135, 0.4);
}

.verdict-loss {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(255, 0, 127, 0.4);
}

.critic-box {
    width: 100%;
    padding: 26px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    line-height: 1.7;
}

.critic-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.scorecard-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.score-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px 15px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.score-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.score-num {
    font-family: var(--font-fancy);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.score-name {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.rewards-showcase {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-fancy);
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.reward-coin { color: var(--gold); border-color: rgba(255, 215, 0, 0.25); box-shadow: 0 0 15px rgba(255, 215, 0, 0.05); }
.reward-score { color: var(--primary); border-color: rgba(0, 242, 254, 0.25); box-shadow: 0 0 15px rgba(0, 242, 254, 0.05); }

.back-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-fancy);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 45px;
    border-radius: 35px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.back-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* SETTINGS MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 5, 11, 0.88);
    backdrop-filter: blur(16px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    animation: zoom-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.modal-title {
    font-family: var(--font-fancy);
    font-size: 26px;
    font-weight: 800;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 20px;
    color: white;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.save-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--text-dark);
    font-weight: 800;
    font-family: var(--font-fancy);
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.25);
    transition: var(--transition-smooth);
}

.save-btn:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 25px rgba(185, 39, 252, 0.45);
}

/* Toast Notification */
.toast-msg {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(185, 39, 252, 0.95);
    box-shadow: 0 15px 35px rgba(185, 39, 252, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 750;
    font-size: 15px;
    z-index: 1000;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.45s;
    opacity: 0;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Animations */
@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoom-in {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes gold-pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.05); }
    50% { transform: scale(1.06); box-shadow: 0 0 30px rgba(255, 215, 0, 0.35); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.05); }
}

@keyframes bubble-bounce {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes thinking-dots {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.04); opacity: 0.8; }
    70% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}
