/* Premium Theme Variables */
:root {
    --premium-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    --premium-secondary: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --premium-accent: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --premium-surface: #0F0F23;
    --premium-card: #1A1A3E;
    --premium-border: #2D2D5F;
    --premium-text: #E5E7EB;
    --premium-text-dim: #9CA3AF;
    --premium-gold: #FCD34D;
    --premium-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

/* Authentication Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.auth-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
    text-align: center;
    border: 2px solid #e2e8f0;
    position: relative;
}

.auth-logo {
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--premium-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.auth-content h2 {
    font-size: 2rem;
    font-weight: 600;
    background: var(--premium-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.auth-description {
    color: #64748b;
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.auth-form {
    margin: 2rem 0;
}

.auth-form input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.auth-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

.auth-form input::placeholder {
    color: #94a3b8;
}

.auth-form button {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #0e7490);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.auth-form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.auth-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.auth-form button:hover .button-icon {
    transform: translateX(2px);
}

.auth-error {
    color: #EF4444;
    font-size: 0.9rem;
    margin-top: 1rem;
    min-height: 0;
    background: rgba(239, 68, 68, 0.1);
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.auth-error:not(:empty) {
    min-height: 1.2rem;
    padding: 0.5rem;
    opacity: 1;
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #0e7490;
}

/* Premium Hero Styles */
.premium-hero {
    background: var(--premium-surface);
    position: relative;
    overflow: hidden;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--premium-primary);
    opacity: 0.03;
    z-index: 1;
}

.premium-hero > * {
    position: relative;
    z-index: 2;
}

.premium-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--premium-primary);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.premium-icon {
    font-size: 1rem;
}

.hero-accent {
    background: var(--premium-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--premium-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--premium-text-dim);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Premium Notice Styles */
.premium-notice {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    color: var(--premium-text);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.premium-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--premium-primary);
    opacity: 0.05;
}

.premium-notice > * {
    position: relative;
    z-index: 2;
}

.premium-notice-icon {
    font-size: 1.3rem;
    background: var(--premium-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Grid Styles */
.tips-grid,
.prompts-grid,
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tip-category,
.prompt-category,
.strategy-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
}

.tip-category::before,
.prompt-category::before,
.strategy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb, #0e7490);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-category:hover::before,
.prompt-category:hover::before,
.strategy-item:hover::before {
    opacity: 0.05;
}

.tip-category:hover,
.prompt-category:hover,
.strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
    border-color: #2563eb;
}

.tip-category > *,
.prompt-category > *,
.strategy-item > * {
    position: relative;
    z-index: 2;
}

.category-title {
    color: #334155;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.category-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #2563eb, #0e7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tip-item {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.tip-title {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}

.tip-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Premium Footer */
.premium-footer {
    background: linear-gradient(135deg, var(--premium-card) 0%, rgba(15, 15, 35, 0.95) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 4rem;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--premium-primary);
    opacity: 0.03;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content p {
    color: var(--premium-text-dim);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.6;
}

.logout-btn {
    background: var(--premium-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

.logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #A855F7 0%, #0891B2 100%);
}

.logout-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Enhanced Model Cards for Premium */
.model-item.premium {
    border-left: 4px solid #8B5CF6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    position: relative;
}

.model-score {
    background: var(--premium-primary);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auth-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .premium-badge {
        position: static;
        margin: 0 auto 2rem;
        width: fit-content;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tips-grid,
    .prompts-grid,
    .strategies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    
    .footer-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .logout-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 1.5rem;
    }
    
    .auth-icon {
        font-size: 2.5rem;
    }
    
    .auth-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
} 