:root {
    --bg-color: #030305;
    --card-bg: rgba(15, 15, 25, 0.7);
    --primary-accent: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --header-bg: rgba(3, 3, 5, 0.85);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-color: rgba(255, 255, 255, 0.08);
    --music-player-height: 450px;
    --music-player-width: 400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background grid effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

#dotted-surface-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.glow-bg {
    position: fixed;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text, .logo-text:hover, .logo-text:visited, .logo-text:active {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.accent {
    color: var(--primary-accent);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-accent);
}

.dropdown {
    position: relative;
    padding-bottom: 20px; /* Bridge gap for hover */
    margin-bottom: -20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 0;
    margin-top: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.dropdown.active > a {
    color: var(--primary-accent);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content a {
    padding: 0.75rem 1.5rem;
    display: block;
    text-transform: none;
}

.btn-client {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-accent);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-client:hover {
    background: var(--primary-accent);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.bold {
    color: var(--text-main);
    font-weight: 600;
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.mascot-container {
    position: relative;
    width: 450px;
    height: 450px;
}

.mascot-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    animation: floatMascot 6s ease-in-out infinite;
}

/* Floating Stat Cards */
.stat-card {
    position: absolute;
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
}

.uptime {
    top: 15%;
    left: -10%;
}

.ping {
    bottom: 20%;
    right: 0%;
}

/* Sections General */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.feature-card i {
    font-size: 2.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.price-card.popular {
    border-color: var(--primary-accent);
    background: rgba(168, 85, 247, 0.05);
    transform: scale(1.08);
    box-shadow: 0 30px 60px rgba(168, 85, 247, 0.2);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

.price-header h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #fff;
}

.price span {
    font-size: 1.2rem;
    opacity: 0.5;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3rem;
}

.price-features li {
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-features li i {
    color: var(--primary-accent);
    font-size: 1.1rem;
}

.btn-price {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-price.active {
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.btn-price:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-price.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -500px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), bottom 0.6s;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.cookie-icon {
    font-size: 1.8rem;
    color: var(--primary-accent);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    flex-shrink: 0;
}

.cookie-text h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #fff;
    font-weight: 700;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 450px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.btn-cookie-accept {
    background: var(--primary-accent);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-decline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* Animations */
@keyframes floatMascot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-1 { animation: floating 4s ease-in-out infinite; }
.floating-2 { animation: floating 5s ease-in-out infinite 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        margin-left: initial;
    }
}

/* Authentication Pages */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    z-index: 10;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

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

.auth-logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
}

.form-options {
    margin: 0.5rem 0;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.2rem;
    width: 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-auth {
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 600px) {
    .auth-card {
        padding: 2rem;
    }
    .input-row {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Styles */
.dashboard-page {
    background-color: var(--bg-color);
}

.dashboard-main {
    padding-top: 120px;
    padding-bottom: 60px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.dashboard-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.sidebar-links a i {
    width: 20px;
    font-size: 1.1rem;
}

.sidebar-links a:hover, .sidebar-links a.active {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-accent);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.welcome-box {
    background: var(--gradient-accent);
    padding: 3rem;
    border-radius: 32px;
    color: white;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.welcome-box::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-box h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.welcome-box .accent {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 24px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-blue { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.icon-green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.services-panel, .actions-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-accent);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.service-details { flex: 1; }
.service-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.2rem; display: block; }
.service-id { font-size: 0.8rem; color: var(--text-muted); }

.service-status {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-online { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-accent);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.action-btn i { font-size: 1.1rem; }

@media (max-width: 1200px) {
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 1rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    .sidebar-links {
        flex-direction: row;
        gap: 1rem;
        width: max-content;
    }
    .sidebar-links a {
        padding: 0.8rem 1.2rem;
    }
}

/* Music Player Widget */
.music-player-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.music-toggle-btn {
    width: 55px;
    height: 55px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 25px var(--primary-glow);
    transition: var(--transition);
    border: none;
    position: relative;
    pointer-events: auto;
}

.music-toggle-btn::after {
    content: 'Musique';
    position: absolute;
    right: 120%;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.music-toggle-btn:hover::after {
    opacity: 1;
    transform: translateX(-10px);
}

.music-player-container {
    width: var(--music-player-width, 400px);
    height: 0;
    overflow: hidden;
    background: rgba(15, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
}

.music-player-widget.active .music-player-container {
    height: var(--music-player-height, 450px);
    opacity: 1;
    transform: translateY(0) scale(1);
    margin-bottom: 5px;
}

.music-player-widget.active .music-toggle-btn {
    transform: rotate(90deg);
    background: #ef4444; 
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.music-player-container iframe {
    border-radius: 18px;
}

@media (max-width: 480px) {
    .music-player-container {
        width: calc(100vw - 60px);
        max-width: 350px;
    }
}

/* Mobile Menu & Global Responsive Fixes */
@media (max-width: 850px) {
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links, .nav-actions {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: top 0.4s ease;
        z-index: 1000;
        padding: 2rem;
    }

    nav.nav-active .nav-links {
        top: 80px;
        height: calc(100vh - 80px);
        justify-content: flex-start;
        gap: 2rem;
    }

    nav.nav-active .nav-actions {
        top: auto;
        bottom: 2rem;
    }

    .dropdown-content {
        position: static;
        transform: none;
        min-width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 1rem;
        box-shadow: none;
        border: none;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    /* Hero fixes */
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .mascot-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    .stat-card {
        padding: 0.8rem 1rem;
    }
    
    /* Stats grid */
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Auth pages fix */
    .auth-card {
        padding: 1.5rem;
    }
}

@media (min-width: 851px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Base mobile menu toggle hide */
.mobile-menu-toggle {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Admin Styles */
.admin-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.data-table-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.badge-role {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-role.admin {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
}

.badge-role.user {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-action-btn {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.admin-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}
.admin-action-btn.pause:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: #f59e0b;
}

.admin-action-btn.play:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: #10b981;
}

.log-item {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.log-details { color: var(--text-muted); }
.log-time { font-size: 0.75rem; opacity: 0.5; }
.log-action { font-weight: 700; color: var(--primary-accent); }

/* Système de Notification */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-banner {
    pointer-events: all;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-banner.show {
    transform: translateX(0);
}

.notif-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.notif-content i {
    font-size: 1.2rem;
}

.notification-banner.success .notif-content i { color: #00ff80; }
.notification-banner.error .notif-content i { color: #ff4d4d; }
.notification-banner.info .notif-content i { color: var(--primary-accent); }

.notif-progress {
    height: 3px;
    background: var(--primary-accent);
    width: 100%;
    border-radius: 3px;
    transform-origin: left;
    animation: notif-progress 5s linear forwards;
}

@keyframes notif-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
/* Footer Styles */
.footer {
    background: rgba(5, 5, 10, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: 100px;
    backdrop-filter: blur(20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-about p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Badges & Status */
.badge-priority {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.badge-priority.low { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.badge-priority.medium { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.badge-priority.high { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.badge-role {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-role.admin { background: var(--primary-accent); color: #fff; }
.badge-role.user { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

.status-online { color: #00ff80; }
.status-offline { color: #ff4d4d; }
.status-pending { color: #ffcc00; }
.status-completed { color: #00ff80; }
.status-closed { color: var(--text-muted); opacity: 0.7; }

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about p {
        max-width: 100%;
    }
    .social-links {
        justify-content: center;
    }
}
