/* ====================================================
   CIT Monster Resume X HirefireAI - Main Stylesheet
   By Abhishek Sahoo | MCA, Cambridge Institute of Technology
   ==================================================== */

:root {
    --bg: #020617;
    --panel: rgba(8, 15, 33, 0.8);
    --panel-strong: rgba(15, 23, 42, 0.95);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --accent-2: #6366f1;
    --accent-3: #22c55e;
    --monster-green: #16a34a;
    --monster-purple: #7c3aed;
    --monster-orange: #f97316;
    --border: rgba(148, 163, 184, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 28%),
        linear-gradient(135deg, #020617 0%, #07112b 50%, #020617 100%);
    color: var(--text);
    overflow-x: hidden;
}

/* ===================================================
   MONSTER WELCOME OVERLAY
   =================================================== */
.monster-welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(ellipse at center, #0a0a1a 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.monster-welcome-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

/* Phase Texts Centering & Responsiveness */
.welcome-phase {
    position: absolute;
    width: 90%;
    max-width: 800px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    color: #ffffff;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: 20;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.6), 0 0 40px rgba(124, 58, 237, 0.4);
}

.welcome-phase.fade-in {
    opacity: 1;
    transform: translate(-50%, -52%);
}

/* Particle background */
.welcome-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.welcome-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.welcome-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(249,115,22,0.3));
    border: 1px solid rgba(249,115,22,0.5);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fdba74;
    text-transform: uppercase;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
}

.welcome-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 30px rgba(249,115,22,0.6), 0 0 60px rgba(124,58,237,0.3);
    animation: titleWiggle 3s ease-in-out infinite;
}

