@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #ec4899;
}
body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.sidebar-content {
    padding: 2rem 1.5rem;
}

.sidebar-logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    text-align: center;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(5px);
}

.sidebar-nav a.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border-left: 3px solid #667eea;
}

.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
}

.sidebar-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.premium-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: auto;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-links a {
    color: #6b7280;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #667eea;
}

.support-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 0.75rem;
    text-align: center;
}

.support-section h4 {
    color: #667eea;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.support-section p {
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 0;
}

.preset-btn {
    transition: all 0.2s;
}

.preset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.crosshair-container {
    transition: filter 0.2s ease;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
    background: #374151;
    height: 6px;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #667eea;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-top: -6px;
}

input[type="range"]::-moz-range-track {
    background: #374151;
    height: 6px;
    border-radius: 3px;
}

input[type="range"]::-moz-range-thumb {
    background: #667eea;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: none;
}

select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}
.h-screen-80 {
    height: 80vh;
}

.crosshair-example {
    position: relative;
}

.crosshair-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.crosshair-line {
    position: absolute;
    background-color: currentColor;
}

.crosshair-dot {
    position: absolute;
    border-radius: 50%;
    background-color: currentColor;
}

.crosshair-outline {
    position: absolute;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
}

/* Animation for dynamic bloom effect */
@keyframes bloom {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.bloom-effect {
    animation: bloom 0.3s ease-out;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}