/* ===================================
   TRACK PAGE - COMPLETE STYLES
   PART 1: Variables, Base, Background, Navbar, Hero
   =================================== */

/* ---------- Variables (Light Mode) ---------- */
:root {
    --track-gold: #f5b042;
    --track-gold-light: #ffd966;
    --track-gold-dark: #d97706;
    --primary-dark: #1e293b;
    --text-muted: #475569;
    --text-light: #64748b;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --bg-glass: rgba(255, 255, 255, 0.65);
    --border-glass: rgba(255, 255, 255, 0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.05);
    --card-bg: rgba(255, 255, 255, 0.45);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
}

/* ---------- Dark Mode Variables ---------- */
body.dark-mode {
    --primary-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --bg-glass: rgba(15, 20, 35, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    --card-bg: rgba(20, 25, 45, 0.55);
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Inter', system-ui, sans-serif;
    background: linear-gradient(145deg, #fef9f0 0%, #eef2ff 100%);
    color: var(--primary-dark);
    line-height: 1.6;
    transition: background 0.3s, color 0.2s;
    min-height: 100vh;
}
body.dark-mode {
    background: linear-gradient(145deg, #0f1222 0%, #1a1f2e 100%);
}

/* ---------- Animated Background ---------- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}
.bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}
.layer-1 {
    background: radial-gradient(circle at 20% 30%, rgba(245, 176, 66, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
                linear-gradient(145deg, #fef9f0 0%, #eef2ff 100%);
}
body.dark-mode .layer-1 {
    background: radial-gradient(circle at 20% 30%, rgba(245, 176, 66, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
                linear-gradient(145deg, #0f1222 0%, #1a1f2e 100%);
}
.layer-2 {
    background-image: radial-gradient(circle at 10% 20%, rgba(245, 176, 66, 0.08) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: floatParticles 20s linear infinite;
}
@keyframes floatParticles {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* ---------- Navbar (Glassmorphic) ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-icon {
    position: relative;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--track-gold), var(--track-gold-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(245, 176, 66, 0.3);
}
.logo-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--track-gold), var(--track-gold-light));
    border-radius: var(--radius-md);
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
}
.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2d3e50, #1e293b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.dark-mode .logo-title {
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.nav-actions {
    display: flex;
    gap: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-theme {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-dark);
    cursor: pointer;
}
.btn-secondary {
    background: transparent;
    border: 1px solid var(--track-gold);
    color: var(--track-gold);
}
.btn-secondary:hover {
    background: rgba(245, 176, 66, 0.1);
    transform: translateY(-2px);
}
.btn-theme i {
    transition: transform 0.3s;
}
.btn-theme:hover i {
    transform: rotate(15deg);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 5% 3rem;
    text-align: center;
}
.hero-content {
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    color: var(--track-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.title-highlight {
    background: linear-gradient(135deg, var(--track-gold), var(--track-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
}
/* ===================================
   PART 2: Track Container, Search Card, Inputs, Buttons, Status Displays
   =================================== */

/* ---------- Track Container ---------- */
.track-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 4rem;
}

/* ---------- Search Card (Glassmorphic) ---------- */
.search-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s;
}
.search-card:hover {
    border-color: rgba(245, 176, 66, 0.4);
    box-shadow: var(--shadow-glass);
}

/* ---------- Search Box Layout ---------- */
.search-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.search-group {
    flex: 2;
    min-width: 240px;
}
.search-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.search-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}
.search-group input:focus {
    outline: none;
    border-color: var(--track-gold);
    box-shadow: 0 0 0 3px rgba(245, 176, 66, 0.2);
    background: var(--bg-glass);
}

/* ---------- Gold Button ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--track-gold), var(--track-gold-light));
    color: #1e293b;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(245, 176, 66, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 176, 66, 0.4);
}
.btn-gold:active {
    transform: translateY(0);
}

/* ---------- IP Info Display ---------- */
.ip-info {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
}
body.dark-mode .ip-info {
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- Loading Spinner ---------- */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--track-gold);
}
.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.loading-spinner p {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* ---------- Error Message ---------- */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.error-message i {
    font-size: 1.2rem;
}

/* ---------- Empty State (No Results) ---------- */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--bg-glass);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
}
.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.empty-state p {
    color: var(--text-light);
}

