/* =============================================
   Albion Guarantee - Полные стили
   Версия: 2.0
   ============================================= */

/* ===================== RESET & BASE ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-dark: #0f0e1a;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --primary: #6C63FF;
    --primary-dark: #5a52d5;
    --primary-light: #8b83ff;
    --primary-gradient: linear-gradient(135deg, #6C63FF 0%, #8b83ff 100%);
    --accent: #FF6B6B;
    --success: #10b981;
    --warning: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 8px rgba(108, 99, 255, 0.08), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-hover: 0 8px 32px rgba(108, 99, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.08);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
}

.logo-accent { color: var(--primary); }
.logo svg { flex-shrink: 0; }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
}

.btn-outline.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-outline.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--accent);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-full { width: 100%; justify-content: center; }

/* ===================== HERO ===================== */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 56px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero Card */
.hero-visual { display: flex; justify-content: center; }

.hero-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(108, 99, 255, 0.1);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.hero-card:hover { transform: translateY(-4px); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-right: 6px;
}

.status-badge {
    display: flex;
    align-items: center;
    padding: 4px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50px;
    font-size: 12px;
}

.card-body { padding-top: 16px; }

.card-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.card-row:last-child { border-bottom: none; }
.card-row span:first-child { color: var(--text-secondary); }

.highlight {
    font-weight: 600;
    color: var(--text);
}

.highlight i { margin-right: 6px; color: var(--primary); }

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.status-success {
    color: var(--success);
    font-weight: 600;
}

.status-success i { margin-right: 4px; }

.card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.card-rating {
    color: #f59e0b;
    font-weight: 600;
}

.card-rating i { margin-right: 4px; }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-secondary); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* ===================== STEPS ===================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step {
    text-align: center;
    padding: 36px 28px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108, 99, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.step-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 4px 14px;
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ===================== ADVANTAGES ===================== */
.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage {
    padding: 28px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108, 99, 255, 0.15);
}

.advantage-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.advantage h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
    background: var(--primary-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-item { display: flex; flex-direction: column; }

.stats-number {
    font-size: 40px;
    font-weight: 800;
    color: white;
}

.stats-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ===================== REVIEWS ===================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.review-user { flex: 1; }

.review-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-rating {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===================== FAQ ===================== */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question i { color: var(--primary); }

.faq-question .fa-chevron-down {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 0 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer { display: block; }

/* ===================== CTA SECTION ===================== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary);
    font-weight: 700;
    box-shadow: none;
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

/* ===================== FOOTER ===================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links-group a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links-group a i {
    font-size: 10px;
    color: var(--primary);
}

.footer-links-group a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

/* ===================== COOKIE NOTICE ===================== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    max-width: 500px;
    width: 90%;
}

.cookie-notice p {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-notice .btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

/* ===================== AUTH PAGES ===================== */
.auth-page {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef0f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 36px;
    justify-content: center;
}

.auth-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(108, 99, 255, 0.08);
    box-shadow: var(--shadow-hover);
}

.auth-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    display: none;
    margin-top: 8px;
}

.error-message.show { display: block; }

.auth-link {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 20px;
}

.auth-link a {
    color: var(--primary);
    font-weight: 600;
}

.auth-link a:hover { text-decoration: underline; }

/* =============================================
   ORDERS PAGE STYLES
   ============================================= */

/* Page Header */
.page-header {
    padding: 120px 0 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header-text .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-header-text h1 {
    font-size: 36px;
    font-weight: 800;
}

.page-header-text p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Filters */
.filters-section {
    padding: 24px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.9);
}

.filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.filters-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 8px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: 14px;
    cursor: pointer;
    min-width: 140px;
    font-family: inherit;
}

.filter-select:focus {
    border-color: var(--primary);
    outline: none;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
}

.price-input:focus {
    border-color: var(--primary);
    outline: none;
}

.price-sep { color: var(--text-secondary); }

.filters-right {
    display: flex;
    gap: 10px;
}

/* Orders Grid */
.orders-section {
    padding: 32px 0 80px;
    background: var(--bg-secondary);
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.orders-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.orders-count span {
    font-weight: 700;
    color: var(--text);
}

.orders-view {
    display: flex;
    gap: 4px;
}

.view-btn {
    padding: 6px 10px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.view-btn:hover {
    color: var(--text);
    background: var(--bg-secondary);
}

.view-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

/* Orders Grid */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.order-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108, 99, 255, 0.2);
}

.orders-list .order-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
}

.orders-list .order-card:hover {
    transform: none;
}

