@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Fredoka:wght@500;700;800&family=Alexandria:wght@400;700;900&family=Orbitron:wght@700;900&family=Cinzel:wght@700;900&display=swap');

:root {
    /* =========================================================
       K-POP DEMON HUNTER - DESIGN SYSTEM & COLOR TOKENS ⚔️🎤✨
    ========================================================= */
    --kpop-pink: #ff007f;           /* Electric Idol Neon Pink */
    --kpop-pink-glow: #ff2a8d;      /* Glowing Pink Aura */
    --kpop-magenta: #f72585;        /* Radiant Magenta */
    --demon-cyan: #00f0ff;          /* Mystic Katana Ice / Lightning Cyan */
    --demon-cyan-glow: #4dedf4;     /* Cyan Blade Aura */
    --hunter-purple: #7209b7;       /* Shadow Hunter Purple */
    --hunter-purple-dark: #3c096c;  /* Deep Demon Realm Violet */
    --hunter-dark-bg: #090414;      /* Cyber Mystic Midnight Black */
    --stage-gold: #ffd32a;          /* S-Rank Golden Idol Trophy */
    --stage-gold-glow: #ffeaa7;     /* Golden Sparkle Glow */
    --neon-blue: #4361ee;           /* Neon Cyber Blue */
    --white: #ffffff;
    
    /* Legacy aliases for compatibility */
    --primary: #ff007f;
    --primary-dark: #b5179e;
    --primary-light: #ff758f;
    --secondary: #00f0ff;
    --secondary-dark: #0077b6;
    --accent: #ffd32a;
    --accent-glow: #ffeaa7;
    --accent-cyan: #00f0ff;
    --dark: #090414;
    
    --card-bg: linear-gradient(135deg, rgba(20, 6, 38, 0.94) 0%, rgba(9, 2, 18, 0.98) 100%);
    --card-border: rgba(255, 0, 127, 0.55);
    --card-border-hover: #00f0ff;
    
    --text-main: #ffffff;
    --text-light: #f1f5f9;
    --text-muted: #cbd5e1;
    --success: #00f0ff;
    --warning: #ffd32a;

    --kpop-glow: 0 0 25px rgba(255, 0, 127, 0.85), 0 0 50px rgba(0, 240, 255, 0.45);
    --blade-glow: 0 0 25px rgba(0, 240, 255, 0.9), 0 0 45px rgba(114, 9, 183, 0.6);
    --gold-glow: 0 0 25px rgba(255, 211, 42, 0.85), 0 0 40px rgba(255, 0, 127, 0.4);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    --shadow-hover: 0 20px 55px rgba(255, 0, 127, 0.65);
    --radius: 28px;

    --font-ar: 'Cairo', 'Alexandria', sans-serif;
    --font-en: 'Fredoka', 'Cairo', sans-serif;
    --font-digital: 'Orbitron', 'Courier New', monospace;
    --font-epic: 'Cinzel', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   K-POP DEMON HUNTER - CONCERT STAGE & PHOTOCARD EFFECTS ⚔️🎤✨
========================================================= */
body {
    font-family: var(--font-ar);
    background-color: #060110;
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(255, 0, 127, 0.35) 0%, transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(0, 240, 255, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 90% 60%, rgba(114, 9, 183, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 211, 42, 0.2) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 0, 127, 0.03) 0px, rgba(255, 0, 127, 0.03) 2px, transparent 2px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(0, 240, 255, 0.03) 0px, rgba(0, 240, 255, 0.03) 2px, transparent 2px, transparent 20px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    animation: kpopConcertPulsing 8s ease-in-out infinite alternate;
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    display: flex;
    flex-direction: column;
}

@keyframes kpopConcertPulsing {
    0% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(15deg) brightness(1.08); }
    100% { filter: hue-rotate(-15deg) brightness(1); }
}

