/* ==========================================
   SL SKINS - MODERN DESIGN
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --discord: #5865F2;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    --gradient-glow: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    --gradient-hero: linear-gradient(135deg, #667eea, #764ba2, #f093fb);

    /* Effects */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --shadow-discord: 0 4px 20px rgba(88, 101, 242, 0.4);

    /* Border Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Color */
    --border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: rgba(255, 255, 255, 0.1);

    --gradient-hero: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

[data-theme="dark"] .header.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing) 0;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: var(--radius);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing) var(--spacing);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-discord {
    background: var(--discord);
    color: white;
    box-shadow: var(--shadow-discord);
}

.btn-discord:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

/* Button Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    transform: none !important;
    box-shadow: none !important;
}

.btn.loading::before {
    display: none;
}

.btn.loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* User Profile Button */
#userProfileBtn {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    padding: 0.5rem 1rem;
    min-width: auto;
    min-height: 44px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#userProfileBtn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), #a855f7, #ec4899);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

#userProfileBtn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

#userProfileBtn:hover::before {
    opacity: 1;
}

#userProfileBtn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

#userProfileBtn:hover img {
    transform: scale(1.05) rotate(3deg);
    border-color: #a855f7;
}

#userProfileBtn .profile-username {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#userProfileBtn:hover .profile-username {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for profile button */
@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
}

#userProfileBtn.pulse {
    animation: profilePulse 2s ease-in-out infinite;
}

/* Stagger animation for dropdown items */
.user-dropdown .dropdown-item {
    animation: slideInItem 0.3s ease-out backwards;
}

.user-dropdown .dropdown-item:nth-child(1) { animation-delay: 0.1s; }
.user-dropdown .dropdown-item:nth-child(2) { animation-delay: 0.15s; }
.user-dropdown .dropdown-item:nth-child(3) { animation-delay: 0.2s; }
.user-dropdown .dropdown-item:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideInItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-icon:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    transform: scale(1.1);
}

.btn-icon:hover::before {
    opacity: 0.1;
}

#themeToggle {
    width: 44px;
    height: 44px;
}

#themeToggle i {
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#themeToggle:hover i {
    transform: rotate(180deg);
}

[data-theme="dark"] #themeToggle i {
    animation: moonGlow 2s ease-in-out infinite;
}

@keyframes moonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    }
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    animation: pulseGradient 8s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.hero-background::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 350px;
    height: 600px;
    background-image: url('../assets/deniskamt.png');
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    z-index: 0;
    pointer-events: none;
}

/* Enhanced Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 20s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 5s;
    animation-duration: 20s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 10s;
    animation-duration: 22s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 15s;
    animation-duration: 28s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 20s;
    animation-duration: 24s;
    width: 14px;
    height: 14px;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Enhanced Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.4);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(168, 85, 247, 0.4);
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(236, 72, 153, 0.4);
    bottom: 20%;
    left: 30%;
    animation-delay: 14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

[data-theme="dark"] .orb {
    opacity: 0.3;
}

[data-theme="dark"] .particle {
    background: rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 var(--spacing-xl) 4rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-background::after {
        width: 300px;
        height: 500px;
        opacity: 0.85;
    }

    .hero-content {
        padding: 0 var(--spacing-lg);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-background::after {
        width: 200px;
        height: 350px;
        opacity: 0.8;
    }

    .hero-content {
        padding: 0 var(--spacing);
        max-width: 100%;
    }
}

.hero h1 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing);
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing);
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

/* Portfolio */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    min-height: 350px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.portfolio-coming-soon {
    text-align: center;
}

.portfolio-coming-soon i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.portfolio-coming-soon h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing);
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-coming-soon p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Contact */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing);
}

.discord-promo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    border: 2px solid var(--discord);
    box-shadow: var(--shadow-discord);
}

.discord-icon-large {
    width: 90px;
    height: 90px;
    background: var(--discord);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.quick-order-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

[data-theme="dark"] .modal-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.modal-body {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    min-height: 120px;
}

/* Coming Soon Modal */
.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing);
    background: linear-gradient(135deg, var(--primary-light), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
    display: inline-block;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-xl);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(17, 24, 39, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* User Dropdown */
.user-dropdown {
    position: fixed;
    top: 85px;
    right: calc(50% - 600px + var(--spacing-md));
    width: 340px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #a855f7, #ec4899);
}

.user-dropdown .dropdown-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(168, 85, 247, 0.03));
}

.user-dropdown .dropdown-header img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--bg-glass);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
    transition: all 0.4s ease;
    object-fit: cover;
}

.user-dropdown .dropdown-header:hover img {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}

.user-dropdown .user-info {
    flex: 1;
}

.user-dropdown .username {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-dropdown .user-role span {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.user-dropdown .user-role span::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: rolePulse 2s ease-in-out infinite;
}

@keyframes rolePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.user-dropdown .role-superadmin {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.05));
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.user-dropdown .role-admin {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.05));
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.user-dropdown .role-vip {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.user-dropdown .role-user {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15), rgba(108, 117, 125, 0.05));
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.user-dropdown .dropdown-actions {
    padding: 0.75rem;
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.user-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), #a855f7);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.user-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
    transform: translateX(4px);
}

.user-dropdown .dropdown-item:hover::before {
    height: 70%;
}

.user-dropdown .dropdown-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.user-dropdown .dropdown-item i::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-dropdown .dropdown-item:hover i::after {
    opacity: 0.2;
}

.user-dropdown .dropdown-item.logout i {
    color: #dc3545;
}

.user-dropdown .dropdown-item:hover i {
    transform: scale(1.1);
}

.user-dropdown .dropdown-item.logout {
    color: #dc3545;
}

.user-dropdown .dropdown-item.logout:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(220, 53, 69, 0.05));
}

.user-dropdown .dropdown-item.logout::before {
    background: linear-gradient(180deg, #dc3545, #ff6b6b);
}

/* Dark mode adjustments */
[data-theme="dark"] .user-dropdown {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .user-dropdown .dropdown-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
}

[data-theme="dark"] .user-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.08));
}

/* Mobile responsive for user dropdown */
@media (max-width: 768px) {
    .user-dropdown {
        right: 50%;
        transform: translateX(50%) translateY(-20px) scale(0.95);
        width: calc(100vw - 2rem);
        max-width: 320px;
    }

    .user-dropdown.show {
        transform: translateX(50%) translateY(0) scale(1);
    }

    .user-dropdown .dropdown-header {
        padding: 1.25rem;
    }

    .user-dropdown .dropdown-header img {
        width: 48px;
        height: 48px;
    }

    .user-dropdown .username {
        font-size: 1rem;
    }

    #userProfileBtn {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
    }

    #userProfileBtn img {
        width: 32px;
        height: 32px;
    }

    #userProfileBtn .profile-username {
        display: none;
    }
}