.order-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.orders-list .order-type {
    margin-bottom: 0;
}

.order-type.account {
    background: rgba(108, 99, 255, 0.12);
    color: var(--primary);
}

.order-type.silver {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.order-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.orders-list .order-card h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.order-card p {
    color: var(--text-secondary);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.orders-list .order-card p {
    margin-bottom: 0;
    -webkit-line-clamp: 1;
}

.order-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.orders-list .order-price {
    margin-bottom: 0;
    font-size: 20px;
}

.order-seller {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.orders-list .order-seller {
    margin-bottom: 0;
}

.order-status {
    font-size: 13px;
    margin-bottom: 12px;
}

.orders-list .order-status {
    margin-bottom: 0;
}

.order-card .btn-full {
    padding: 10px;
    font-size: 14px;
}

.orders-list .order-card .btn-full {
    padding: 6px 20px;
    width: auto;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Load More */
.load-more { text-align: center; }

.btn-load-more {
    padding: 12px 40px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
}

.btn-load-more:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Order Detail */
.order-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    text-align: right;
}

.detail-value.price { color: var(--primary); }

.detail-actions { margin-top: 16px; }

/* =============================================
   CREATE ORDER PAGE
   ============================================= */
.create-order-section {
    padding: 40px 0 80px;
    background: var(--bg-secondary);
}

.create-order-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-step { animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.type-option { cursor: pointer; }
.type-option input { display: none; }

.type-card {
    padding: 24px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.type-option input:checked + .type-card {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.type-card .type-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.type-card .type-name {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.type-card .type-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* =============================================
   ADMIN PANEL STYLES
   ============================================= */
.admin-page {
    background: var(--bg-secondary);
    padding-top: 0;
}

.admin-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.admin-badge {
    padding: 4px 14px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    margin-top: 72px;
    min-height: calc(100vh - 72px);
}

/* Sidebar */
.admin-sidebar {
    width: 240px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    position: fixed;
    top: 72px;
    bottom: 0;
    overflow-y: auto;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.admin-nav-item:hover {
    color: var(--text);
    background: var(--bg-secondary);
}

.admin-nav-item.active {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.admin-nav-item i {
    width: 20px;
    font-size: 16px;
}

.badge-count {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 12px;
}

/* Admin Main */
.admin-main {
    margin-left: 240px;
    padding: 24px;
    flex: 1;
}

/* Admin Sections */
.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-section-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.admin-section-header h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.admin-section-header p {
    color: var(--text-secondary);
}

.admin-actions {
    display: flex;
    gap: 10px;
}

/* Admin Stats */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.purple { background: rgba(108, 99, 255, 0.12); color: var(--primary); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.stat-icon.green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.stat-icon.gold { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.stat-icon.red { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.stat-icon.orange { background: rgba(249, 115, 22, 0.12); color: #f97316; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Quick Actions */
.admin-quick-actions {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.admin-quick-actions h3 {
    margin-bottom: 16px;
    font-size: 16px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.quick-action {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.quick-action:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Admin Tables */
.admin-table-wrapper {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.admin-table tr:hover {
    background: var(--bg-secondary);
}

.admin-table .text-center {
    text-align: center;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-active { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.status-progress { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.status-completed { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.status-cancelled { background: rgba(239, 68, 68, 0.12); color: #ef4444; }

/* Admin Settings */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.settings-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.settings-card h3 {
    margin-bottom: 16px;
    font-size: 16px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =============================================
   MODAL
   ============================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg);
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
}

.modal-lg { max-width: 720px; }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover { color: var(--text); }

.modal-body { padding: 24px; }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) { opacity: 0; }

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text h1 { font-size: 38px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .advantages { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 16px;
        box-shadow: var(--shadow-hover);
    }
    
    .nav.open { display: flex; }
    .mobile-menu { display: flex; }
    
    .hero { padding: 120px 0 60px; }
    .hero-text h1 { font-size: 30px; }
    .hero-stats { gap: 32px; }
    .stat-number { font-size: 24px; }
    
    .steps { grid-template-columns: 1fr; }
    .advantages { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stats-number { font-size: 28px; }
    
    .section-header h2 { font-size: 28px; }
    .auth-card { padding: 24px; }
    .cookie-notice { flex-direction: column; text-align: center; padding: 16px; }
    
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 16px; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    
    .orders-list .order-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-left {
        flex-direction: column;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .price-range .price-input {
        width: 100%;
    }
    
    .filters-right {
        flex-direction: column;
    }
    
    .type-selector {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 12px;
    }
}
/* =============================================
   НОВАЯ КАРТОЧКА С ЭФФЕКТАМИ
   ============================================= */

/* Hero Card New */
.hero-card-new {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(108, 99, 255, 0.12);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transition: var(--transition);
}

.hero-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(108, 99, 255, 0.2);
}

/* Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Particles */
.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.card-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 8s infinite;
}

.card-particles span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.card-particles span:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; width: 4px; height: 4px; }
.card-particles span:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 4s; width: 8px; height: 8px; }
.card-particles span:nth-child(4) { top: 60%; right: 10%; animation-delay: 1s; opacity: 0.05; }
.card-particles span:nth-child(5) { bottom: 10%; right: 30%; animation-delay: 3s; width: 3px; height: 3px; }
.card-particles span:nth-child(6) { top: 40%; left: 50%; animation-delay: 5s; opacity: 0.08; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.2; }
}

/* Card Border Animation */
.card-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--radius);
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    background-size: 300% 300%;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0; }
    50% { background-position: 100% 50%; opacity: 0.3; }
}

.hero-card-new:hover .card-border-animation {
    opacity: 1;
}

/* Card Header */
.card-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.15);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 15px;
}

.user-status {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-status .online-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.card-badge-new {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.card-badge-new i {
    font-size: 14px;
}

/* Card Body */
.card-body-new {
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.card-stats-new {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    margin-bottom: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.stat-item-new {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.stat-label-new {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    background: var(--border);
}

/* Progress */
.card-progress {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-count {
    font-weight: 700;
    color: var(--text);
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 1.5s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Trades */
.card-trades {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.trade-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.trade-item:nth-child(1) { animation-delay: 0.1s; }
.trade-item:nth-child(2) { animation-delay: 0.3s; }
.trade-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.trade-item:hover {
    background: rgba(108, 99, 255, 0.05);
    transform: translateX(4px);
}

.trade-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.trade-icon.success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.trade-icon.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.trade-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trade-name {
    font-size: 14px;
    font-weight: 500;
}

.trade-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.trade-time {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Card Footer */
.card-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.card-total {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #10b981;
}

.card-update {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

/* Floating Animation */
.hero-card-new {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-card-new:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card-new {
        max-width: 100%;
        padding: 20px;
    }
    
    .card-stats-new {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .trade-item {
        flex-wrap: wrap;
    }
    
    .trade-time {
        width: 100%;
        text-align: right;
    }
}
/* =============================================
   AUTH PAGES - УЛУЧШЕННЫЕ СТИЛИ
   ============================================= */

/* Auth Container */
.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    margin: 0 auto;
}

/* Auth Logo */
.auth-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 32px;
    justify-content: center;
}

/* Auth Card */
.auth-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(108, 99, 255, 0.08);
    box-shadow: var(--shadow-hover);
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Auth Progress */
.auth-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0 8px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.progress-step.active .step-num {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.progress-step.completed .step-num {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 4px;
    margin-bottom: 20px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.08);
}

.input-wrapper input.error {
    border-color: #ef4444;
}

.input-wrapper input.success {
    border-color: var(--success);
}

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper .toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: var(--transition);
}

.input-wrapper .toggle-password:hover {
    color: var(--text);
}

/* Field Error */
.field-error {
    display: none;
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.field-error.show {
    display: block;
}

.field-hint {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 4px;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-fill.weak { background: #ef4444; width: 25%; }
.strength-fill.medium { background: #f59e0b; width: 50%; }
.strength-fill.strong { background: #10b981; width: 75%; }
.strength-fill.excellent { background: #6C63FF; width: 100%; }

.strength-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-label input {
    display: none;
}

.checkbox-label .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-actions .btn-outline,
.form-actions .btn-primary {
    flex: 1;
    justify-content: center;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 16px;
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-screen h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-screen p {
    color: var(--text-secondary);
}

.terms-link {
    color: var(--primary);
    text-decoration: underline;
}

.terms-link:hover {
    color: var(--primary-dark);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Social Buttons */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text);
}

.social-btn:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.04);
}

.social-btn.telegram {
    border-color: #0088cc;
    color: #0088cc;
}

.social-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.08);
}

.social-btn i {
    font-size: 18px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Button Loader */
.btn-loader {
    display: none;
}

.btn-loader i {
    font-size: 18px;
}

.btn-primary.loading .btn-text {
    display: none;
}

.btn-primary.loading .btn-loader {
    display: block;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .auth-progress {
        padding: 0;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}