/* K-Pop Equalizer Wave Animation */
.kpop-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    padding: 0 4px;
}
.kpop-equalizer span {
    width: 3.5px;
    background: linear-gradient(to top, #ff007f, #00f0ff);
    border-radius: 2px;
    animation: eqBounce 1.2s infinite ease-in-out alternate;
}
.kpop-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.kpop-equalizer span:nth-child(2) { height: 90%; animation-delay: 0.4s; }
.kpop-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.kpop-equalizer span:nth-child(4) { height: 100%; animation-delay: 0.5s; }
.kpop-equalizer span:nth-child(5) { height: 50%; animation-delay: 0.3s; }

@keyframes eqBounce {
    0% { height: 20%; background-color: #ff007f; }
    100% { height: 100%; background-color: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
}

/* K-Pop Live Stage Pill */
.kpop-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.85), rgba(114, 9, 183, 0.9));
    border: 1.5px solid #00f0ff;
    border-radius: 20px;
    padding: 3px 12px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 0 14px rgba(255, 0, 127, 0.7);
    font-family: 'Orbitron', 'Cairo', sans-serif;
}
.kpop-live-dot {
    width: 8px;
    height: 8px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f0ff;
    animation: liveBlink 1s infinite alternate;
}
@keyframes liveBlink {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.3); }
}

/* Korean Hangul Accent Badges */
.hangul-accent {
    font-family: 'Alexandria', 'Cairo', sans-serif;
    color: #ffd32a;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 211, 42, 0.8);
}

/* Holographic Photocard Sheen Effect */
.photocard-glow-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}
.photocard-glow-wrap::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 45%, rgba(0, 240, 255, 0.4) 50%, rgba(255, 0, 127, 0.45) 55%, transparent 65%);
    transform: rotate(25deg);
    pointer-events: none;
    transition: all 0.6s ease;
    opacity: 0.6;
}
.photocard-glow-wrap:hover::after {
    transform: rotate(25deg) translate(30%, 30%);
    opacity: 1;
}

/* =========================================================
   K-Pop Demon Hunter Header / Navbar ⚔️🎤
========================================================= */
.fairy-header {
    background: linear-gradient(135deg, rgba(26, 8, 48, 0.94) 0%, rgba(10, 2, 22, 0.98) 100%);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 0, 127, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid rgba(255, 0, 127, 0.6);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
    width: 100%;
}

/* 1. Student Profile */
.user-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.user-profile-header:hover {
    transform: translateY(-2px);
}

.user-avatar-glow {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff007f 0%, #3c096c 100%);
    border: 2.5px solid #00f0ff;
    box-shadow: 0 0 22px rgba(255, 0, 127, 0.85), 0 0 32px rgba(0, 240, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-avatar-glow:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(255, 0, 127, 1), 0 0 45px rgba(0, 240, 255, 0.9);
}

.user-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.avatar-fairy-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    background: linear-gradient(135deg, #ff007f, #00f0ff);
    border: 1.5px solid #ffd32a;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    animation: bladeSpin 3s infinite linear;
}

@keyframes bladeSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.user-info-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.student-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(255, 0, 127, 0.9);
    margin: 0;
    line-height: 1.2;
}

.student-grade-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #00f0ff;
    background: rgba(255, 0, 127, 0.25);
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 20px;
    padding: 2px 10px;
    margin-top: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* 2. Center Magical Title */
.fairy-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.magical-title {
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ff758f 35%, #00f0ff 70%, #ffd32a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.magical-subtitle {
    font-size: 0.82rem;
    color: #f1f5f9;
    margin: 3px 0 0 0;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* 3. Actions / Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-play-fairies {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #ff007f 0%, #7209b7 50%, #00f0ff 100%);
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.7), 0 0 16px rgba(0, 240, 255, 0.5);
    border: 2px solid #ffd32a;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-play-fairies:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 30px rgba(255, 0, 127, 0.95), 0 0 28px rgba(0, 240, 255, 0.85);
    background: linear-gradient(135deg, #00f0ff 0%, #7209b7 50%, #ff007f 100%);
}

.fairy-btn-icon {
    font-size: 1.25rem;
    animation: bladeSlashWiggle 2s infinite ease-in-out;
}

@keyframes bladeSlashWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-15deg) scale(1.15); }
    75% { transform: rotate(15deg) scale(1.15); }
}

