:root {
    --bg-dark: #0a0a0c;
    --sidebar-bg: #111114;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.2);
    --accent-gold: #f59e0b;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --glass-blur: blur(12px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
        url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    height: 100vh;
}


h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 3rem;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-emerald);
}

.org-selector-container {
    margin: 1.5rem 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.org-selector-container label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.org-selector-container label i {
    width: 12px;
    color: var(--accent-gold);
}

.org-dropdown {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.org-dropdown:hover {
    border-color: var(--accent-emerald);
    background: rgba(0, 0, 0, 0.4);
}

.org-dropdown option {
    background: #0f172a;
    color: white;
}

.nav-links {
    list-style: none;
    flex-grow: 1;
}

.nav-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-dim);
    transition: var(--transition-smooth);
    font-weight: 600; /* Negrito nas opções */
}

.nav-links li i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px; /* Ícones mais gordinhos */
}

.nav-links li:hover {
    background: var(--card-bg);
    color: var(--accent-emerald); /* Em vez de branco, usa esmeralda no hover */
}

.nav-links li.active {
    background: var(--accent-emerald-glow);
    color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
    font-weight: 800; /* Muito negrito quando ativo */
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.top-bar {
    height: 80px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.top-bar h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-info {
    text-align: right;
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Views */
.view-content {
    padding: 2.5rem;
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

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

/* Glass Components */
.glass {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 16px;
}

/* Grid System */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mobile-nav {
    display: none;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-emerald);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.btn-secondary.active-filter {
    background: var(--accent-emerald-glow);
    color: var(--accent-emerald);
    border-color: var(--accent-emerald);
    font-weight: 700;
}

/* Cards & Lists */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--accent-emerald);
    color: #000;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: #059669;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-card {
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-emerald);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-dim);
    font-weight: 500;
    border-bottom: 1px solid var(--card-border);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Avatars */
.player-avatar-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.75rem;
    border: 1px solid var(--card-border);
}

/* Profile Card (Ficha do Atleta) */
.profile-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2rem;
}

.profile-card-photo {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--accent-emerald);
}

.profile-card-main-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.profile-card-main-info p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-emerald); /* Títulos em verde para destacar */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 700; /* Negrito nos labels da ficha */
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

/* Print Styles */
@media print {
    /* Hide everything except the modal and its content */
    body * {
        visibility: hidden;
    }
    #modal-container, #modal-container * {
        visibility: visible;
    }
    
    /* Position the modal content for the full page */
    #modal-container {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: white !important;
        display: block !important;
    }

    .modal-card {
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        background: white !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide UI elements within the modal */
    .modal-header, .profile-actions, .close-btn, .btn-secondary, .print-btn {
        display: none !important;
    }

    /* Adjust profile card for printing */
    .profile-card {
        color: black !important;
        background: white !important;
        width: 100% !important;
    }

    .profile-card-header {
        border-bottom: 2px solid #eee !important;
    }

    .profile-card-photo {
        border: 2px solid #ccc !important;
        width: 120px !important; /* Slightly smaller for print */
        height: 120px !important;
    }

    .profile-card-main-info h2, 
    .profile-card-main-info p,
    .info-item span {
        color: black !important;
    }

    .info-item label {
        color: #000 !important;
        border-bottom: 1px solid #000;
        margin-bottom: 5px;
        font-weight: 800 !important; /* Bem negrito na impressão */
    }

    .badge {
        border: 1px solid #ccc !important;
        color: black !important;
        background: transparent !important;
    }

    /* Sidebar and background */
    .sidebar, .top-bar, .app-container {
        display: none !important;
    }
}


/* Lineup Editor */
.player-checklist::-webkit-scrollbar {
    width: 6px;
}

.player-checklist::-webkit-scrollbar-track {
    background: transparent;
}

.player-checklist::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 10px;
}

.player-checklist label:hover {
    color: var(--accent-emerald);
}

.player-checklist input[type="checkbox"] {
    accent-color: var(--accent-emerald);
    width: 16px;
    height: 16px;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
}

/* ID Card Specific Styles */
.id-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.id-card {
    width: 450px;
    height: 270px;
    background: #111114;
    border: 1px solid var(--accent-emerald);
    border-radius: 15px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.id-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    transform: rotate(25deg);
    pointer-events: none;
}

.id-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding-bottom: 0.75rem;
}