@keyframes titleWiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.welcome-sub {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ===== THE MONSTER ===== */
.monster-container {
    position: relative;
    width: 200px;
    height: 220px;
    margin: 10px auto;
}

.monster {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: monsterBounce 0.6s ease-in-out infinite alternate, monsterEntry 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards;
    transform-origin: bottom center;
}

@keyframes monsterEntry {
    0% { transform: translateX(-50%) translateY(300px) scale(0.3) rotate(-10deg); opacity:0; }
    100% { transform: translateX(-50%) translateY(0) scale(1) rotate(0deg); opacity:1; }
}

@keyframes monsterBounce {
    0% { transform: translateX(-50%) translateY(0px) scale(1, 1); }
    100% { transform: translateX(-50%) translateY(-12px) scale(1.02, 0.98); }
}

.monster.eating {
    animation: monsterEat 0.3s ease-in-out infinite, monsterBounce 0.6s ease-in-out infinite alternate;
}

.monster-body {
    width: 160px;
    height: 180px;
    background: linear-gradient(160deg, #dc2626 0%, #7f1d1d 40%, #1e1b4b 100%);
    border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
    position: relative;
    box-shadow:
        0 0 45px rgba(220,38,38,0.7),
        inset 0 -20px 40px rgba(0,0,0,0.5),
        inset 0 10px 20px rgba(255,255,255,0.15);
}

/* Horns */
.monster-horns {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
}

.horn {
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 36px solid #b91c1c;
    filter: drop-shadow(0 0 10px rgba(220,38,38,0.9));
}

.left-horn { transform: rotate(-15deg); }
.right-horn { transform: rotate(15deg); }

/* Eyes */
.monster-eyes {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.monster-eye {
    position: relative;
    width: 42px;
    height: 42px;
}

/* Slanted Scary Eyebrows */
.monster-eye::before {
    content: "";
    position: absolute;
    top: -4px;
    width: 48px;
    height: 8px;
    background: #0f172a;
    border-radius: 4px;
    z-index: 5;
}

.left-eye::before {
    left: -4px;
    transform: rotate(18deg);
}

.right-eye::before {
    right: -4px;
    transform: rotate(-18deg);
}

.eyeball {
    width: 42px;
    height: 42px;
    background: radial-gradient(circle, #fef08a 0%, #eab308 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(234,179,8,0.8), inset 0 2px 4px rgba(0,0,0,0.2);
    animation: eyeWobble 2s ease-in-out infinite;
}

@keyframes eyeWobble {
    0%, 100% { transform: scaleX(1) scaleY(1); }
    30% { transform: scaleX(1) scaleY(0.1); }
    35% { transform: scaleX(1) scaleY(1); }
}

.pupil {
    position: absolute;
    width: 8px;
    height: 24px;
    background: #b91c1c;
    border-radius: 999px;
    top: 9px;
    left: 17px;
    box-shadow: 0 0 8px #ef4444;
    animation: eyeMove 3s ease-in-out infinite;
}

@keyframes eyeMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(4px, -3px); }
    50% { transform: translate(-4px, 3px); }
    75% { transform: translate(3px, 4px); }
}

/* Mouth */
.monster-mouth {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    background: #1a0a0a;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    transition: height 0.15s ease;
    height: 40px;
}

.monster.eating .monster-mouth {
    height: 70px;
    animation: mouthChew 0.3s ease-in-out infinite;
}

@keyframes mouthChew {
    0%, 100% { height: 40px; border-radius: 0 0 50px 50px; }
    50% { height: 75px; border-radius: 10px 10px 50px 50px; }
}

.teeth-top {
    display: flex;
    justify-content: space-around;
    padding: 0 5px;
    margin-top: -5px;
}

.teeth-bottom {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.tooth {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.teeth-top .tooth {
    border-bottom: 22px solid white;
    border-top: none;
}

.teeth-bottom .tooth {
    border-top: 14px solid white;
    border-bottom: none;
}

.tongue {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 24px;
    background: linear-gradient(180deg, #dc2626, #991b1b);
    border-radius: 0 0 30px 30px;
    animation: tongueLick 2s ease-in-out infinite;
}

@keyframes tongueLick {
    0%, 60%, 100% { transform: translateX(-50%) translateY(0); }
    80% { transform: translateX(-50%) translateY(10px) scaleX(1.2); }
}

/* Arms */
.monster-arm {
    position: absolute;
    top: 70px;
    width: 40px;
    height: 70px;
    background: linear-gradient(160deg, #15803d, #166534);
    border-radius: 20px;
}

.left-arm {
    left: -28px;
    transform: rotate(20deg);
    transform-origin: top center;
    animation: leftArmWave 2s ease-in-out infinite;
}

.right-arm {
    right: -28px;
    transform: rotate(-20deg);
    transform-origin: top center;
    animation: rightArmWave 2s ease-in-out infinite 0.5s;
}

@keyframes leftArmWave {
    0%, 100% { transform: rotate(20deg); }
    50% { transform: rotate(45deg); }
}

@keyframes rightArmWave {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(-50deg); }
}

.arm-claw {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: linear-gradient(135deg, #166534, #14532d);
    border-radius: 0 0 15px 15px;
}

/* Monster spots */
.monster-spot {
    position: absolute;
    border-radius: 50%;
    background: rgba(124,58,237,0.4);
    filter: blur(2px);
}

.spot-1 { width: 24px; height: 24px; top: 60px; left: 20px; }
.spot-2 { width: 18px; height: 18px; top: 90px; right: 22px; }

/* ===== EAT ITEMS ===== */
.eat-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    min-height: 44px;
}

.eat-item {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.eat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.eat-item.eaten {
    animation: itemEaten 0.4s ease forwards;
}

@keyframes itemEaten {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(0.5) rotate(20deg); }
    100% { opacity: 0; transform: translateY(-80px) scale(0) rotate(90deg); }
}

/* Footer text & enter button */
.welcome-footer-text {
    color: var(--muted);
    font-size: 0.9rem;
}

.enter-btn {
    margin-top: 4px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #7c3aed, #f97316);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 16px 40px rgba(124,58,237,0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    animation: btnAppear 0.5s ease 3s forwards, btnPulse 2s ease-in-out 3.5s infinite;
}

@keyframes btnAppear {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 16px 40px rgba(124,58,237,0.4); transform: scale(1); }
    50% { box-shadow: 0 16px 60px rgba(249,115,22,0.5); transform: scale(1.03); }
}

.enter-btn:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 20px 50px rgba(249,115,22,0.5) !important;
}

/* ===================================================
   SARCASM TICKER
   =================================================== */
.sarcasm-ticker {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(249, 115, 22, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.ticker-inner {
    display: inline-block;
    animation: tickerScroll 42s linear infinite;
    font-size: 0.88rem;
    color: #f97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.ticker-highlight {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin: 0 8px;
    border-radius: 999px;
    background: rgba(253, 186, 116, 0.16);
    border: 1px solid rgba(253, 186, 116, 0.42);
    color: #fde68a;
    text-shadow: 0 0 12px rgba(253, 186, 116, 0.55);
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.16);
}

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

/* ===================================================
   MAIN SITE SHELL
   =================================================== */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

body::before {
    top: -80px;
    left: -60px;
    background: var(--accent);
    animation: float 10s ease-in-out infinite;
}

body::after {
    right: -60px;
    bottom: 40px;
    background: var(--monster-purple);
    animation: float 12s ease-in-out infinite reverse;
}

.site-shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

/* ===================================================
   TOPBAR / NAV
   =================================================== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.3);
    margin-bottom: 0;
    position: sticky;
    top: 10px;
    z-index: 100;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--monster-purple), var(--monster-orange));
    box-shadow: 0 8px 24px rgba(124,58,237,0.4);
    font-size: 1.2rem;
    animation: brandWobble 3s ease-in-out infinite;
}

@keyframes brandWobble {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* ===================================================
   CIT COLLEGE HERO IMAGE SECTION
   =================================================== */
.cit-hero-section {
    margin: 24px 0 0;
}

.cit-hero-image-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(249,115,22,0.3);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.2);
    height: 320px;
}

.cit-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.55) saturate(1.2);
    transition: transform 0.8s ease;
}

.cit-hero-image-wrap:hover .cit-hero-img {
    transform: scale(1.04);
}

