/* ============================================================
   OWION - ULTRA PREMIUM DESIGN
   The most beautiful ticket system ever created
   ============================================================ */

/* ============================================================
   CSS VARIABLES - PREMIUM COLOR PALETTE
   ============================================================ */
:root {
    /* Primary Colors */
    --primary: #5865F2;
    --primary-rgb: 88, 101, 242;
    --primary-hover: #4752C4;
    --primary-glow: rgba(88, 101, 242, 0.4);
    
    /* Accent Colors */
    --accent-1: #EB459E;
    --accent-2: #F47B20;
    --accent-3: #57F287;
    --accent-4: #5865F2;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5865F2 0%, #EB459E 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #0F0F14 0%, #1A1A20 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 26, 32, 0.9) 0%, rgba(37, 37, 45, 0.9) 100%);
    
    /* Backgrounds */
    --bg-primary: #0F0F14;
    --bg-secondary: #1A1A20;
    --bg-tertiary: #25252D;
    --bg-card: rgba(26, 26, 32, 0.8);
    --bg-glass: rgba(26, 26, 32, 0.6);
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(88, 101, 242, 0.5);
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B5B5B5;
    --text-muted: #80848E;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(88, 101, 242, 0.4);
    --shadow-glow-strong: 0 0 50px rgba(88, 101, 242, 0.6);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(235, 69, 158, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(88, 101, 242, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================================
   ANIMATIONS - PREMIUM
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(0.95);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(88, 101, 242, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* ============================================================
   BUTTONS - ULTRA PREMIUM
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn--primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    animation: gradientShift 3s ease infinite;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.btn--secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn--discord {
    background: #5865F2;
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn--discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.btn--success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(87, 242, 135, 0.3);
}

.btn--danger {
    background: linear-gradient(135deg, #ed4245 0%, #c93535 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 66, 69, 0.3);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn--block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   FORMS - GLASSMORPHISM
   ============================================================ */
.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-family);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.15), 0 0 20px rgba(88, 101, 242, 0.3);
    background: var(--bg-secondary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%2380848E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Priority Selector */
.priority-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.priority-option {
    position: relative;
    cursor: pointer;
}

.priority-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.priority-option__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.priority-option input[type="radio"]:checked + .priority-option__label {
    border-color: var(--primary);
    background: rgba(88, 101, 242, 0.15);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.priority-option:hover .priority-option__label {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(88, 101, 242, 0.05);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.2);
}

.file-upload__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload__content {
    pointer-events: none;
}

.file-upload__content svg {
    margin-bottom: 16px;
    color: var(--primary);
    opacity: 0.8;
}

.file-upload__content p {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 500;
}

.file-upload__hint {
    font-size: 13px;
    color: var(--text-muted);
}

.file-upload__list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.file-item:hover {
    border-color: var(--border-color-hover);
    transform: translateX(4px);
}

.file-item__size {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   AUTH PAGE - ULTRA BEAUTIFUL
   ============================================================ */
.auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.auth::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent 0deg, 
        rgba(88, 101, 242, 0.1) 60deg, 
        transparent 120deg, 
        rgba(235, 69, 158, 0.1) 180deg, 
        transparent 240deg, 
        rgba(88, 101, 242, 0.1) 300deg, 
        transparent 360deg
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.auth__card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 56px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(20px);
    animation: scaleInBounce 0.7s ease;
    position: relative;
    z-index: 1;
}

.auth__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.auth__header {
    text-align: center;
    margin-bottom: 36px;
}

.auth__logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(88, 101, 242, 0.5));
}

.auth__title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.auth__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.auth__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.auth__divider::before,
.auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth__divider span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.auth__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.auth__feature:hover {
    background: rgba(88, 101, 242, 0.1);
    transform: translateX(4px);
}

.auth__feature svg {
    color: var(--accent-3);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(87, 242, 135, 0.5));
}

.auth__footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.auth__footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.auth__footer a:hover {
    color: var(--accent-1);
    text-shadow: 0 0 10px rgba(235, 69, 158, 0.5);
}

/* ============================================================
   DASHBOARD - ULTRA PREMIUM
   ============================================================ */
.dashboard {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-glass);
    border-right: 1px solid var(--border-color);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.sidebar__user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    animation: slideInLeft 0.6s ease;
    backdrop-filter: blur(10px);
}

.sidebar__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.sidebar__user-info {
    flex: 1;
    min-width: 0;
}

.sidebar__username {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.sidebar__role {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.sidebar__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.sidebar__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.sidebar__link:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    transform: translateX(6px);
}

.sidebar__link:hover::before {
    transform: scaleY(1);
}

.sidebar__link--active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.sidebar__link--active::before {
    transform: scaleY(1);
}

.sidebar__link--active:hover {
    transform: none;
}

.sidebar__footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.sidebar__logout {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--accent-1);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 600;
}

.sidebar__logout:hover {
    background: rgba(235, 69, 158, 0.1);
    transform: translateX(6px);
}

.main {
    padding: 40px;
    overflow-y: auto;
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

/* ============================================================
   PROJECTS GRID - PREMIUM CARDS
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.project-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.project-card__info {
    flex: 1;
    min-width: 0;
}

.project-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

.project-card__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.status-active {
    background: rgba(87, 242, 135, 0.15);
    color: var(--accent-3);
    border: 1px solid rgba(87, 242, 135, 0.3);
}

.status-inactive {
    background: rgba(128, 132, 142, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(128, 132, 142, 0.3);
}

.project-card__description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card__stats {
    display: flex;
    gap: 28px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
}

.project-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-card__stat-value {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card__stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.project-card__actions {
    display: flex;
    gap: 10px;
}

.project-card__actions .btn {
    flex: 1;
}

/* ============================================================
   TICKETS LIST - PREMIUM
   ============================================================ */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ticket-card {
    display: block;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.ticket-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.ticket-card:hover {
    transform: translateX(8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.ticket-card:hover::before {
    transform: scaleY(1);
}

.ticket-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ticket-card__id {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.ticket-card__status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

.status-open {
    background: rgba(87, 242, 135, 0.15);
    color: var(--accent-3);
    border: 1px solid rgba(87, 242, 135, 0.3);
}

.status-pending {
    background: rgba(254, 231, 92, 0.15);
    color: var(--accent-2);
    border: 1px solid rgba(254, 231, 92, 0.3);
}

.status-closed {
    background: rgba(128, 132, 142, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(128, 132, 142, 0.3);
}

.status-archived {
    background: rgba(128, 132, 142, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(128, 132, 142, 0.3);
}

.ticket-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.ticket-card__project {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-card__project::before {
    content: '📁';
    font-size: 12px;
}

.ticket-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.ticket-card__priority {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.priority-low { 
    color: var(--accent-3);
    text-shadow: 0 0 10px rgba(87, 242, 135, 0.5);
}
.priority-normal { 
    color: var(--accent-4);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}
.priority-high { 
    color: var(--accent-2);
    text-shadow: 0 0 10px rgba(244, 123, 32, 0.5);
}
.priority-urgent { 
    color: #ed4245;
    text-shadow: 0 0 10px rgba(237, 66, 69, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

.ticket-card__date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   EMPTY STATE - BEAUTIFUL
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 100px 24px;
    animation: fadeInUp 0.7s ease;
}

.empty-state svg {
    margin-bottom: 28px;
    color: var(--primary);
    opacity: 0.6;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.5));
}

.empty-state h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   CREATE PAGE
   ============================================================ */
.create-page {
    min-height: 100vh;
    padding: 40px 0;
}

.create-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 48px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    animation: scaleInBounce 0.6s ease;
    position: relative;
    overflow: hidden;
}

.create-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.create-form {
    display: flex;
    flex-direction: column;
}

.form-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
    margin-top: 36px;
}

/* ============================================================
   LOGIN PAGE - ULTRA BEAUTIFUL
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent 0deg, 
        rgba(88, 101, 242, 0.15) 60deg, 
        transparent 120deg, 
        rgba(235, 69, 158, 0.15) 180deg, 
        transparent 240deg, 
        rgba(88, 101, 242, 0.15) 300deg, 
        transparent 360deg
    );
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

.login-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 56px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(88, 101, 242, 0.4);
    backdrop-filter: blur(20px);
    animation: scaleInBounce 0.7s ease;
    position: relative;
    z-index: 1;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.header__content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.header__logo svg {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5));
}

.header__nav {
    display: flex;
    gap: 10px;
}

.header__link {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 14px;
}

.header__link:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.header__link--active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    padding: 28px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    backdrop-filter: blur(20px);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.footer a:hover {
    color: var(--accent-1);
    text-shadow: 0 0 10px rgba(235, 69, 158, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main {
        padding: 28px 20px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .auth__card,
    .create-card,
    .login-card {
        padding: 40px 28px;
    }
    
    .priority-selector {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .btn--lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .auth__card,
    .create-card,
    .login-card {
        padding: 32px 20px;
    }
}

/* ============================================================
   SCROLLBAR - CUSTOM
   ============================================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color-hover);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================================
   GLASSMORPHISM EFFECT
   ============================================================ */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

/* ============================================================
   GRADIENTS TEXT
   ============================================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

.spinner--sm {
    width: 24px;
    height: 24px;
    border-width: 2px;
}

.spinner--lg {
    width: 56px;
    height: 56px;
    border-width: 4px;
}