/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Settings Panel Blur Effects */
.settings-panel {
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
}

.settings-panel.active {
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
}

/* Light Theme Styles */
body.light-theme {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}

body.light-theme .name {
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

body.light-theme .title {
    background: #4d4bb0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .description {
    background: #3D39B0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .social-links-container {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.light-theme .social-links-container:hover {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

body.light-theme .social-btn {
    background: rgba(255, 255, 255, 0.6);
    color: #4a5568;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-theme .social-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-theme .sidebar-nav {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.light-theme .sidebar-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-item {
    color: rgba(74, 85, 104, 0.7);
}

body.light-theme .nav-item:hover {
    color: #2d3748;
    background: rgba(255, 255, 255, 0.4);
}

body.light-theme .nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

body.light-theme .language-toggle,
body.light-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.4);
    color: rgba(74, 85, 104, 0.7);
}

body.light-theme .language-toggle:hover,
body.light-theme .theme-toggle:hover {
    color: #2d3748;
    background: rgba(255, 255, 255, 0.6);
}

body.light-theme .settings-container {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.light-theme .settings-container:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .settings-btn {
    color: rgba(74, 85, 104, 0.7);
}

body.light-theme .settings-btn:hover {
    color: #2d3748;
}

body.light-theme .settings-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #2d3748;
}

body.light-theme .tab-btn {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(74, 85, 104, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-theme .tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

body.light-theme .tab-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    color: #2d3748;
}

body.light-theme .setting-label {
    color: #4a5568;
}

body.light-theme .setting-value {
    color: #718096;
}

body.light-theme .slider {
    background: rgba(255, 255, 255, 0.5);
}

body.light-theme .toggle-slider {
    background: rgba(255, 255, 255, 0.6);
}

body.light-theme .select-input {
    background: rgba(255, 255, 255, 0.7);
    color: #2d3748;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.light-theme .action-btn {
    background: rgba(255, 255, 255, 0.6);
    color: #4a5568;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-theme .action-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #2d3748;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 20px 0;
    width: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.nav-item.active:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

/* Tooltip */
.nav-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
}

.nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

.nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.language-toggle::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
}

.language-toggle:hover::after {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.theme-toggle::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
}

.theme-toggle:hover::after {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

/* Mobile - Hide sidebar */
@media (max-width: 768px) {
    .sidebar-nav {
        display: none;
    }
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(ellipse at center, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 40%);
    background-attachment: fixed;
    color: #f0f0f0;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

/* Custom Cursor */
#fluid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.8) 0%, rgba(255, 105, 180, 0.4) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    filter: blur(10px);
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.3) 0%, rgba(255, 105, 180, 0.2) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

/* Main Container - Centered */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 4rem; /* Move hero section up */
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Hero Section */
.hero {
    margin-bottom: 2.5rem; /* Reduced from 5rem to move content up */
    position: relative;
    margin-top: -13rem; /* Move hero section up significantly */
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(139, 69, 189, 0.2) 0%, rgba(106, 90, 205, 0.15) 30%, rgba(72, 61, 139, 0.1) 50%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(180, 120, 200, 0.4);
    z-index: 100;
    position: relative;
}

@media (max-width: 768px) {
    .name {
        font-size: 36px;
        line-height: 36px;
    }
}

.title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: rgba(230, 230, 230, 0.92);
    margin-bottom: 1rem;
    z-index: 100;
    position: relative;
}

@media (max-width: 768px) {
    .title {
        font-size: 20px;
        line-height: 28px;
    }
}

.role-text {
    display: inline-block;
    min-width: 20px;
}

.role-cursor {
    color: rgba(139, 69, 189, 0.9);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(220, 220, 220, 0.85);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
    line-height: 1.6;
    z-index: 100;
    position: relative;
}

/* Social Links */
.social-links-container {
    position: relative;
    margin-bottom: 3rem;
    margin-top: 0;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links-container:hover {
    backdrop-filter: blur(20px);
    background: rgba(139, 69, 189, 0.05);
    border: 1px solid rgba(139, 69, 189, 0.2);
    box-shadow: 0 8px 32px rgba(139, 69, 189, 0.15);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 69, 189, 0.15);
    border: 1px solid rgba(139, 69, 189, 0.3);
    border-radius: 50px;
    color: rgba(220, 210, 230, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: rgba(139, 69, 189, 0.25);
    border-color: rgba(139, 69, 189, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 189, 0.2);
    cursor: pointer; /* Normal cursor on hover */
}

/* Social container hover effect - show normal cursor */
.social-links-container:hover {
    cursor: auto;
}

.social-links-container:hover .social-btn {
    cursor: pointer;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(170, 160, 180, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, rgba(139, 69, 189, 0.8) 0%, rgba(106, 90, 205, 0.8) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: rgba(220, 210, 230, 0.9);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
    }
    
    .hero {
        margin-bottom: 2rem;
    }
    
    .social-links {
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    body {
        cursor: auto;
    }
    
    .cursor, .cursor-trail {
        display: none !important;
    }
    
    /* Keep fluid canvas for mobile background effect, but hide custom cursors */
    #fluid {
        display: block;
        opacity: 0.6; /* Make it more subtle on mobile */
    }
}

@media (max-width: 480px) {
    .social-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
}

/* Advanced Desktop Settings Panel */
.desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .desktop-only {
        display: block;
    }
}

