/* ==========================================================================
   1. GLOBAL VARIABLES, RESET & LAYOUT WINDOW SETUPS
   ========================================================================== */
   :root {
    --bg-color: #030406;
    --card-bg: rgba(13, 16, 23, 0.75);
    --accent-glow: rgba(114, 137, 218, 0.15);
    --text-main: #f5f6fa;
    --text-muted: #8f9cae;
    --accent-color: #5865F2;
    --border-color: rgba(255, 255, 255, 0.07);
    --ring-glow-color: rgba(255, 255, 255, 0.05);
    --ease-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        radial-gradient(circle at 40% 40%, rgba(88, 101, 242, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

#sky-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: block;
    pointer-events: none;
}

/* ==========================================================================
   2. GATEWAY LANDING PAGE CARD (index.html)
   ========================================================================== */
.card-glow-ring {
    position: relative;
    z-index: 10;
    padding: 1px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--ring-glow-color), transparent, var(--ring-glow-color));
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    max-width: 480px; /* Locked wide parameter update */
}

.profile-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), 0 0 60px var(--accent-glow);
}

/* Base Profile Dimensions */
.avatar-wrapper {
    position: relative;
    width: 105px;
    height: 105px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.25);
    background: #11141d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background-color: #23a55a;
    border: 3px solid #0d1017;
    border-radius: 50%;
    z-index: 12;
}

/* Liquid Avatar Floating Animations */
.avatar-wrapper:hover {
    animation: luxuriousFloat 3.5s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

.avatar-wrapper:hover .avatar {
    border-color: #ffffff;
    box-shadow: 0 0 35px rgba(88, 101, 242, 0.6), 0 0 15px #ffffff;
    animation: gentleSway 0.8s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

.avatar-wrapper:hover .status-dot {
    transform: scale(1.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visitor Stat Counter Rows */
.counter-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 auto 28px auto;
}

.counter-label,
.counter-value {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

/* ==========================================================================
   3. REUSABLE MENU BUTTONS & HOVER RADIAL LIGHTS
   ========================================================================== */
.links-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.link-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    transition: var(--ease-smooth);
    z-index: 15;
}

.link-btn::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:hover {
    background: rgba(88, 101, 242, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.25);
}

/* ==========================================================================
   4. MAIN WEB RELEASES TRACKING INTERFACE (home.html)
   ========================================================================== */
.main-container {
    width: 100%;
    max-width: 1000px;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;
    overflow: hidden;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--ease-smooth);
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover::before {
    opacity: 1;
}

header {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 48px 32px;
    border-radius: 24px;
    margin-bottom: 30px;
    text-align: center;
    transition: var(--ease-smooth);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Media Cards Grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 24px;
    transition: var(--ease-smooth);
}

.card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hover-glow:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(88, 101, 242, 0.15);
}

.hover-glow::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-glow:hover::before {
    opacity: 1;
}

/* ==========================================================================
   5. EXTENSION BLOCKS: SPECS GRID & DISCORD BANNER
   ========================================================================== */
.extras-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 40px;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.setup-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.setup-detail {
    color: var(--accent-color) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    margin-bottom: 8px;
}

.community-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg), rgba(88, 101, 242, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 80px;
    text-align: left;
    transition: var(--ease-smooth);
}

.banner-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 600px;
    line-height: 1.6;
}

.banner-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    transition: var(--ease-smooth);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
    background: #ffffff;
    color: #030406;
}

/* ==========================================================================
   6. ANIMATION KEYFRAMES & FLUID RESPONSIVE DESIGN
   ========================================================================== */
@keyframes luxuriousFloat {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(2px, -3px); }
    50%  { transform: translate(0, -5px); }
    75%  { transform: translate(-2px, -3px); }
    100% { transform: translate(0, 0); }
}

@keyframes gentleSway {
    0%   { transform: scale(1.1) rotate(0deg); }
    25%  { transform: scale(1.1) rotate(-2deg); }
    50%  { transform: scale(1.1) rotate(0deg); }
    75%  { transform: scale(1.1) rotate(2deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

@media (max-width: 768px) {
    .content-grid,
    .setup-grid {
        grid-template-columns: 1fr;
    }
    
    .community-banner {
        padding: 30px 20px;
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
}
/* ==========================================================================
   DYNAMIC MOUSE-TRACKING RAINBOW TEXT FOR MILESTONE CARDS
   ========================================================================== */

   .milestone-card h3 {
    /* Uses a radial layout centered precisely on the user's mouse position */
    background-image: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        #ff0055 0%,
        #ff9900 20%,
        #33ff00 40%,
        #00ffff 60%,
        #9900ff 80%,
        #ff0055 100%
    );
    /* Extra-large background sizing gives the palette space to shift around */
    background-size: 300px 300px;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: inherit; /* Keeps fallback main-text color when idle */
    transition: var(--ease-smooth);
}

/* Switches text to transparent on hover so the mouse-centered gradient shows through */
.milestone-card:hover h3 {
    -webkit-text-fill-color: transparent;
}
/* Keeps your custom menu links styled with clean, muted text layouts */
.nav-links a {
    position: relative;
    overflow: hidden;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--ease-smooth);
    background: transparent; /* Prevents raw default white highlights */
}

/* Enhances link visibility instantly when active or focused */
.nav-links a:hover {
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Enhances background depth using layered moving space clouds */
body::before {
    content: "";
    position: fixed; /* Keeps background layers tightly pinned to user viewing frames */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(234, 76, 137, 0.03) 0%, transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: nebulaGlow 12s ease-in-out infinite alternate; /* Soft breathing cloud effect loop */
}

/* Smooth color breathing motion transitions over time */
@keyframes nebulaGlow {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    100% { transform: scale(1.15) rotate(3deg); opacity: 1; }
}
/* ==========================================================================
   INTERACTIVE BOX EASING & SMOOTH HOVER FLOATS
   ========================================================================== */

/* 1. Prepares the landing page profile container to transform smoothly */
.card-glow-ring {
    position: relative;
    z-index: 10;
    padding: 1px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--ring-glow-color), transparent, var(--ring-glow-color));
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    max-width: 480px;
    
    /* ADDED: Smooth hardware-accelerated fluid easing curves */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    will-change: transform, box-shadow; /* Optimizes frame rates in browser engines */
}

/* 2. Triggers the container box to lift and shine when the mouse moves over it */
.card-glow-ring:hover {
    transform: translateY(-8px); /* Lifts the box up elegantly */
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 
                0 0 50px rgba(88, 101, 242, 0.2); /* Expanded deep spatial shadow glow */
}

/* 3. Applies the exact same liquid easing to the Email Inquiry Form container */
.form-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
    
    /* ADDED: Fluid easing parameters for the message sheet */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}

.form-container:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color); /* Changes box frame edge lines to signature purple-blue */
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.55), 
                0 0 40px rgba(88, 101, 242, 0.15);
}
