:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --accent-red: #ff3b30;
    --accent-red-glow: rgba(255, 59, 48, 0.4);
    --text-high: #ffffff;
    --text-mid: #999999;
    --text-low: #666666;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-high);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Stunning Background */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 50% -10%, rgba(255, 59, 48, 0.12), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 59, 48, 0.05), transparent 30%);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.02;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==');
}

/* Floating Background Symbols Animation */
@keyframes float-pattern {
    from { background-position: 0 0; }
    to { background-position: 300px 600px; }
}

.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='30' fill='white' font-family='sans-serif' font-size='10' opacity='0.5'%3E🎮%3C/text%3E%3Ctext x='50' y='10' fill='white' font-family='sans-serif' font-size='8' opacity='0.3'%3E▲%3C/text%3E%3Ctext x='80' y='40' fill='white' font-family='sans-serif' font-size='6' opacity='0.4'%3ERIPZ%3C/text%3E%3Ctext x='20' y='80' fill='white' font-family='sans-serif' font-size='12' opacity='0.2'%3E●%3C/text%3E%3Ctext x='60' y='70' fill='white' font-family='sans-serif' font-size='8' opacity='0.5'%3E👤%3C/text%3E%3Ctext x='90' y='90' fill='white' font-family='sans-serif' font-size='6' opacity='0.3'%3E■%3C/text%3E%3C/svg%3E");
    background-size: 300px 300px;
    animation: float-pattern 60s linear infinite; /* ANIMATED! */
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Premium Navbar */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 8%;
    background: rgba(5, 5, 5, 0); /* Explicitly transparent black */
    border: 1px solid transparent;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 
        width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: width, top, background, border-radius;
}

nav.scrolled {
    top: 1.5rem;
    width: calc(100% - 4rem);
    max-width: 1200px;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--accent-red);
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(255, 59, 48, 0.3);
    transition: var(--transition);
}

.nav-brand:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text-high);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

/* Fully Rounded Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 50px; /* FULLY ROUNDED */
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 10px 30px -5px var(--accent-red-glow);
}

.btn-primary:hover {
    background: #ff5c5c;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -5px var(--accent-red-glow);
}

.btn-outline {
    background: var(--glass);
    color: var(--text-high);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.badge {
    background: rgba(255, 59, 30, 0.1);
    color: var(--accent-red);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 59, 30, 0.2);
    margin-bottom: 2rem;
}

.hero-logo {
    font-size: clamp(5rem, 15vw, 10rem);
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 30px var(--accent-red-glow));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    color: var(--text-mid);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Feature Cards & Grid */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--accent-red);
}

.section-header p {
    color: var(--text-mid);
    font-size: 1.1rem;
}

/* Split Content Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1000px; /* NARROWER */
    margin: 0 auto;
}

.feature-info h3 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.feature-info h3 span {
    color: var(--accent-red);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.25rem;
    color: var(--text-mid);
    font-weight: 500;
}

.feature-list li i {
    color: var(--accent-red);
    font-size: 0.8rem;
}

/* Profile Card (Refined) */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7);
    transition: var(--transition);
}