.fairy-sparkle-star {
    font-size: 0.85rem;
    animation: pulseStar 1.5s infinite alternate;
}

@keyframes pulseStar {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px #ffd32a); }
}

/* =========================================================
   K-Pop Demon Hunter HUD Bar ⚔️⚡
========================================================= */
.fairy-hud-bar {
    width: 95%;
    max-width: 1100px;
    margin: 14px auto 0 auto;
    background: linear-gradient(135deg, rgba(30, 8, 56, 0.92), rgba(12, 2, 26, 0.96));
    border: 2px solid rgba(255, 0, 127, 0.65);
    border-radius: 20px;
    padding: 8px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.4), inset 0 0 20px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.fairy-hud-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.25) 50%, transparent 100%);
    animation: hunterLaserScan 3s infinite linear;
    pointer-events: none;
}

@keyframes hunterLaserScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.fairy-readout {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-digital);
    color: var(--demon-cyan);
    font-size: 0.95rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.85);
}

.fairy-power-badge {
    background: rgba(255, 0, 127, 0.3);
    border: 1.5px solid var(--demon-cyan);
    padding: 4px 16px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 1px;
    font-family: var(--font-digital);
    animation: idolPowerPulse 1.8s infinite ease-in-out alternate;
}

@keyframes idolPowerPulse {
    0% { text-shadow: 0 0 6px var(--demon-cyan); border-color: var(--demon-cyan); }
    100% { text-shadow: 0 0 20px var(--kpop-pink), 0 0 35px var(--demon-cyan); border-color: var(--kpop-pink); color: #ffffff; }
}

/* =========================================================
   Main Portal Wrapper & Glass Card ⚔️
========================================================= */
.main-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 3px solid var(--card-border);
    border-radius: var(--radius);
    padding: 45px 35px;
    width: 100%;
    max-width: 540px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 
                0 0 40px rgba(255, 0, 127, 0.4), 
                inset 0 0 30px rgba(0, 240, 255, 0.15);
    overflow: hidden;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card.wide-portal {
    max-width: 1000px;
    padding: 40px 30px;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 127, 0.25) 0%, rgba(0, 240, 255, 0.15) 35%, transparent 65%);
    pointer-events: none;
    animation: neonBladeRotate 10s infinite linear;
}

@keyframes neonBladeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* K-Pop Demon Hunter Emblem / Avatar inside Login Card */
.fairy-emblem-wrap {
    position: relative;
    width: 135px;
    height: 135px;
    margin: 0 auto 20px;
}

.fairy-emblem-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #ff007f 0%, #3c096c 75%, #00f0ff 100%);
    border: 3.5px solid #00f0ff;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.95), 0 0 45px rgba(0, 240, 255, 0.8);
    padding: 4px;
    animation: hunterIdolFloat 3.5s ease-in-out infinite alternate;
}

@keyframes hunterIdolFloat {
    0% { transform: translateY(0) rotate(0deg); box-shadow: 0 0 25px rgba(255, 0, 127, 0.9), 0 0 40px rgba(0, 240, 255, 0.7); }
    100% { transform: translateY(-10px) rotate(4deg); box-shadow: 0 0 40px rgba(0, 240, 255, 1), 0 0 60px rgba(255, 0, 127, 0.9); }
}

.fairy-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.emblem-crown {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #ffd32a, #ff007f);
    border: 2px solid #00f0ff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255, 0, 127, 0.9);
    animation: pulseStar 1.5s infinite alternate;
}

.brand-header h1 {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #ff758f 35%, #00f0ff 70%, #ffd32a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
    letter-spacing: 0.5px;
}