.cit-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 38px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.cit-hero-badge {
    display: inline-block;
    background: rgba(249,115,22,0.85);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.cit-hero-community-btn {
    position: absolute;
    top: 24px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--monster-purple), var(--monster-orange));
    color: white;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 32px rgba(2,6,23,0.35), 0 0 24px rgba(249,115,22,0.22);
    z-index: 2;
}

.cit-hero-community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(2,6,23,0.4), 0 0 28px rgba(249,115,22,0.32);
}

.cit-hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    color: white;
    line-height: 1.02;
    margin-bottom: 18px;
    letter-spacing: 0;
    text-shadow: 0 5px 0 rgba(0,0,0,0.45), 0 14px 32px rgba(0,0,0,0.85);
}

.cit-hero-subtitle {
    display: block;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.82rem, 1.4vw, 1.05rem);
    font-weight: 500;
    color: #fde68a;
    line-height: 1.15;
    text-shadow: 0 4px 18px rgba(0,0,0,0.8);
}

.cit-hero-subtitle s {
    color: rgba(255, 255, 255, 0.72);
    text-decoration-color: #f97316;
    text-decoration-thickness: 2px;
}

.cit-sarcasm-box {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249,115,22,0.4);
    border-radius: 12px;
    padding: 12px 18px;
    max-width: 540px;
}

.sarcasm-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quote-icon {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    border-radius: 999px;
    background: rgba(253, 186, 116, 0.12);
    color: #fdba74;
    border: 1px solid rgba(253, 186, 116, 0.35);
    font-family: 'Fredoka One', cursive;
    font-size: 0.75rem;
    text-transform: uppercase;
    flex-shrink: 0;
    animation: quoteWobble 2s ease-in-out infinite;
}

@keyframes quoteWobble {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.sarcasm-quote p {
    color: #fde68a;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    font-style: italic;
}

.quote-dash {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 6px;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
    padding: 48px 0 40px;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--monster-orange), var(--monster-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.eyebrow {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(249,115,22,0.4);
    border-radius: 999px;
    background: rgba(249,115,22,0.12);
    color: #fdba74;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.primary-btn,
.secondary-btn,
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--monster-purple), var(--monster-orange));
    color: white;
    box-shadow: 0 14px 30px rgba(124,58,237,0.3);
}

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

.primary-btn:hover,
.secondary-btn:hover,
.card-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(124,58,237,0.35);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-stats div {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    min-width: 130px;
    transition: border-color 0.3s ease;
}

.hero-stats div:hover {
    border-color: rgba(249,115,22,0.4);
}

.hero-stats strong {
    display: block;
    font-size: 1.2rem;
    color: var(--monster-orange);
    font-family: 'Fredoka One', cursive;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}

.made-by-badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.made-by-badge strong {
    color: var(--accent);
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.panel-monster-emoji {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    animation: monsterPanelBounce 2s ease-in-out infinite;
}

@keyframes monsterPanelBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.panel-card {
    width: 100%;
    max-width: 380px;
    padding: 28px;
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(8, 15, 33, 0.85));
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.4), 0 0 0 1px rgba(124,58,237,0.1);
    position: relative;
    overflow: hidden;
    animation: panelPulse 4s ease-in-out infinite;
}

.panel-card::before {
    content: "";
    position: absolute;
    inset: -40px auto auto -30px;
    width: 140px;
    height: 140px;
    background: rgba(124,58,237,0.15);
    border-radius: 50%;
    filter: blur(20px);
}

@keyframes panelPulse {
    0%, 100% { transform: translateY(0px); box-shadow: 0 24px 60px rgba(2,6,23,0.4), 0 0 0 1px rgba(124,58,237,0.1); }
    50% { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(124,58,237,0.2), 0 0 0 1px rgba(249,115,22,0.2); }
}

.panel-label {
    color: #fdba74;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.76rem;
    margin-bottom: 8px;
}

.panel-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: 'Fredoka One', cursive;
}

.panel-card ul {
    list-style: none;
    margin: 10px 0 16px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.panel-card li::before {
    content: "AI";
    margin-right: 8px;
}

.mini-bar {
    display: flex;
    gap: 8px;
}

.mini-bar span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--monster-purple), var(--monster-orange));
    animation: shimmer 1.8s ease-in-out infinite;
}

.mini-bar span:nth-child(1) { width: 40%; }
.mini-bar span:nth-child(2) { width: 70%; animation-delay: 0.15s; }
.mini-bar span:nth-child(3) { width: 55%; animation-delay: 0.3s; }

/* ===================================================
   SARCASM SECTION
   =================================================== */
.sarcasm-section {
    padding: 48px 0;
}