.id-card-body {
    display: flex;
    gap: 1.25rem;
    padding: 1rem 0;
    align-items: center;
}

.id-card-photo-wrapper {
    width: 90px;
    height: 100px;
    border: 2px solid var(--accent-emerald);
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1e;
}

.id-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-info {
    flex: 1;
}

.id-card-info label {
    display: block;
    font-size: 0.55rem;
    color: var(--accent-emerald);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.id-card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    text-transform: uppercase;
}

.id-card-data {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.id-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

@media print {
    @page {
        margin: 0.5cm;
        size: auto;
    }
    
    html, body {
        overflow: visible !important;
        height: auto !important;
        background: white !important;
    }

    body * {
        visibility: hidden;
        overflow: visible !important;
    }
    
    #modal-container, #modal-container * {
        visibility: visible;
    }
    
    #modal-container {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: white !important;
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .modal-card {
        background: white !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .modal-header, .no-print, .close-btn, .btn-primary:not(.print-btn), .btn-secondary, .sidebar, .top-nav {
        display: none !important;
    }

    /* Batch Printing Grid */
    .id-card-grid {
        display: grid !important;
        grid-template-columns: 90mm 90mm !important;
        gap: 10mm !important;
        justify-content: center !important;
        visibility: visible !important;
        margin: 0 auto !important;
        padding: 10mm 0 !important;
        overflow: visible !important;
    }
    
    .id-card {
        width: 90mm !important;
        height: 60mm !important;
        margin-bottom: 5mm !important;
        border: 1px solid #000 !important;
        page-break-inside: avoid !important;
        background: white !important;
        box-shadow: none !important;
        color: black !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
        overflow: hidden !important;
    }

    .id-card-batch-container {
        visibility: visible !important;
        overflow: visible !important;
    }
}

.id-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
    justify-items: center;
}

.id-card {
    width: 420px;
    height: 250px;
    background: #111114;
    border: 1px solid var(--accent-emerald);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Mobile Responsiveness --- */

@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 100;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }

    .sidebar .logo {
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .nav-links {
        display: none; /* We can implement a mobile drawer later if needed, or simple icons */
    }

    /* Mobile Bottom Nav */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--sidebar-bg);
        border-top: 1px solid var(--card-border);
        justify-content: space-around;
        padding: 0.75rem 0;
        z-index: 100;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.7rem;
        color: var(--text-dim);
        cursor: pointer;
    }

    .mobile-nav-item.active {
        color: var(--accent-emerald);
    }

    .main-content {
        padding-bottom: 70px; /* Space for bottom nav */
    }

    .top-bar {
        display: none; /* Redundant on mobile if we have sidebar/bottom nav */
    }

    .view-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .data-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th, .data-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Public Portal Mobile */
    .public-nav {
        max-width: 100% !important;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding: 0.5rem 1rem !important;
        gap: 1rem !important;
        scrollbar-width: none; /* Firefox */
    }

    .public-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .nav-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .profile-card-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    /* Settings Panel Mobile */
    #form-settings .form-group, 
    #form-settings div[style*="grid-column: span 3"] {
        grid-column: span 3 !important;
    }

    #form-settings div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none; /* Only icon on very small screens */
    }
}

/* Helper class for responsive tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* --- Premium Public Portal Effects --- */

.public-body {
    position: relative;
    overflow-x: hidden;
    background: #050507;
}

/* Animated Aura Background */
.aura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aura-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.aura-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-emerald);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.aura-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-gold);
    bottom: -10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* Modern Ticker Style */
.news-ticker-container {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(5px);
    margin: 0.5rem 1rem 1.5rem !important;
    padding: 0.3rem 0.6rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 8px;
    height: 32px; /* Altura fixa e discreta */
}

.ticker-label {
    background: var(--accent-emerald);
    color: #000;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-right: 0.75rem;
    flex-shrink: 0;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.news-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    font-size: 0.85rem;
    gap: 3rem;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.ticker-item span {
    color: var(--accent-emerald);
    font-weight: 800;
    font-size: 0.75rem;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Enhanced Glass Cards */
.public-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.public-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(16, 185, 129, 0.1);
}

/* Hero Section Styles */
.hero-banner {
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff 40%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
}

/* Authentication & Login Styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
        url('bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(16, 185, 129, 0.3);
}

.hidden-auth {
    display: none !important;
}