.tagline {
    color: var(--demon-cyan);
    font-size: 1.05rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.instruction {
    font-size: 1.05rem;
    color: #ffffff;
    background: rgba(45, 10, 75, 0.6);
    border: 1.5px dashed rgba(255, 0, 127, 0.6);
    border-radius: 20px;
    padding: 12px 18px;
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   Premium Form (Password Input & Button) ⚔️
========================================================= */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.field-container {
    position: relative;
    width: 100%;
}

.field-container label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--demon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.7);
    padding-right: 5px;
}

.field-container input {
    width: 100%;
    background: rgba(15, 3, 30, 0.85);
    border: 2px solid rgba(255, 0, 127, 0.6);
    border-radius: 22px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 26px;
    text-align: center;
    letter-spacing: 10px;
    font-weight: 900;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.field-container input:focus {
    outline: none;
    border-color: #00f0ff;
    background: rgba(30, 8, 55, 0.95);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), inset 0 0 15px rgba(255, 0, 127, 0.4);
    transform: scale(1.02);
}

.field-container input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 6px;
}

.primary-btn {
    background: linear-gradient(135deg, #ff007f 0%, #7209b7 50%, #00f0ff 100%);
    color: #ffffff !important;
    border: 2px solid #ffd32a;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1.18rem;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 25px rgba(255, 0, 127, 0.7), 0 0 20px rgba(0, 240, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(255, 0, 127, 0.95), 0 0 35px rgba(0, 240, 255, 0.85);
    background: linear-gradient(135deg, #00f0ff 0%, #7209b7 50%, #ff007f 100%);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transition: 0.5s;
}

.primary-btn:hover .btn-shine {
    left: 100%;
}

.subject-btn {
    padding: 18px 24px;
    font-size: 1.24rem;
    letter-spacing: 0.5px;
}

/* =========================================================
   Expired Subscription Message
========================================================= */
.expired-box {
    background: linear-gradient(135deg, rgba(60, 9, 108, 0.95), rgba(16, 0, 43, 0.98));
    border: 2px solid #ff007f;
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 0 35px rgba(255, 0, 127, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.2);
}

.expired-box h3 {
    color: #ffd32a;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255, 211, 42, 0.85);
}

.expired-box p {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 22px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1877f2, #00f0ff);
    color: #ffffff !important;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 900;
    border: 2px solid #ffd32a;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6), 0 0 15px rgba(0, 240, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(24, 119, 242, 0.85), 0 0 25px rgba(0, 240, 255, 0.8);
}

/* =========================================================
   Post-Login Subjects Cards Grid ⚔️🎤
========================================================= */
.fairy-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    width: 100%;
    margin-top: 15px;
}

.fairy-subject-card {
    background: linear-gradient(135deg, rgba(40, 10, 70, 0.92) 0%, rgba(15, 2, 30, 0.96) 100%);
    border: 2.5px solid rgba(255, 0, 127, 0.55);
    border-radius: 26px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 0, 127, 0.35);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.fairy-subject-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #00f0ff;
    box-shadow: 0 16px 45px rgba(255, 0, 127, 0.8), 0 0 40px rgba(0, 240, 255, 0.8);
    background: linear-gradient(135deg, rgba(65, 12, 110, 0.96) 0%, rgba(20, 2, 42, 1) 100%);
}

.subject-icon-box {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: radial-gradient(circle, #ff007f 0%, #3c096c 100%);
    border: 2px solid #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    margin-bottom: 14px;
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.8);
    transition: transform 0.3s ease;
}

.fairy-subject-card:hover .subject-icon-box {
    transform: scale(1.15) rotate(6deg);
    box-shadow: 0 0 35px rgba(0, 240, 255, 1);
}

.fairy-subject-card h3 {
    font-size: 1.45rem;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.8);
}