.sarcasm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.sarcasm-card {
    background: rgba(8,15,33,0.85);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 20px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sarcasm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--monster-purple), var(--monster-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sarcasm-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249,115,22,0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

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

.sarcasm-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.sarcasm-college {
    color: #bae6fd;
    font-size: 0.88rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(56,189,248,0.08);
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}

.sarcasm-reality {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.sarcasm-verdict {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(249,115,22,0.2);
    color: #fdba74;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid rgba(249,115,22,0.3);
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-section {
    padding: 24px 0 32px;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--panel);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.24);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    border-color: rgba(249,115,22,0.45);
    box-shadow: 0 24px 60px rgba(124,58,237,0.2);
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 14px;
}

.card-monster-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(249,115,22,0.15);
    color: #fdba74;
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
    font-family: 'Fredoka One', cursive;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 54px;
}

.card-btn {
    background: rgba(56, 189, 248, 0.12);
    color: #bae6fd;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.card-btn-alt {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.2);
}

/* ===================================================
   CREATOR SECTION
   =================================================== */
.creator-section {
    padding: 24px 0 48px;
}

.creator-card {
    background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(249,115,22,0.08) 100%);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.creator-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
    border-radius: 50%;
}

.creator-monster {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: creatorMonsterFloat 3s ease-in-out infinite;
}

@keyframes creatorMonsterFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-16px) rotate(5deg); }
}

.creator-card h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 8px;
    color: white;
}

.creator-sub {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 32px;
    font-style: italic;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(8,15,33,0.7);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 32px;
    max-width: 600px;
    margin: 0 auto 24px;
    text-align: left;
}

.creator-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--monster-orange);
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(249,115,22,0.3);
    flex-shrink: 0;
}

.creator-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    font-family: 'Fredoka One', cursive;
}

.creator-quote {
    color: var(--muted);
    font-style: italic;
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 16px 24px;
    border-left: 4px solid var(--monster-orange);
    background: rgba(249,115,22,0.06);
    border-radius: 0 12px 12px 0;
    text-align: left;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    margin-top: 20px;
    text-align: center;
    padding: 32px 10px 16px;
    color: var(--muted);
    border-top: 1px solid rgba(124,58,237,0.3);
}

.footer-monster {
    font-size: 2.5rem;
    animation: footerMonster 3s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes footerMonster {
    0%, 100% { transform: rotate(-10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.15); }
}

.footer-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
}

.footer a {
    color: #7dd3fc;
    text-decoration: none;
    margin-bottom: 8px;
    display: inline-block;
}

/* ===================================================
   REVEAL ANIMATION
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   KEYFRAMES (shared)
   =================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-16px) translateX(12px); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: scaleX(0.97); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================================
   FORM & SHARED STYLES
   =================================================== */
.page-header {
    text-align: center;
    padding: 40px 0 20px;
}

.page-header h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(135deg, #ffffff 30%, var(--monster-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.form-container {
    background: var(--panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fdba74;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--monster-orange);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 12px rgba(249,115,22,0.25);
}

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

/* Institution Section */
.affiliation-section {
    padding: 48px 24px;
    margin: 40px 0;
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(249,115,22,0.05) 100%);
    text-align: center;
}

.institution-sub {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--monster-orange);
    margin-bottom: 16px;
}