.profile-card:hover {
    border-color: rgba(255, 59, 30, 0.3);
    transform: translateY(-5px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: #151515;
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title h4 { font-size: 1.75rem; font-family: var(--font-heading); }
.profile-title p { color: var(--text-low); font-weight: 500; }

.profile-stats {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.stat-box b { display: block; font-size: 1.25rem; font-family: var(--font-heading); }
.stat-box span { color: var(--text-low); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.activity-card {
    background: #0f0f0f;
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.activity-card:hover {
    background: #151515;
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Mouse Follow Glow on Cards */
.glow-card {
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 59, 48, 0.3), transparent 40%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.glow-card:hover::before {
    opacity: 1;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px; /* NARROWER */
    margin: 0 auto;
}

/* Integration Card */
.integration-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.integration-card:hover {
    background: #111;
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.integration-card i { font-size: 2.5rem; }

/* Testimonial Card */
.test-card {
    background: rgba(10, 10, 10, 0.4); /* TRANSPARENT BLEND */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 32px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.test-card:hover {
    border-color: rgba(255, 59, 30, 0.2);
    transform: translateY(-5px);
}

.test-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #222;
}

/* Footer Section */
.cta-footer {
    padding-bottom: 120px;
}

.cta-banner {
    background: linear-gradient(to bottom right, #0a0a0a, #050505);
    border: 1px solid var(--border);
    padding: 6rem 3rem;
    border-radius: 48px;
    text-align: center;
    overflow: hidden;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 59, 48, 0.05); /* ADDED SHADOWS */
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 59, 30, 0.05), transparent 50%);
    z-index: 0;
}

/* Claim Username CTA */
.claim-group {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    transition: var(--transition);
}

.claim-group:focus-within {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.1);
}

.claim-prefix {
    color: var(--text-low);
    padding-left: 1.5rem;
    font-weight: 600;
    user-select: none;
}

.claim-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 1.1rem;
    width: 100%;
}

.claim-input:focus {
    outline: none;
}

.footer-socials a:hover {
    color: var(--accent-red) !important;
    transform: translateY(-3px);
}
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 480px;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    animation: auth-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes auth-reveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.auth-header p {
    color: var(--text-mid);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-high);
}

.form-input {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}

.auth-sep {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 2rem 0;
    color: var(--text-low);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-sep::before, .auth-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    background: #000;
    border: 1px solid var(--border);
    padding: 0.8rem;
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-social:hover {
    background: #0a0a0a;
    border-color: var(--accent-red);
    color: var(--accent-red); /* TURN RED */
}

.btn-social:hover i {
    color: var(--accent-red) !important;
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.auth-footer a {
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none; /* NO UNDERLINE */
}

.auth-footer a:hover {
    text-decoration: none;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-high);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 2rem;
}

.discord-link i {
    font-size: 1.5rem;
    color: var(--text-high);
    transition: var(--transition);
}

.discord-link:hover {
    color: var(--accent-red);
}

.discord-link:hover i {
    color: var(--accent-red);
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .dash-preview { display: none; }
}

@media (max-width: 992px) {
    .split-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .feature-list { display: inline-block; text-align: left; }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    nav { width: calc(100% - 2rem); }
    .nav-menu { display: none; }

    /* Dashboard Mobile */
    .dash-body { overflow: auto; height: auto; min-height: 100vh; }
    .dash-container { flex-direction: column; height: auto; padding: 10px; gap: 10px; }
    .dash-sidebar { 
        width: 100%; 
        height: auto; 
        padding: 1.5rem; 
        border-radius: 24px;
        flex-shrink: 0;
    }
    .dash-logo { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .dash-nav { flex-direction: row; overflow-x: auto; padding-bottom: 10px; gap: 10px; }
    .dash-nav::-webkit-scrollbar { display: none; }
    .nav-section-title { display: none; }
    .dash-nav-item { padding: 10px 15px; white-space: nowrap; font-size: 0.85rem; }
    .sidebar-footer { margin-top: 1rem; }
    .dash-view { flex-direction: column; }
    .dash-editor { padding: 1.5rem; border-radius: 24px; height: auto; overflow: visible; }
    .editor-header { margin-bottom: 2rem; flex-direction: column; align-items: flex-start; gap: 10px; }
    .editor-header h1 { font-size: 1.8rem; }
    .glass-card { padding: 1.5rem; border-radius: 20px; }
    
    .asset-grid { grid-template-columns: 1fr 1fr; }
    
    .save-toast { width: calc(100% - 40px); bottom: 20px; padding: 10px 15px; border-radius: 20px; gap: 10px; }
    .save-toast p { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .auth-container { padding: 0.75rem; justify-content: center; min-height: 100vh; }
    .auth-card { padding: 1.25rem 1rem; border-radius: 16px; }
    .auth-header { margin-bottom: 1rem; }
    .auth-header h1 { font-size: 1.6rem; margin-bottom: 0.2rem; }
    .auth-header p { font-size: 0.8rem; }
    .form-group { margin-bottom: 0.75rem; }
    .form-group label { margin-bottom: 0.2rem; font-size: 0.75rem; }
    .form-input { padding: 0.7rem 0.9rem; font-size: 0.85rem; border-radius: 10px; }
    .claim-group .claim-prefix { font-size: 0.7rem; padding-left: 0.8rem; }
    .claim-group .claim-input { font-size: 0.8rem; padding: 0.6rem 0.4rem; }
    .auth-sep { margin: 1rem 0; font-size: 0.6rem; }
    .social-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
    .btn-social { padding: 0.6rem; font-size: 0.75rem; border-radius: 10px; }
    .auth-footer { font-size: 0.75rem; }
    .discord-link { margin-top: 1rem; font-size: 0.9rem; }
    .discord-link i { font-size: 1.1rem; }
    
    .hero-logo { font-size: 3.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .badge { font-size: 0.6rem; padding: 0.3rem 0.8rem; margin-bottom: 0.75rem; }
}

/* ==========================================================================
   DASHBOARD SYSTEM (Ultimate v4 - Premium Refinements)
   ========================================================================== */

:root {
    --sidebar-width: 300px;
    --dash-accent: #ff3b3b;
    --dash-accent-glow: rgba(255, 59, 59, 0.25);
    --verified-color: #3b82f6;
    --premium-color: #f59e0b;
}

.dash-body {
    overflow: hidden;
    background: #000;
    height: 100vh;
    font-family: 'Inter', sans-serif;
}

.dash-container {
    display: flex;
    height: 100vh;
    padding: 15px;
    gap: 15px;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 59, 59, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 59, 59, 0.05) 0%, transparent 40%);
}

/* Sidebar Overhaul */
.dash-sidebar {
    width: var(--sidebar-width);
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    z-index: 100;
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.dash-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -2px;
    color: white;
}

.dash-logo span { 
    color: var(--dash-accent); 
    text-shadow: 0 0 30px var(--dash-accent-glow); 
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 0 5px;
}

.nav-section-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #444;
    margin: 25px 0 10px 15px;
    font-weight: 900;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #888;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-nav-item i { font-size: 1.1rem; opacity: 0.5; transition: var(--transition); }

.dash-nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.dash-nav-item.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-nav-item.active i { color: var(--dash-accent); opacity: 1; filter: drop-shadow(0 0 8px var(--dash-accent)); }

/* Sidebar Footer: The User Card */
.sidebar-footer {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 12px;
}

.user-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    margin-bottom: 12px;
}

.user-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.user-card-info { flex: 1; min-width: 0; }
.user-card-name { font-weight: 700; font-size: 0.9rem; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.footer-actions {
    display: flex;
    gap: 8px;
}

.footer-btn {
    flex: 1;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.footer-btn:hover { background: rgba(255, 255, 255, 0.06); color: white; transform: translateY(-2px); }
.footer-btn.primary { background: var(--dash-accent); color: white; border: none; box-shadow: 0 10px 20px var(--dash-accent-glow); }
.footer-btn.logout:hover { color: #ff3b3b; }

/* Editor Overhaul */
.dash-view { flex: 1; display: flex; gap: 15px; height: 100%; }

.dash-editor {
    flex: 1;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 35px;
    padding: 3rem;
    overflow-y: auto;
    position: relative;
    scroll-behavior: smooth;
}

.dash-editor::-webkit-scrollbar { width: 4px; }
.dash-editor::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.05); border-radius: 10px; }

.editor-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.editor-header h1 { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; letter-spacing: -1px; }

.glass-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Preview Overhaul */
.dash-preview {
    width: 480px;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex-shrink: 0;
    position: relative;
}

.device-mockup {
    width: 320px;
    height: 660px;
    background: #000;
    border: 12px solid #1a1a1a;
    border-radius: 50px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    overflow: hidden;
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 150px; height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.save-toast {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 10px 10px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.save-toast.active { transform: translateX(-50%) translateY(0); }