.fairy-subject-card p {
    font-size: 0.95rem;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.subject-card-btn {
    background: linear-gradient(135deg, #ff007f, #7209b7);
    color: #ffffff;
    border: 1.5px solid #00f0ff;
    border-radius: 30px;
    padding: 9px 22px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
    transition: all 0.25s ease;
}

.fairy-subject-card:hover .subject-card-btn {
    background: linear-gradient(135deg, #00f0ff, #ff007f);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.9);
}

/* =========================================================
   7-Second K-Pop Demon Hunter Magic Effects & Stage Lighting ⚔️🎤✨
========================================================= */
.magic-glow-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: inset 0 0 120px rgba(255, 0, 127, 0.8), inset 0 0 180px rgba(0, 240, 255, 0.7), inset 0 0 220px rgba(114, 9, 183, 0.6);
    animation: kpopDemonAuraPulse 1.2s ease-in-out infinite alternate;
    transition: opacity 0.8s ease;
}

@keyframes kpopDemonAuraPulse {
    0% {
        box-shadow: inset 0 0 100px rgba(255, 0, 127, 0.85), inset 0 0 180px rgba(0, 240, 255, 0.7);
        background: radial-gradient(circle at 50% 10%, rgba(255, 0, 127, 0.25), transparent 70%);
    }
    50% {
        box-shadow: inset 0 0 140px rgba(0, 240, 255, 0.9), inset 0 0 200px rgba(255, 211, 42, 0.75);
        background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.25), transparent 75%);
    }
    100% {
        box-shadow: inset 0 0 120px rgba(114, 9, 183, 0.9), inset 0 0 190px rgba(255, 0, 127, 0.8);
        background: radial-gradient(circle at 50% 90%, rgba(255, 211, 42, 0.25), transparent 70%);
    }
}

.user-avatar-glow.magic-active {
    animation: kpopDemonSlayerGlow 1.2s ease-in-out infinite alternate !important;
}

@keyframes kpopDemonSlayerGlow {
    0% {
        transform: scale(1.18) rotate(0deg);
        box-shadow: 0 0 40px #ff007f, 0 0 70px #00f0ff, 0 0 100px #7209b7;
    }
    100% {
        transform: scale(1.28) rotate(8deg);
        box-shadow: 0 0 60px #00f0ff, 0 0 90px #ffd32a, 0 0 130px #ff007f;
    }
}

.magic-platform-dancing {
    animation: kpopStageDance 1.4s ease-in-out infinite alternate;
}

@keyframes kpopStageDance {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-7px) scale(1.01); }
    100% { transform: translateY(4px) scale(1); }
}

.magic-sparkle-card {
    animation: cardKpopSparkle 1.2s ease-in-out infinite alternate !important;
}

@keyframes cardKpopSparkle {
    0% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 127, 0.7);
        transform: translateY(-4px);
    }
    100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 240, 255, 0.9);
        transform: translateY(-10px) scale(1.03);
    }
}

/* =========================================================
   Toast Notification & Shake
========================================================= */
.toast {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, rgba(60, 9, 108, 0.96), rgba(16, 0, 43, 0.98));
    border: 2px solid #00f0ff;
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 127, 0.7);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10000;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
}

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

.toast-icon {
    font-size: 22px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

/* =========================================================
   Footer Copyright
========================================================= */
.footer-copyright {
    text-align: center;
    margin: 25px 0 15px 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    transition: all 0.25s ease;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(45, 10, 75, 0.4);
    border: 1px solid rgba(255, 0, 127, 0.4);
}

.footer-copyright a:hover {
    color: var(--demon-cyan) !important;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.95) !important;
    border-color: var(--demon-cyan);
    background: rgba(65, 15, 105, 0.65);
}

/* =========================================================
   Responsive Breakpoints
========================================================= */
@media (max-width: 768px) {
    .fairy-header {
        padding: 0.6rem 1rem;
        flex-wrap: wrap;
    }
    .magical-title {
        font-size: 1.25rem;
    }
    .fairy-hud-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 8px 12px;
    }
    .glass-card {
        padding: 30px 20px;
    }
    .fairy-subjects-grid {
        grid-template-columns: 1fr;
    }
}