.affiliation-text {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Results section */
.results-container {
    margin-top: 32px;
}

.job-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.job-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249,115,22,0.4);
    box-shadow: 0 12px 30px rgba(124,58,237,0.15);
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.job-company {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.job-action-link {
    align-self: flex-start;
    color: var(--monster-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.job-action-link:hover {
    color: #fdba74;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--monster-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 24px auto;
}

.status-msg {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    margin: 20px 0;
}

.status-msg.error { color: #ef4444; }

.status-msg.success {
    color: var(--accent-3);
    font-size: 2.2rem;
    font-weight: 800;
    animation: scaleIn 0.3s ease-out;
}

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

/* Resume Builder */
.resume-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.resume-preview-panel {
    background: white;
    color: #1e293b;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.4);
    min-height: 700px;
    font-family: 'Poppins', sans-serif;
}

.resume-preview-panel h2, .resume-preview-panel h3 {
    color: #0f172a;
}

.resume-preview-panel .border-b {
    border-bottom: 2px solid #e2e8f0;
}

/* Brand sub-label */
.brand-sub {
    font-size: 0.62rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Timeline Styling */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--monster-purple), var(--monster-orange));
    transform: translateX(-50%);
    border-radius: 999px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item.right {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-item.left {
    align-self: flex-start;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.dot-purple {
    background: var(--monster-purple);
    box-shadow: 0 0 12px rgba(124,58,237,0.6);
}

.dot-orange {
    background: var(--monster-orange);
    box-shadow: 0 0 12px rgba(249,115,22,0.6);
}

.dot-green {
    background: var(--accent-3);
    box-shadow: 0 0 12px rgba(34,197,94,0.6);
}

.dot-white {
    background: white;
    box-shadow: 0 0 16px rgba(255,255,255,0.8);
}

.timeline-card {
    width: 85%;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.4);
}

.timeline-item.left .timeline-card {
    margin-right: 30px;
}

.timeline-item.right .timeline-card {
    margin-left: 30px;
}

.timeline-card-gradient {
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(249,115,22,0.15));
    border-color: rgba(249,115,22,0.3);
}

.timeline-date {
    color: #fdba74;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.timeline-text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.timeline-emoji {
    display: block;
    font-size: 1.5rem;
    margin-top: 8px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
    .community-card { grid-template-columns: 1fr; text-align: center; }
    .community-copy { justify-items: center; }
    .community-qr-panel { justify-self: center; }
    .hero-section {
        grid-template-columns: 1fr;
    }

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

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

    .resume-builder-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .resume-preview-panel {
        order: 2;
    }

    .resume-builder-grid > .form-container {
        order: 1;
    }

    .cit-hero-image-wrap {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        align-self: flex-start !important;
        justify-content: flex-start;
        padding-left: 45px;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-card {
        width: 100%;
    }
    
    .timeline-item.left .timeline-card,
    .timeline-item.right .timeline-card {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 0 14px 32px;
    }

    .topbar {
        flex-direction: column;
        gap: 12px;
        border-radius: 24px;
    }

    .brand-sub {
        display: none; /* Hide long subtitle on mobile */
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        padding-top: 32px;
    }

    .hero-stats {
        flex-direction: column;
    }

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

    .creator-info {
        flex-direction: column;
        text-align: center;
    }

    .cit-hero-image-wrap {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .cit-hero-img {
        height: 180px;
        object-fit: cover;
    }

    .cit-hero-overlay {
        position: relative;
        inset: auto;
        padding: 20px;
        background: linear-gradient(180deg, rgba(8,15,33,0.95) 0%, rgba(2,6,23,1) 100%);
        border-top: 1px solid rgba(249,115,22,0.2);
    }


.cit-hero-title {
        font-size: 1.5rem;
    }

    .cit-sarcasm-box {
        padding: 10px 14px;
        max-width: 100%;
    }

    .sarcasm-quote p {
        font-size: 0.85rem;
    }

    .resume-preview-panel {
        padding: 20px 16px;
        min-height: auto;
        border-radius: 12px;
    }

    .resume-preview-panel .text-3xl {
        font-size: 1.75rem !important;
        margin-bottom: 16px !important;
    }

    .monster-welcome-overlay .welcome-content {
        padding: 24px 16px;
        gap: 14px;
    }
}

/* ===================================================
   RESUME TEMPLATE THEMES (10 VARIATIONS)
   =================================================== */

/* Template Selector Grid */
.template-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.template-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-align: center;
}

.template-btn:hover {
    background: rgba(249,115,22,0.1);
    border-color: rgba(249,115,22,0.4);
    color: white;
}

.template-btn.active {
    background: linear-gradient(135deg, var(--monster-purple), var(--monster-orange));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(249,115,22,0.25);
}

/* Base Template / Tmpl Default */
.resume-preview-panel {
    background: white;
    color: #1e293b;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.4);
    min-height: 700px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

/* 2. Classic Minimalist */
.resume-preview-panel.tmpl-classic {
    font-family: 'Times New Roman', Times, serif !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.resume-preview-panel.tmpl-classic h3 {
    font-family: 'Times New Roman', Times, serif !important;
    color: #000000 !important;
    border-bottom: 1.5px solid #000000 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
}
.resume-preview-panel.tmpl-classic p,
.resume-preview-panel.tmpl-classic span,
.resume-preview-panel.tmpl-classic strong {
    color: #111111 !important;
}
.resume-preview-panel.tmpl-classic #res-name {
    color: #000000 !important;
    font-family: 'Times New Roman', Times, serif !important;
    text-align: center !important;
}

/* 3. Executive Dark */
.resume-preview-panel.tmpl-dark {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
}
.resume-preview-panel.tmpl-dark h3 {
    color: #38bdf8 !important;
    border-bottom: 2px solid #334155 !important;
}
.resume-preview-panel.tmpl-dark p,
.resume-preview-panel.tmpl-dark span {
    color: #94a3b8 !important;
}
.resume-preview-panel.tmpl-dark strong {
    color: #f1f5f9 !important;
}
.resume-preview-panel.tmpl-dark #res-name {
    color: #38bdf8 !important;
}

/* 4. Vibrant Orange */
.resume-preview-panel.tmpl-orange {
    background: #fffcf9 !important;
    border-top: 12px solid #f97316 !important;
}
.resume-preview-panel.tmpl-orange h3 {
    color: #f97316 !important;
    border-bottom: 2px solid #fdba74 !important;
}
.resume-preview-panel.tmpl-orange p,
.resume-preview-panel.tmpl-orange span,
.resume-preview-panel.tmpl-orange strong {
    color: #4338ca !important;
}
.resume-preview-panel.tmpl-orange p span,
.resume-preview-panel.tmpl-orange p,
.resume-preview-panel.tmpl-orange span {
    color: #475569 !important;
}
.resume-preview-panel.tmpl-orange #res-name {
    color: #f97316 !important;
}

/* 5. Elegant Serif */
.resume-preview-panel.tmpl-serif {
    font-family: 'Georgia', Garamond, serif !important;
    background: #fffdf5 !important;
    color: #27272a !important;
}
.resume-preview-panel.tmpl-serif h3 {
    font-family: 'Georgia', serif !important;
    color: #7c2d12 !important;
    border-bottom: 1px dashed #7c2d12 !important;
    font-weight: 600 !important;
}
.resume-preview-panel.tmpl-serif p,
.resume-preview-panel.tmpl-serif span,
.resume-preview-panel.tmpl-serif strong {
    color: #44403c !important;
}
.resume-preview-panel.tmpl-serif #res-name {
    color: #7c2d12 !important;
    font-family: 'Georgia', serif !important;
}

/* 6. Modern Tech */
.resume-preview-panel.tmpl-tech {
    font-family: 'Courier New', Courier, monospace !important;
    background: #18181b !important;
    color: #4ade80 !important;
    border: 2px solid #4ade80 !important;
    box-shadow: 0 0 20px rgba(74,222,128,0.2) !important;
}
.resume-preview-panel.tmpl-tech h3 {
    font-family: 'Courier New', monospace !important;
    color: #22d3ee !important;
    border-bottom: 1px solid #4ade80 !important;
}
.resume-preview-panel.tmpl-tech p,
.resume-preview-panel.tmpl-tech span,
.resume-preview-panel.tmpl-tech strong {
    color: #4ade80 !important;
}
.resume-preview-panel.tmpl-tech #res-name {
    color: #22d3ee !important;
    font-family: 'Courier New', monospace !important;
}

/* 7. Neon Cyberpunk */
.resume-preview-panel.tmpl-cyber {
    background: #000000 !important;
    color: #f43f5e !important;
    border: 2px solid #f43f5e !important;
    box-shadow: 0 0 15px #f43f5e, inset 0 0 10px rgba(6,182,212,0.5) !important;
}
.resume-preview-panel.tmpl-cyber h3 {
    color: #06b6d4 !important;
    border-bottom: 1.5px solid #f43f5e !important;
    text-shadow: 0 0 5px rgba(6,182,212,0.5) !important;
}
.resume-preview-panel.tmpl-cyber p,
.resume-preview-panel.tmpl-cyber span,
.resume-preview-panel.tmpl-cyber strong {
    color: #f8fafc !important;
}
.resume-preview-panel.tmpl-cyber #res-name {
    color: #06b6d4 !important;
    text-shadow: 0 0 8px #06b6d4 !important;
}

