:root {
    --primary: #FF4D8D;
    --primary-dark: #E03A70;
    --secondary: #8B5CF6;
    --accent: #06B6D4;
    --background: #0B0F19;
    --background-light: #151B2B;
    --card: rgba(30, 41, 59, 0.6);
    --card-solid: #1E293B;
    --card-hover: rgba(51, 65, 85, 0.7);
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow-pink: 0 0 40px rgba(255, 77, 141, 0.15);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0B0F19 0%, #0F172A 50%, #0B0F19 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 77, 141, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism cards */
.card {
    background: var(--card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-strong), var(--shadow-glow-pink);
}

.card-glow {
    box-shadow: var(--shadow-soft), var(--shadow-glow-purple);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(255, 77, 141, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 77, 141, 0.4);
}

.btn-secondary {
    background: var(--card-solid);
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* Form styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.2px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

select.form-input {
    cursor: pointer;
}

/* Text styles */
.text-muted {
    color: var(--text-muted);
}

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

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-danger {
    color: var(--danger);
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 13px;
}

.text-lg {
    font-size: 18px;
}

.text-xl {
    font-size: 24px;
}

/* Spacing utilities */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Grid system */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.gap-4 {
    gap: 32px;
}

/* Header/Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--text);
}

/* Auth pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -1px;
}

.auth-header p {
    font-size: 16px;
}

/* Dashboard */
.dashboard {
    padding: 48px 0 80px;
}

.dashboard-header {
    margin-bottom: 48px;
}

.dashboard-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -1px;
}

.dashboard-header p {
    font-size: 18px;
}

/* Stat cards */
.stat-card {
    text-align: center;
    padding: 32px 24px;
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Suggestion card */
.suggestion-card {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.12), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(255, 77, 141, 0.2);
}

.suggestion-card:hover {
    box-shadow: var(--shadow-strong), var(--shadow-glow-pink);
}

/* Wiki category tags */
.wiki-category {
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid var(--border);
}

/* Board (Future tasks) */
.board-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 4px 24px;
}

.board-container::-webkit-scrollbar {
    height: 10px;
}

.board-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.board-container::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 10px;
}

.board-column {
    min-width: 360px;
    background: rgba(21, 27, 43, 0.8);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
}

.board-column h3 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.task-card {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: grab;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.task-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft);
}

.task-card:active {
    cursor: grabbing;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-strong);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notifications */
.notification {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    background: var(--card);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.notification:hover {
    background: var(--card-hover);
    transform: translateX(4px);
}

.notification.unread {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.12), rgba(139, 92, 246, 0.12));
    border-left-color: var(--primary);
}

.notification strong {
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 800;
    margin-left: 8px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 18px 28px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-strong);
    z-index: 2000;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(24px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card);
    backdrop-filter: blur(32px);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-strong);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

/* Priority indicators */
.priority-high {
    border-left: 5px solid var(--danger);
}

.priority-medium {
    border-left: 5px solid var(--warning);
}

.priority-low {
    border-left: 5px solid var(--success);
}

/* Loading */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .nav {
        display: none; /* Better mobile nav coming soon */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .dashboard-header h1 {
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 44px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .board-column {
        min-width: 300px;
    }
}

/* Bildirimler */
.nav-notifications {
    position: relative;
}

.notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 12px;
    width: 360px;
    background: var(--card);
    backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    z-index: 10000;
    overflow: hidden;
}

.notification-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.notification-header h3 {
    font-size: 16px;
    font-weight: 800;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
    background: rgba(255, 77, 141, 0.08);
}

.notification-item.unread:hover {
    background: rgba(255, 77, 141, 0.12);
}

.notification-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.notification-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer p {
    font-size: 14px;
}