.settings-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.settings-container:hover {
    background: rgba(139, 69, 189, 0.05);
    border: 1px solid rgba(139, 69, 189, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(139, 69, 189, 0.15);
}

.settings-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    cursor: pointer;
}

/* Advanced Settings Panel */
.advanced-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 420px;
    max-height: 600px;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(139, 69, 189, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(40px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(139, 69, 189, 0.2);
    overflow: hidden;
}

.advanced-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.settings-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Tab Navigation */
.settings-tabs {
    display: flex;
    background: rgba(139, 69, 189, 0.08);
    border-bottom: 1px solid rgba(139, 69, 189, 0.3);
    backdrop-filter: blur(30px);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    min-width: 70px;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(139, 69, 189, 0.1);
    backdrop-filter: blur(15px);
}

.tab-btn.active {
    color: #ff6b9d;
    border-bottom-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.15);
    backdrop-filter: blur(20px);
}

.tab-btn svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tab-btn.active svg {
    opacity: 1;
}

/* Tab Content */
.settings-content {
    max-height: 450px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 157, 0.5) transparent;
}

.settings-content::-webkit-scrollbar {
    width: 6px;
}

.settings-content::-webkit-scrollbar-track {
    background: transparent;
}

.settings-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 157, 0.5);
    border-radius: 3px;
}

.tab-content {
    display: none;
    padding: 24px;
}

.tab-content.active {
    display: block;
}

/* Category Headers */
.category-header {
    margin-bottom: 24px;
    text-align: center;
}

.category-header h4 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Setting Groups */
.setting-group {
    margin-bottom: 32px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group h5 {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

/* Setting Items */
.setting-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.9rem;
    flex: 1;
}

.setting-label span:first-child {
    min-width: 120px;
}

.setting-value {
    color: #ff6b9d;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 50px;
    text-align: right;
    margin-left: 12px;
}

/* Enhanced Controls */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Enhanced Slider */
.slider {
    width: 140px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    transition: background 0.3s ease;
}

.slider:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.5);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
}

/* Enhanced Select */
.select-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.select-input:hover {
    border-color: rgba(255, 107, 157, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.select-input:focus {
    border-color: #ff6b9d;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.2);
}

.select-input option {
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
}

/* Color Input */
.color-input {
    width: 50px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-input:hover {
    border-color: #ff6b9d;
    transform: scale(1.05);
}

/* Debug Info */
.debug-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.debug-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.debug-item:last-child {
    margin-bottom: 0;
}

.debug-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.debug-item span:last-child {
    color: #ff6b9d;
    font-weight: 500;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    gap: 8px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.action-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.save-btn:hover {
    border-color: #4ade80;
    color: #4ade80;
}

.load-btn:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

.reset-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
}

/* Settings panel buttons cursor fix */
.tab-btn:hover,
.toggle-slider:hover,
.slider:hover,
.select-input:hover,
.color-input:hover,
.action-btn:hover,
.close-btn:hover {
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .advanced-panel {
        width: 380px;
    }
}

@media (max-width: 900px) {
    .advanced-panel {
        width: 350px;
        right: -10px;
    }
    
    .settings-container {
        right: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: #fff;
}

/* About Me Spacer */
.about-spacer {
    height: 0;
}

/* About Me Section */
.about-section {
    position: absolute;
    top: 83vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
}

/* Light Bulb Toggle - Dark Theme Only */
.light-bulb-toggle {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-bulb-toggle:hover {
    color: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.light-bulb-toggle.active {
    background: #f4d03f;
    color: #000;
    box-shadow: 0 0 30px rgba(244, 208, 63, 0.6), 0 0 60px rgba(244, 208, 63, 0.4);
    transform: translateX(-50%) scale(1.2);
}

.light-bulb-toggle.active:hover {
    box-shadow: 0 0 40px rgba(244, 208, 63, 0.8), 0 0 80px rgba(244, 208, 63, 0.5);
}

/* Hide light bulb in light theme - MUST BE HIDDEN */
body.light-theme .light-bulb-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.dark-theme-only {
    display: flex;
}

body.light-theme .dark-theme-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.about-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 29px;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

/* Light theme About Me styles */
body.light-theme .section-title {
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .about-text {
    color: #000000;
}

/* Dark theme About Me text */
body:not(.light-theme) .about-text {
    color: rgba(255, 255, 255, 0.9);
}


/* Bored Popup Styles - Theme Adaptive */
.bored-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 60px;
    z-index: 10001;
    text-align: center;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

body.light-theme .bored-popup {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.bored-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.bored-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.light-theme .bored-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.bored-overlay.show {
    opacity: 1;
    visibility: visible;
}

.bored-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 24px;
    font-family: 'Space Grotesk', sans-serif;
}

body.light-theme .bored-title {
    color: #000;
}

.bored-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.bored-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

body.light-theme .bored-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: #000;
}

.bored-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.light-theme .bored-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.yes-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.light-theme .yes-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
}

.no-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.light-theme .no-btn {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.redirect-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

body.light-theme .redirect-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.redirect-message.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Language text visibility - Force with !important */
.bored-tr {
    display: inline !important;
}

.bored-en {
    display: none !important;
}

body[data-lang="en"] .bored-tr {
    display: none !important;
}

body[data-lang="en"] .bored-en {
    display: inline !important;
}