/* ---------- Responsive for Part 2 ---------- */
@media (max-width: 768px) {
    .track-container {
        padding: 1rem 1rem 3rem;
    }
    .search-card {
        padding: 1.5rem;
    }
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-gold {
        justify-content: center;
        width: 100%;
    }
    .ip-info {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .search-group {
        min-width: 100%;
    }
    .loading-spinner {
        padding: 2rem;
    }
    .empty-state {
        padding: 2rem;
    }
}
/* ===================================
   PART 3: Result Cards, Badges, Details, Copy Button, Admin Note
   =================================== */

/* ---------- Results Grid ---------- */
.applications-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* ---------- Result Card ---------- */
.app-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}
.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 176, 66, 0.4);
    box-shadow: var(--shadow-md);
}

/* ---------- Card Header ---------- */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.app-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------- Type Badges (DOJ / Lawyer) ---------- */
.type-badge {
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.type-doj {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    color: #93c5fd;
}
.type-lawyer {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid #a855f7;
    color: #c4b5fd;
}
body.dark-mode .type-doj {
    background: rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
}
body.dark-mode .type-lawyer {
    background: rgba(168, 85, 247, 0.25);
    color: #ddd6fe;
}

/* ---------- Status Badges ---------- */
.status-badge {
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.status-pending {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fcd34d;
}
.status-reviewing {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    color: #93c5fd;
}
.status-interview {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid #a855f7;
    color: #c4b5fd;
}
.status-approved {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #6ee7b7;
}
.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}
body.dark-mode .status-pending { background: rgba(245, 158, 11, 0.25); }
body.dark-mode .status-reviewing { background: rgba(59, 130, 246, 0.25); }
body.dark-mode .status-interview { background: rgba(168, 85, 247, 0.25); }
body.dark-mode .status-approved { background: rgba(16, 185, 129, 0.25); }
body.dark-mode .status-rejected { background: rgba(239, 68, 68, 0.25); }

/* ---------- Date Badge ---------- */
.date-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
body.dark-mode .date-badge {
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Application Details Grid ---------- */
.app-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.detail-value {
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    word-break: break-word;
}
.detail-value code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
body.dark-mode .detail-value code {
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Copy Steam Hex Button ---------- */
.copy-steam {
    background: none;
    border: none;
    color: var(--track-gold);
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
    padding: 0.2rem;
    border-radius: 4px;
}
.copy-steam:hover {
    transform: scale(1.1);
    color: var(--track-gold-light);
    background: rgba(245, 176, 66, 0.1);
}
/* Touch-friendly */
@media (hover: none) {
    .copy-steam:active {
        transform: scale(0.95);
        background: rgba(245, 176, 66, 0.2);
    }
}

/* ---------- Admin Note ---------- */
.admin-note {
    background: rgba(245, 176, 66, 0.08);
    border-right: 3px solid var(--track-gold);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}
.admin-note strong {
    color: var(--track-gold);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}
.admin-note div {
    line-height: 1.6;
}

/* ---------- Responsive for Part 3 ---------- */
@media (max-width: 768px) {
    .app-card {
        padding: 1.2rem;
    }
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .app-details {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .detail-value {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .type-badge, .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem;
    }
    .date-badge {
        font-size: 0.65rem;
    }
    .detail-label {
        font-size: 0.65rem;
    }
    .copy-steam {
        font-size: 0.7rem;
    }
    .admin-note {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}
/* ===================================
   PART 4: Back to Top Button, Footer, Final Responsive, Print, Accessibility
   =================================== */

/* ---------- Back to Top Button ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--track-gold), var(--track-gold-light));
    border: none;
    border-radius: 50%;
    color: #1e293b;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 176, 66, 0.4);
}
.back-to-top:active {
    transform: translateY(0);
}

/* ---------- Footer ---------- */
.track-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-note {
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

/* ---------- Final Responsive Enhancements ---------- */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .track-footer {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}
@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ---------- Additional Animations ---------- */
/* Fade-in animation for result cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.app-card {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}
/* Staggered delay for multiple cards */
.app-card:nth-child(1) { animation-delay: 0.05s; }
.app-card:nth-child(2) { animation-delay: 0.1s; }
.app-card:nth-child(3) { animation-delay: 0.15s; }
.app-card:nth-child(4) { animation-delay: 0.2s; }
.app-card:nth-child(5) { animation-delay: 0.25s; }

/* Pulsing animation for status badges (optional) */
@keyframes subtlePulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}
.status-pending i,
.status-reviewing i,
.status-interview i {
    animation: subtlePulse 1.5s ease-in-out infinite;
}

/* ---------- Print Styles ---------- */
@media print {
    .animated-bg,
    .navbar,
    .back-to-top,
    .search-card,
    .back-home,
    .track-footer {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .app-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
        background: white;
        margin-bottom: 1rem;
    }
    .app-details {
        grid-template-columns: 1fr 1fr;
    }
    .type-badge, .status-badge, .date-badge {
        border: 1px solid #000;
        background: transparent !important;
        color: black !important;
    }
}

/* ---------- Accessibility ---------- */
/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--track-gold);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-gold,
    .back-to-top {
        border: 1px solid currentColor;
    }
    .type-badge,
    .status-badge {
        border-width: 2px;
    }
}
/* ===================================
   PART 5: Missing Styles & Enhancements (Temp Toast, Hover, Focus, Placeholder)
   =================================== */

/* ---------- Temporary Toast (برای پیام کپی) ---------- */
.temp-toast {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--success);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    animation: fadeInUp 0.3s ease;
    direction: ltr;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Back Home Link Hover ---------- */
.back-home a {
    transition: all 0.2s;
}
.back-home a:hover {
    color: var(--track-gold-light);
    text-decoration: underline;
}

/* ---------- IP Info Icon Alignment ---------- */
.ip-info i {
    margin-left: 0.3rem;
    font-size: 0.9rem;
}

/* ---------- Focus Styles for Buttons (Accessibility) ---------- */
.btn-secondary:focus-visible,
.btn-gold:focus-visible,
.btn-theme:focus-visible {
    outline: 2px solid var(--track-gold);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* ---------- Placeholder Styling ---------- */
.search-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
    font-size: 0.85rem;
}
body.dark-mode .search-group input::placeholder {
    color: #64748b;
}

/* ---------- Admin Note Div Spacing ---------- */
.admin-note div {
    margin-top: 0.2rem;
    word-break: break-word;
    white-space: pre-wrap;
}

/* ---------- Code inside detail value - better contrast ---------- */
.detail-value code {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.08);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
body.dark-mode .detail-value code {
    background: rgba(255, 255, 255, 0.15);
}

/* ---------- Loading Spinner Improvement ---------- */
.loading-spinner .fa-spinner {
    filter: drop-shadow(0 0 2px rgba(245, 176, 66, 0.5));
}

/* ---------- Responsive for temp-toast ---------- */
@media (max-width: 768px) {
    .temp-toast {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        text-align: center;
        font-size: 0.85rem;
    }
}
/* ---------- Back Home Link (بازگشت به خانه) ---------- */
.back-home {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0.5rem 0;
}
.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--track-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-home a i {
    font-size: 1rem;
    transition: transform 0.2s;
}
.back-home a:hover {
    background: rgba(245, 176, 66, 0.1);
    border-color: var(--track-gold);
    transform: translateY(-2px);
}
.back-home a:hover i {
    transform: translateX(-4px); /* حرکت آیکون به راست در حالت راست‌چین */
}
.back-home a:active {
    transform: translateY(0);
}