/* ============================================
   ROOT VARIABLES
============================================ */

:root {
    --bg: #05060a;
    --bg-alt: #0b0c12;

    --text: #f5f5ff;
    --muted: #9a9ab5;

    --accent: #7c5cff;
    --accent-soft: rgba(124,92,255,0.25);

    --radius: 18px;
}

/* ============================================
   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
============================================ */

.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;
}

.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;
}

.os-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.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 PAGE
============================================ */

.rc-main-page {
    padding: 40px 60px;
}

.rc-page-title {
    font-family: 'Sora', sans-serif;
    font-size: 36px;
    margin-bottom: 10px;
    color: #e9e9ff;
}

.rc-page-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* ============================================
   GRID
============================================ */

.rc-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

/* ============================================
   CARDS
============================================ */

.rc-page-card {
    background: rgba(20,20,32,0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 22px 20px 26px;
    backdrop-filter: blur(14px);

    transition: 0.25s ease;
}

.rc-page-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);
}

.rc-page-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.rc-page-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* ============================================
   FOOTER
============================================ */

.rc-footer {
    padding: 28px 0;
    text-align: center;
    background: #0a0b10;
    border-top: 1px solid rgba(124,92,255,0.25);
    margin-top: 40px;
}

.rc-footer-socials {
    display: flex;
    justify-content: center;
    gap: 22px;
}

/* ICONS */
.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 {
    box-shadow: 0 0 18px rgba(255, 77, 166, 0.45);
}

/* TIKTOK */
.rc-tiktok-icon {
    color: #4dd0ff;
}
.rc-tiktok-icon:hover {
    box-shadow: 0 0 18px rgba(77, 208, 255, 0.45);
}

/* BLUESKY */
.rc-bluesky-icon {
    color: #0099ff;
}
.rc-bluesky-icon:hover {
    box-shadow: 0 0 18px rgba(0, 153, 255, 0.45);
}

/* TWITTER */
.rc-twitter-icon {
    color: #000;
}
.rc-twitter-icon:hover {
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

/* ============================================
   INTRO BANNER
============================================ */

.rc-intro-banner {
    width: 100%;
    padding: 70px 20px;
    text-align: center;

    background: linear-gradient(135deg, #0a0b12, #1a0f2b, #2b0f3f);
    border-radius: 22px;

    box-shadow:
        0 0 35px rgba(255, 80, 200, 0.35),
        0 0 70px rgba(124, 92, 255, 0.25);

    margin: 40px auto;
    animation: rcFloat 4s ease-in-out infinite;
}

.rc-intro-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(124,92,255,0.25), transparent 60%);
    opacity: 0.25;
    animation: pulseWave 6s ease-in-out infinite;
}

@keyframes pulseWave {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.15; }
}

@keyframes rcFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.rc-intro-title {
    font-family: "Sora", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #f5eaff;
    margin-bottom: 10px;
}

.rc-r {
    color: #7c5cff;
    text-shadow:
        0 0 25px rgba(124, 92, 255, 0.55),
        0 0 45px rgba(255, 80, 200, 0.45);
}

.rc-intro-sub {
    font-size: 18px;
    color: #d7cfff;
    opacity: 0.9;
    margin-bottom: 25px;
}

.rc-intro-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;
}

.rc-intro-btn:hover {
    background: rgba(255, 80, 200, 0.35);
    border-color: rgba(255, 80, 200, 0.65);
    transform: scale(1.05);
}

/* ============================================
   INTRO CARDS
============================================ */

.rc-intro-cards {
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.rc-intro-card {
    background: rgba(20,20,32,0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 22px 20px 26px;
    backdrop-filter: blur(14px);

    transition: 0.25s ease;
}

.rc-intro-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);
}

.rc-intro-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.rc-intro-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* ============================================
   WHAT IS R-CORE
============================================ */

.rc-what-core {
    margin: 80px 0;
}

.rc-what-core h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #dfe6ff;
}

.rc-what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.rc-what-item {
    background: rgba(20,20,32,0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 22px 20px 26px;
    backdrop-filter: blur(14px);
    transition: 0.25s ease;
}

.rc-what-item: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);
}

.rc-what-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.rc-what-item p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* ============================================
   LAYERS — FIXED BACKGROUND ELEMENTS
============================================ */

.rc-glass-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(40px);
}

.rc-ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -11;

    background:
        radial-gradient(circle at 20% 30%, rgba(124,92,255,0.15), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0,180,255,0.12), transparent 70%);
    animation: ambientPulse 8s ease-in-out infinite;
}

.rc-neon-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -12;

    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;

    animation: gridShift 20s linear infinite;
}

#rcParticles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -13;
}

/* ============================================
   CURSOR TRAIL
============================================ */

#cursorTrail {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;

    background: radial-gradient(circle, #7c5cff, transparent);
    box-shadow: 0 0 18px #7c5cff;
    opacity: 0.8;

    transition: transform 0.05s linear;
}

/* ============================================
   DOCK OS
============================================ */

.rc-dock-os {
    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),
        0 0 25px rgba(124,92,255,0.35);

    z-index: 9999;
}

.rc-dock-item {
    font-size: 32px;
    color: #dfe6ff;
    padding: 10px;
    border-radius: 14px;

    transition: 0.25s ease;
}

.rc-dock-item:hover {
    transform: translateY(-10px) scale(1.15);
    color: #7c5cff;
    text-shadow: 0 0 18px rgba(124,92,255,0.55);
}

/* BATTERY WIDGET */
.rc-battery-widget {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;

    padding: 10px 16px;

    box-shadow:
        inset 0 0 10px rgba(120,160,255,0.15),
        0 0 10px rgba(120,160,255,0.25);

    font-size: 22px;
    font-weight: 600;
    color: #6bb7ff;
}

/* WEATHER WIDGET */
.rc-weather-widget {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 20px;
    color: #6bb7ff;
}

/* Dock fade animations */
.rc-dock-os {
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rc-dock-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

.rc-pulse-section {
    text-align: center;
    margin: 60px 0;
    animation: introFade 1.2s ease-out;
}

.rc-pulse-title {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    color: #e9e9ff;
    margin-bottom: 10px;
    text-shadow: 0 0 18px rgba(124,92,255,0.45);
}

.rc-pulse-desc {
    font-size: 16px;
    color: #b8b8d9;
    max-width: 600px;
    margin: 0 auto 20px;
}

.rc-pulse-bar {
    width: 180px;
    height: 6px;
    margin: 0 auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #7c5cff, #00b4ff);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.4; transform: scaleX(0.8); }
}