/* 8. Royal Blue */
.resume-preview-panel.tmpl-royal {
    background: #ffffff !important;
    border-left: 14px solid #1d4ed8 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.resume-preview-panel.tmpl-royal h3 {
    color: #1d4ed8 !important;
    border-bottom: 2px solid #bfdbfe !important;
}
.resume-preview-panel.tmpl-royal p,
.resume-preview-panel.tmpl-royal span,
.resume-preview-panel.tmpl-royal strong {
    color: #1e293b !important;
}
.resume-preview-panel.tmpl-royal #res-name {
    color: #1d4ed8 !important;
}

/* 9. Left Sidebar Highlight */
.resume-preview-panel.tmpl-split {
    background: #f1f5f9 !important;
    border-top: 6px solid #6366f1 !important;
}
.resume-preview-panel.tmpl-split h3 {
    color: #4f46e5 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}
.resume-preview-panel.tmpl-split p,
.resume-preview-panel.tmpl-split span,
.resume-preview-panel.tmpl-split strong {
    color: #334155 !important;
}
.resume-preview-panel.tmpl-split #res-name {
    color: #4f46e5 !important;
}

/* 10. Placement Cell Sir's Nightmare */
.resume-preview-panel.tmpl-nightmare {
    font-family: 'Comic Sans MS', cursive, sans-serif !important;
    background: #fff1f2 !important;
    border: 3px dashed #ef4444 !important;
    color: #1f2937 !important;
}
.resume-preview-panel.tmpl-nightmare h3 {
    font-family: 'Comic Sans MS', cursive !important;
    color: #b91c1c !important;
    border-bottom: 3px dotted #f87171 !important;
}
.resume-preview-panel.tmpl-nightmare p,
.resume-preview-panel.tmpl-nightmare span,
.resume-preview-panel.tmpl-nightmare strong {
    color: #4b5563 !important;
}
.resume-preview-panel.tmpl-nightmare strong {
    color: #111827 !important;
}
.resume-preview-panel.tmpl-nightmare #res-name {
    color: #ef4444 !important;
    font-family: 'Comic Sans MS', cursive !important;
    transform: rotate(-1deg);
    display: inline-block;
}
.resume-preview-panel.tmpl-nightmare::after {
    content: "⚠️ DANGER: Contains 100% Practical Skills, Placement Officer's Blood Pressure Warning! ⚠️";
    display: block;
    font-size: 0.75rem;
    color: #b91c1c;
    font-weight: 700;
    text-align: center;
    border: 1.5px solid #f87171;
    padding: 8px;
    border-radius: 8px;
    margin-top: 24px;
    background: #ffe4e6;
}

