/* ============================================
   ROOT VARIABLES
============================================ */

:root {
    --bg: #05060a;
    --bg-alt: #0b0c12;

    --text: #f5f5ff;
    --muted: #9a9ab5;

    --accent: #7c5cff;
    --accent-soft: rgba(124,92,255,0.25);

    --radius: 18px;

    /* BUTTON COLORS */
    --btn-bg: #1a1b27;
    --btn-border: #3b3d55;
    --btn-hover: #5d5fff;
    --btn-glow: rgba(93, 95, 255, 0.55);
}

/* ============================================
   GLOBAL RESET
============================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    
    background:
        radial-gradient(circle at 20% 0%, rgba(124,92,255,0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(0,180,255,0.08), transparent 70%),
        linear-gradient(to bottom, #0a0b10, #05060a);

    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   HEADER — PREMIUM, RECOGNOSCIBIL
============================================ */

/* HEADER — FIXED, PREMIUM, RECOGNOSCIBIL */

/* OS UI — System Bar Enhancements */
.rc-header {
    backdrop-filter: blur(22px) saturate(140%);
    background: rgba(15, 15, 22, 0.55);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.rc-header h1 {
    font-size: 24px;
    letter-spacing: 0.18em;
}

.rc-tagline {
    opacity: 0.75;
}

/* NAV BUTTON */

.rc-nav-btn {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.rc-nav-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

/* ============================================
   MAIN + GRID
============================================ */

.rc-main {
    flex: 1;
    padding: 20px 7vw 40px;
}

.rc-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d6d6ff;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

/* OS UI — Dock */
.rc-dock {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 22px;
    padding: 14px 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

.rc-dock img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.rc-dock img:hover {
    transform: translateY(-6px) scale(1.12);
}


/* ============================================
   CARD BASE — 3D, GLOW, CINEMATIC
============================================ */

.rc-card {
    position: relative;
    padding: 22px 20px 26px;
    border-radius: var(--radius);
    background: rgba(20, 20, 32, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;

    transform-style: preserve-3d;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.rc-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(124,92,255,0.5);
    box-shadow:
        0 30px 60px rgba(0,0,0,0.9),
        0 0 25px rgba(124,92,255,0.4);
}

/* ============================================
   CARD HEADER + PILLS
============================================ */

.rc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rc-card h3 {
    margin: 0;
    font-size: 20px;
}

.rc-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.45);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rc-pill-math { color: #00ffbf; border-color: #00ffbf; }
.rc-pill-retro { color: #ff9ff3; border-color: #ff9ff3; }
.rc-pill-productive { color: #00d18f; border-color: #00d18f; }
.rc-pill-arcade { color: #ffb142; border-color: #ffb142; }
.rc-pill-soon { color: #74b9ff; border-color: #74b9ff; }

/* ============================================
   CARD TEXT
============================================ */

.rc-desc {
    margin: 8px 0 14px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.rc-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7f7fa0;
    margin-bottom: 14px;
}

.rc-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   BUTTONS — MODERN, NEUTRE, PREMIUM
============================================ */

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 16px;
    border-radius: 999px;

    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: white;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition: 0.2s ease;
    box-shadow: 0 0 0 transparent;
}

.rc-btn:hover {
    border-color: var(--btn-hover);
    color: var(--btn-hover);
    box-shadow: 0 0 14px var(--btn-glow);
    transform: translateY(-2px) scale(1.04);
}

.rc-btn-disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

/* ============================================
   THEMES — PROCALCULATE / PERSONAFORGE / NOTES / ARCADE
============================================ */

/* PROCALCULATE */
.rc-math {
    background:
        url("assets/images/procalculate.png") center 25px/120px no-repeat,
        radial-gradient(circle at top, #003326, #000);
    padding-top: 160px;
    border: 1px solid #00ffbf;
    box-shadow: 0 0 25px rgba(0,255,200,0.35);
    position: relative;
}

/* PERSONAFORGE */
.rc-retro {
    background:
        url("assets/images/personaforge.png") center 25px/120px no-repeat,
        linear-gradient(135deg, #ff9ff3 0%, #6c5ce7 100%);
    padding-top: 160px;
    border: 2px solid #ffb8ff;
    box-shadow: 0 0 25px rgba(255,159,243,0.45);
    position: relative;
}

.rc-retro:hover {
    border-color: #ff9ff3 !important; /* roz-violet neon */
    box-shadow:
        0 0 30px #ff9ff3,
        0 0 55px #ff6ce7,
        0 0 80px #ff3cd9;
}


/* NOTESBUDDY */
.rc-notes {
    background: #fff8b3;
    border: 2px solid #ffe66d;
    color: #3a3a00;
    box-shadow: 0 8px 0 #d4c45a, 0 0 25px rgba(255,255,150,0.45);
    transform: rotate(-1.5deg);
}

.rc-notes:hover {
    border-color: #ffdd55 !important;
    box-shadow:
        0 12px 0 #d4c45a,
        0 0 40px #ffdd55,
        0 0 60px #ffe680;
}



.rc-math:hover {
    border-color: #00ffbf !important;
    box-shadow:
        0 0 30px #00ffbf,
        0 0 55px #00ffaa,
        0 0 80px #00ffbf;
}

/* ARCADEGON */
/* ===========================
   ARCADEGON — REAL ARCADE STYLE
   =========================== */

/* ARCADEGON */
.rc-arcade {
    background: linear-gradient(to bottom, #2b0000, #000);
    border: 3px solid #ffae00;
    border-radius: 16px;

    box-shadow:
        0 0 18px #ffae00,
        0 0 35px #ff7b00,
        inset 0 0 12px #ff4500;

    position: relative;
    padding: 22px 20px 26px; /* FIX FINAL */





    /* CRT glass */
    overflow: hidden;
}

.rc-arcade,
.rc-arcade:hover {
    border-color: #ffae00 !important;
}


/* CRT scanlines */
.rc-arcade::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.25;
    pointer-events: none;
}

/* Glow radial */
.rc-arcade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,120,0,0.35), transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* HOVER — CRT POP + ARCADE GLOW */
.rc-arcade:hover {
    transform: translateY(-10px) scale(1.04);

    /* păstrăm border-ul EXACT la fel */
    border-color: #ffae00;

    /* glow arcade intens */
    box-shadow:
        0 0 30px #ffae00,
        0 0 55px #ff7b00,
        0 0 80px #ff4500;
}


/* Scanline pulse */
@keyframes arcadeScanPulse {
    0% { opacity: 0.25; }
    50% { opacity: 0.45; }
    100% { opacity: 0.25; }
}

.rc-arcade:hover::before {
    animation: arcadeScanPulse 0.18s infinite;
}



/* ============================================
   HOVER EFFECTS PER THEME
============================================ */

.rc-math:hover::before {
    animation: mathPulse 1.4s infinite ease-in-out;
}

.rc-retro:hover {
    animation: pixelShake 0.25s steps(2) infinite;
}

.rc-retro:hover::after {
    animation: crtFlicker 0.12s infinite;
}

.rc-notes:hover {
    animation: noteFlip 0.6s ease-in-out;
}

.rc-arcade:hover {
    animation: glitch 0.25s steps(2) infinite;
}

.rc-arcade:hover::before {
    animation: scanPulse 0.18s infinite;
}

/* ============================================
   FOOTER
============================================ */

/* FOOTER */
.rc-footer {
    padding: 28px 0;
    text-align: center;
    background: #0a0b10;
    border-top: 1px solid rgba(124, 92, 255, 0.25);
    margin-top: 40px;
}

/* SOCIAL ICON WRAPPER */
.rc-footer-socials {
    display: flex;
    justify-content: center;
    gap: 22px;
}

/* BASE ICON STYLE */
.rc-social-icon {
    font-size: 32px;
    padding: 10px;
    border-radius: 10px;
    transition: 0.25s ease;
}

/* INSTAGRAM */
.rc-instagram-icon {
    color: #ff4da6;
}
.rc-instagram-icon:hover {
    color: #ff4da6;
    box-shadow: 0 0 18px rgba(255, 77, 166, 0.45);
}

/* TIKTOK */
.rc-tiktok-icon {
    color: #4dd0ff;
}
.rc-tiktok-icon:hover {
    color: #4dd0ff;
    box-shadow: 0 0 18px rgba(77, 208, 255, 0.45);
}

/* BLUESKY */
.rc-bluesky-icon {
    color: #0099ff;
}
.rc-bluesky-icon:hover {
    color: #0099ff;
    box-shadow: 0 0 18px rgba(0, 153, 255, 0.45);
}

/* TWITTER / X */
.rc-twitter-icon {
    color: #000000;
}
.rc-twitter-icon:hover {
    color: #000000;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

/* YOUTUBE */
.rc-youtube-icon {
    color: #ff4444;
}
.rc-youtube-icon:hover {
    color: #ff4444;
    box-shadow: 0 0 18px rgba(255, 68, 68, 0.45);
}


.rc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rc-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 0 0 20px #ffae00;
}

/* BUTTON — PROCALCULATE */
.rc-btn-math {
    border-color: #00ffbf;
    color: #00ffbf;
    transition: 0.25s ease;
}

.rc-btn-math:hover {
    background: rgba(0,255,191,0.12);
    box-shadow: 0 0 18px rgba(0,255,191,0.45);
    color: white;
    border-color: #00ffbf;
    transform: translateY(-3px) scale(1.05);
}

/* BUTTON — PERSONAFORGE */
.rc-btn-retro {
    border-color: #ff9ff3;
    color: #ff9ff3;
    transition: 0.25s ease;
}

.rc-btn-retro:hover {
    background: rgba(255,159,243,0.12);
    box-shadow: 0 0 18px rgba(255,159,243,0.45);
    color: white;
    border-color: #ff9ff3;
    transform: translateY(-3px) scale(1.05);
}

/* BUTTON — NOTESBUDDY */
.rc-btn-notes {
    border-color: #ffe66d;
    color: #c9b200;
    transition: 0.25s ease;
}

.rc-btn-notes:hover {
    background: rgba(255,230,109,0.18);
    box-shadow: 0 0 18px rgba(255,230,109,0.45);
    color: #3a3a00;
    border-color: #ffe66d;
    transform: translateY(-3px) scale(1.05);
}

/* BUTTON — ARCADEGON */
.rc-btn-arcade {
    border-color: #ffae00;
    color: #ffae00;
    transition: 0.25s ease;
}

.rc-btn-arcade:hover {
    background: rgba(255,174,0,0.15);
    box-shadow: 0 0 22px rgba(255,174,0,0.55);
    color: white;
    border-color: #ffae00;
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   R‑CORE OS — LIGHT PREMIUM + BLUE NEON PATCH
   (Compatibil cu tema ta dark actuală)
============================================ */

/* HEADER — OS BAR */
.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 26px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.12);

    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* BRAND */
.rc-brand-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc-logo-dot {
    width: 12px;
    height: 12px;
    background: #6bb7ff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(100,170,255,0.55);
}

.rc-brand h1 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.rc-tagline {
    margin: 0;
    margin-top: -4px;
    font-size: 12px;
    color: #9ab6ff;
}

/* RIGHT SIDE */
.os-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.os-icon {
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.os-icon:hover {
    color: #6bb7ff;
    text-shadow: 0 0 12px rgba(100,170,255,0.55);
}

/* CLOCK + DATE */
.os-clock-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 6px 12px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;

    box-shadow:
        inset 0 0 10px rgba(120,160,255,0.15),
        0 0 10px rgba(120,160,255,0.25);
}

.os-clock {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #6bb7ff;
    text-shadow: 0 0 12px rgba(100,170,255,0.55);
}

.os-date {
    font-size: 12px;
    color: #b8c7ff;
}

/* MAIN AREA */
.rc-main {
    padding: 40px 60px;
}

/* SECTION TITLE */
.rc-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
    color: #dfe6ff;
}

/* GRID FIX */
.rc-grid {
    gap: 26px;
}

/* ============================================
   NEBULAVIDEO — DARK NEON CINEMATIC CARD
============================================ */

.rc-nebulavideo {
    background: rgba(10, 12, 20, 0.75);
    border: 1px solid rgba(120,160,255,0.25);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);

    box-shadow:
        0 0 18px rgba(120,160,255,0.18),
        inset 0 0 22px rgba(80,120,255,0.12);

    transition: 0.25s ease;
}

.rc-nebulavideo:hover {
    border-color: #6bb7ff;
    box-shadow:
        0 0 25px rgba(120,160,255,0.45),
        0 0 55px rgba(120,160,255,0.25),
        inset 0 0 30px rgba(80,120,255,0.18);
    transform: translateY(-8px) scale(1.03);
}

.rc-pill-nebula {
    color: #6bb7ff;
    border-color: #6bb7ff;
}

.rc-btn-nebula {
    border-color: #6bb7ff;
    color: #6bb7ff;
}

.rc-btn-nebula:hover {
    background: rgba(120,160,255,0.15);
    box-shadow: 0 0 18px rgba(120,160,255,0.45);
    color: white;
    border-color: #6bb7ff;
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   LEARN2CODE — GREEN HACKING THEME
============================================ */

.rc-learn2code {
    background: rgba(10, 20, 10, 0.75);
    border: 1px solid rgba(0, 255, 100, 0.25);
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 18px rgba(0, 255, 100, 0.18),
        inset 0 0 22px rgba(0, 255, 100, 0.12);
    transition: 0.25s ease;
}

.rc-learn2code:hover {
    border-color: #00ff88;
    box-shadow:
        0 0 25px rgba(0, 255, 100, 0.45),
        0 0 55px rgba(0, 255, 100, 0.25),
        inset 0 0 30px rgba(0, 255, 100, 0.18);
    transform: translateY(-8px) scale(1.03);
}

.rc-pill-hack {
    color: #00ff88;
    border-color: #00ff88;
}

.rc-btn-hack {
    border-color: #00ff88;
    color: #00ff88;
}

.rc-btn-hack:hover {
    background: rgba(0, 255, 100, 0.15);
    box-shadow: 0 0 18px rgba(0, 255, 100, 0.45);
    color: white;
    border-color: #00ff88;
    transform: translateY(-3px) scale(1.05);
}

:root {
    --party-glow:
        0 0 35px rgba(255, 80, 200, 0.65),
        0 0 70px rgba(124, 92, 255, 0.55),
        0 0 110px rgba(255, 80, 200, 0.45);
}

.rc-domain-banner {
    width: 100%;
    padding: 70px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0a0b12, #1a0f2b, #2b0f3f);
    box-shadow: var(--party-glow);
    text-align: center;
    margin: 40px auto;
    animation: bannerFloat 4s ease-in-out infinite;
}

@keyframes bannerFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.rc-banner-title {
    font-family: "Sora", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #f5eaff;
    text-shadow: var(--party-glow);
    margin-bottom: 10px;
}

.rc-r {
    color: #7c5cff;
    text-shadow: var(--party-glow);
}

.rc-banner-sub {
    font-size: 18px;
    color: #d7cfff;
    margin-bottom: 25px;
    opacity: 0.9;
}

.rc-banner-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: rgba(124, 92, 255, 0.25);
    border: 1px solid rgba(124, 92, 255, 0.45);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: var(--party-glow);
}

.rc-banner-btn:hover {
    background: rgba(255, 80, 200, 0.35);
    border-color: rgba(255, 80, 200, 0.65);
    transform: scale(1.05);
}

#rc-loading {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.6s ease;
}

#rc-skip {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

#rc-skip:hover {
    background: var(--btn-hover);
    box-shadow: 0 0 12px var(--btn-glow);
}

.rc-loading-center {
    text-align: center;
}

.rc-spinner {
    width: 55px;
    height: 55px;
    border: 5px solid var(--btn-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.rc-loading-bar {
    width: 300px;
    height: 12px;
    background: var(--bg-alt);
    border-radius: 12px;
    overflow: hidden;
    margin: 10px auto 15px;
    border: 1px solid var(--btn-border);
}

.rc-loading-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--btn-glow);
    transition: width 0.3s ease;
}

#rc-funfact {
    color: var(--muted);
    font-size: 15px;
    margin-top: 12px;
}

/* ============================================
   GAMINGSTRUCTOR — NEON R-CORE (MOV + CYAN)
============================================ */

.rc-gamingstructor {
    background: rgba(20, 15, 35, 0.75); /* dark violet tint */
    border: 1px solid rgba(124, 92, 255, 0.25); /* soft purple */
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 18px rgba(124, 92, 255, 0.18),   /* purple outer glow */
        inset 0 0 22px rgba(77, 208, 255, 0.12); /* cyan inner glow */
    transition: 0.25s ease;
}

.rc-gamingstructor:hover {
    border-color: #7c5cff; /* strong purple */
    box-shadow:
        0 0 25px rgba(124, 92, 255, 0.45),
        0 0 55px rgba(77, 208, 255, 0.25),
        inset 0 0 30px rgba(77, 208, 255, 0.18);
    transform: translateY(-8px) scale(1.03);
}

/* PILL */
.rc-pill-gamingstructor {
    color: #7c5cff;
    border-color: #7c5cff;
}

/* BUTTON */
.rc-btn-gamingstructor {
    border-color: #7c5cff;
    color: #7c5cff;
}

.rc-btn-gamingstructor:hover {
    background: rgba(124, 92, 255, 0.15);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.45);
    color: white;
    border-color: #7c5cff;
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   GAMINGSTRUCTOR — THUMB BORDER
============================================ */

.rc-thumb-gamingstructor {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 12px 0;

    /* NEON BORDER R-CORE */
    box-shadow:
        0 0 18px rgba(124, 92, 255, 0.25),      /* purple outer glow */
        inset 0 0 22px rgba(77, 208, 255, 0.15); /* cyan inner glow */
    
    border: 1px solid rgba(124, 92, 255, 0.35);
    background: rgba(10, 10, 20, 0.35);
    backdrop-filter: blur(6px);
    transition: 0.25s ease;
}

.rc-thumb-gamingstructor:hover {
    box-shadow:
        0 0 25px rgba(124, 92, 255, 0.45),
        inset 0 0 30px rgba(77, 208, 255, 0.25);
    transform: translateY(-3px) scale(1.02);
}

/* POPUP OVERLAY */
.rc-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: 0.3s ease;
}

.rc-popup.hidden {
    display: none;
}

/* POPUP BOX */
.rc-popup-box {
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(124, 92, 255, 0.35);
    box-shadow:
        0 0 25px rgba(124, 92, 255, 0.35),
        inset 0 0 18px rgba(77, 208, 255, 0.15);
    padding: 28px;
    width: 420px;
    border-radius: 14px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.rc-popup-box h2 {
    color: #e9faff;
    margin-bottom: 12px;
    font-size: 22px;
    letter-spacing: 0.04em;
}

.rc-popup-box p {
    color: #cfd9ff;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
}

/* BUTTON */
#rc-popup-btn {
    background: transparent;
    border: 1px solid #7c5cff;
    color: #7c5cff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

#rc-popup-btn:hover {
    background: #7c5cff;
    color: #05060a;
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.45);
    transform: translateY(-2px);
}

#rcParticles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.rc-header.os-bar {
    position: relative;
    overflow: hidden;
}

.rc-header.os-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.12;
    pointer-events: none;
}

.rc-projects-accent {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #7c5cff, #00b4ff);
    border-radius: 10px;
    margin-top: 6px;
    animation: pulseAccent 2s ease-in-out infinite;
}

@keyframes pulseAccent {
    0% { opacity: 0.4; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.4; transform: scaleX(0.8); }
}

.rc-section-title {
    text-shadow: 0 0 12px rgba(124,92,255,0.35);
}

/* ============================================
   SCROLL REVEAL (from test.html)
============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