/* Radar Scanner Animation */
.radar-container {
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, rgba(2,6,23,0.8) 100%);
    border: 2px solid rgba(6,182,212,0.3);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(6,182,212,0.15);
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, rgba(6,182,212,0.4) 0%, transparent 100%);
    transform-origin: top left;
    animation: radarRotate 3s linear infinite;
    border-top: 1.5px solid rgba(6,182,212,0.8);
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(6,182,212,0.25);
    border-radius: 50%;
}

.circle-1 { width: 30%; height: 30%; }
.circle-2 { width: 60%; height: 60%; }
.circle-3 { width: 90%; height: 90%; }

.radar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
    opacity: 0;
    animation: blipFade 3s ease-in-out infinite;
}

.blip-1 { top: 30%; left: 40%; animation-delay: 0.8s; }
.blip-2 { top: 60%; left: 70%; animation-delay: 1.8s; }

@keyframes radarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Scan checks */
.scan-check {
    font-size: 0.88rem;
    color: var(--muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-check.success {
    color: #4ade80;
    font-weight: 600;
}



/* Contact community layout */
.community-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: center;
    text-align: left;
    max-width: 820px;
}

.community-copy {
    display: grid;
    gap: 16px;
}

.community-kicker {
    width: fit-content;
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(168,85,247,0.3);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.community-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    color: white;
    line-height: 1.1;
}

.community-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 460px;
}

.community-qr-panel {
    justify-self: end;
    text-align: center;
}

.community-qr-frame {
    width: 230px;
    aspect-ratio: 1;
    border-radius: 14px;
    padding: 12px;
    background: #ffffff;
    border: 4px solid #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.community-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.community-qr-fallback {
    width: 100%;
    height: 100%;
    color: #111827;
}

.community-qr-caption {
    margin-top: 10px;
    color: #fde68a;
    font-size: 0.86rem;
    font-weight: 700;
}
@media (max-width: 900px) {
    /* Contact community responsive */
    .community-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .community-copy {
        justify-items: center;
    }

    .community-qr-panel {
        justify-self: center;
    }
}
.about-header-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--monster-orange);
    box-shadow: 0 14px 32px rgba(249,115,22,0.32);
    margin-bottom: 14px;
    animation: creatorMonsterFloat 3s ease-in-out infinite;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 760px;
    flex-wrap: wrap;
}

.footer-credit-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--monster-orange);
    box-shadow: 0 10px 24px rgba(249,115,22,0.26);
    flex-shrink: 0;
}

.footer-credit-text {
    text-align: left;
    max-width: 560px;
}

.footer-role {
    margin-top: 4px;
    font-size: 0.82rem;
    color: #fdba74;
    font-style: italic;
}

.footer-credit a {
    color: #7dd3fc;
    text-decoration: none;
    display: inline;
    margin-bottom: 0;
}

.footer-credit a:hover {
    color: #bae6fd;
}

@media (max-width: 640px) {
    .footer-credit-text {
        text-align: center;
    }
}
.creator-linkedin {
    display: inline-flex;
    width: fit-content;
    margin-top: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,0.28);
    background: rgba(56,189,248,0.1);
    color: #7dd3fc;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.creator-linkedin:hover {
    color: #bae6fd;
    border-color: rgba(56,189,248,0.5);
}
@media (max-width: 640px) {
    .cit-hero-community-btn {
        position: static;
        width: fit-content;
        margin-bottom: 16px;
        align-self: flex-start;
    }
}
/* ===================================================
   FLAGSHIP WELCOME GATE
   =================================================== */
body.welcome-active {
    overflow: hidden;
}

.welcome-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(236,72,153,0.26), transparent 24%),
        radial-gradient(circle at 78% 16%, rgba(56,189,248,0.18), transparent 22%),
        radial-gradient(circle at 50% 76%, rgba(249,115,22,0.12), transparent 24%),
        linear-gradient(135deg, #030611 0%, #100518 46%, #020617 100%);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.welcome-gate.welcome-leaving {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
    pointer-events: none;
}

.welcome-light-cluster {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(42px);
    opacity: 0.68;
    mix-blend-mode: screen;
    animation: welcomeClusterFloat 8s ease-in-out infinite;
}

.cluster-one {
    top: 8%;
    left: 7%;
    background: radial-gradient(circle, rgba(236,72,153,0.74), transparent 64%);
}

.cluster-two {
    right: 9%;
    top: 18%;
    background: radial-gradient(circle, rgba(124,58,237,0.62), transparent 66%);
    animation-delay: -2s;
}

.cluster-three {
    left: 44%;
    bottom: 2%;
    background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 68%);
    animation-delay: -4s;
}

@keyframes welcomeClusterFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

.welcome-particle-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.welcome-particle {
    position: absolute;
    width: var(--particle-size, 3px);
    height: var(--particle-size, 3px);
    left: var(--particle-left, 50%);
    top: var(--particle-top, 50%);
    border-radius: 50%;
    background: var(--particle-color, #f0abfc);
    box-shadow: 0 0 14px currentColor;
    opacity: 0.76;
    animation: welcomeParticleDrift var(--particle-duration, 9s) linear infinite;
    animation-delay: var(--particle-delay, 0s);
}

@keyframes welcomeParticleDrift {
    0% { transform: translate3d(0, 22px, 0) scale(0.75); opacity: 0; }
    18% { opacity: 0.86; }
    100% { transform: translate3d(var(--particle-x, 34px), -120vh, 0) scale(1.15); opacity: 0; }
}

.welcome-orbit-system {
    position: absolute;
    right: clamp(24px, 8vw, 120px);
    top: clamp(60px, 12vh, 120px);
    width: clamp(180px, 26vw, 340px);
    aspect-ratio: 1;
    opacity: 0.82;
    pointer-events: none;
}

.welcome-solar-core {
    position: absolute;
    inset: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, #fff7ed 0%, #f472b6 35%, #7c3aed 70%, transparent 72%);
    box-shadow: 0 0 32px #f472b6, 0 0 70px rgba(124,58,237,0.55);
    animation: welcomeSolarPulse 2.8s ease-in-out infinite;
}

.welcome-orbit {
    position: absolute;
    inset: var(--orbit-inset, 18%);
    border-radius: 50%;
    border: 1px solid rgba(253, 186, 116, 0.24);
    box-shadow: inset 0 0 18px rgba(236,72,153,0.18);
    transform: rotate(var(--orbit-rotate, 0deg));
    animation: welcomeOrbitSpin var(--orbit-speed, 16s) linear infinite;
}

.orbit-one { --orbit-inset: 18%; --orbit-speed: 14s; --orbit-rotate: 12deg; }
.orbit-two { --orbit-inset: 8%; --orbit-speed: 21s; --orbit-rotate: -18deg; }
.orbit-three { --orbit-inset: 0%; --orbit-speed: 29s; --orbit-rotate: 32deg; }

@keyframes welcomeSolarPulse {
    0%, 100% { transform: scale(1); opacity: 0.86; }
    50% { transform: scale(1.16); opacity: 1; }
}

@keyframes welcomeOrbitSpin {
    from { transform: rotate(var(--orbit-rotate, 0deg)); }
    to { transform: rotate(calc(var(--orbit-rotate, 0deg) + 360deg)); }
}

.welcome-panel {
    position: relative;
    z-index: 2;
    width: min(780px, 100%);
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid rgba(253, 186, 116, 0.22);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(20px);
    box-shadow: 0 28px 90px rgba(0,0,0,0.58), 0 0 90px rgba(236,72,153,0.16);
    text-align: left;
}

.welcome-kicker {
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 8px;
    background: rgba(236,72,153,0.14);
    border: 1px solid rgba(236,72,153,0.32);
    color: #f9a8d4;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.welcome-headline {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.03;
    color: white;
    margin-bottom: 18px;
    text-shadow: 0 4px 0 rgba(0,0,0,0.42), 0 0 34px rgba(236,72,153,0.34);
}

.welcome-typewriter {
    min-height: 164px;
    color: #f8fafc;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
    letter-spacing: 0;
    white-space: pre-wrap;
}

.welcome-typewriter::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 1.15em;
    margin-left: 4px;
    transform: translateY(3px);
    background: #f9a8d4;
    box-shadow: 0 0 16px #f9a8d4;
    animation: welcomeCaret 0.8s steps(1) infinite;
}

.welcome-gate.typing-complete .welcome-typewriter::after {
    display: none;
}

@keyframes welcomeCaret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.welcome-journey {
    margin-top: 16px;
    color: #fde68a;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 800;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.welcome-gate.typing-complete .welcome-journey {
    opacity: 1;
    transform: translateY(0);
}

.welcome-enter-btn {
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    padding: 13px 24px;
    background: linear-gradient(135deg, #db2777, #7c3aed 56%, #38bdf8);
    color: white;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 18px 48px rgba(124,58,237,0.34);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease;
}

.welcome-gate.typing-complete .welcome-enter-btn {
    opacity: 1;
    transform: translateY(0);
}

.welcome-enter-btn:disabled {
    cursor: wait;
}

.welcome-enter-btn:not(:disabled):hover {
    box-shadow: 0 22px 58px rgba(236,72,153,0.38);
    transform: translateY(-2px);
}

.welcome-flash-light {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(249,168,212,0.82) 22%, rgba(56,189,248,0.2) 48%, transparent 72%);
    opacity: 0;
    transform: scale(0.2);
}

.welcome-gate.welcome-flashing .welcome-flash-light {
    animation: welcomeFlashLand 0.95s ease forwards;
}

@keyframes welcomeFlashLand {
    0% { opacity: 0; transform: scale(0.2); }
    38% { opacity: 1; transform: scale(1.3); }
    100% { opacity: 0; transform: scale(2.4); }
}

@media (max-width: 640px) {
    .welcome-gate {
        padding: 16px;
    }

    .welcome-orbit-system {
        right: -60px;
        top: 24px;
        opacity: 0.42;
    }

    .welcome-typewriter {
        min-height: 230px;
    }
}
