/**
 * IPTV Player v5 - CSS
 * Tema: Preto + Verde Neon (estilo WPlay)
 * Replica exata do projeto React
 */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --neon-green: #00ff41;
    --neon-green-dark: #00cc33;
    --neon-green-glow: rgba(0, 255, 65, 0.4);
    --dark-bg: #0a0a0a;
    --dark-surface: #111111;
    --dark-card: #1a1a1a;
    --dark-card-hover: #242424;
    --dark-border: rgba(0, 255, 65, 0.15);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 50%, #0a0a0a 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff41, #00cc33);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #33ff66, #00ff41);
}

/* Hide scrollbar for content rows */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== UTILITY CLASSES ===== */
.glass {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.glass-light {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 65, 0.08);
}

.gradient-text {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3), 0 0 40px rgba(0, 255, 65, 0.1);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4), 0 0 40px rgba(0, 255, 65, 0.2);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    color: #000000;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(107, 114, 128, 0.8);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(107, 114, 128, 0.9);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

/* ===== INPUT FIELDS ===== */
.input-field {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-field:focus {
    border-color: #00ff41;
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.2);
    background: rgba(26, 26, 26, 0.95);
}

/* ===== CARDS ===== */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 65, 0.15);
}

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 65, 0.1);
    border-top-color: #00ff41;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 48px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    transition: background 0.3s;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a,
.header-nav span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
}

.header-nav a:hover,
.header-nav span:hover,
.header-nav a.active,
.header-nav span.active {
    color: #ffffff;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-bar:focus-within {
    border-color: var(--neon-green);
}

.search-bar svg {
    margin-left: 12px;
    color: var(--text-muted);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 12px;
    color: #ffffff;
    font-size: 0.9rem;
    width: 256px;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar .clear-btn {
    padding: 8px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
}

.search-bar .clear-btn:hover {
    color: #ffffff;
}

/* ===== HERO BANNER ===== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    margin-bottom: 32px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .gradient-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
}

.hero-bg .gradient-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a0a0a 0%, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 48px;
    max-width: 640px;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

/* ===== CONTENT ROW (Carrossel) ===== */
.content-section {
    margin-bottom: 32px;
    position: relative;
}

.content-section .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    padding: 0 48px;
}

.content-row-wrapper {
    position: relative;
}

.content-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 48px 16px;
    scroll-behavior: smooth;
}

.content-row::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    top: 0;
    bottom: 16px;
    width: 48px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.content-row-wrapper:hover .scroll-btn {
    opacity: 1;
}

.scroll-btn.left {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.scroll-btn.right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.scroll-btn svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

/* ===== CONTENT CARD ===== */
.content-card {
    flex-shrink: 0;
    width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.content-card:hover {
    transform: scale(1.1);
    z-index: 20;
}

.content-card:hover .card-poster {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 65, 0.3);
}

.card-poster {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-card);
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-poster .placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-poster .placeholder svg {
    width: 32px;
    height: 32px;
    color: rgba(0, 255, 65, 0.5);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
}

.content-card:hover .card-overlay {
    opacity: 1;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.card-actions button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.card-actions .play-btn {
    background: var(--neon-green);
}

.card-actions .play-btn:hover {
    background: var(--neon-green-dark);
}

.card-actions .play-btn svg {
    width: 14px;
    height: 14px;
    color: #000000;
    fill: #000000;
}

.card-actions .info-btn {
    background: transparent;
    border: 1px solid rgba(107, 114, 128, 0.8);
}

.card-actions .info-btn:hover {
    border-color: #ffffff;
}

.card-actions .info-btn svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    background: #181818;
    border-radius: 12px;
    max-width: 768px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    position: relative;
    height: 320px;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header .gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #181818 0%, transparent 50%);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #181818;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #333333;
}

.modal-title-section {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.modal-body {
    padding: 24px;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.modal-meta .rating {
    color: var(--neon-green);
    font-weight: 600;
}

.modal-meta .year,
.modal-meta .duration {
    color: var(--text-secondary);
}

.modal-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-genres span {
    padding: 4px 12px;
    background: rgba(107, 114, 128, 0.5);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.modal-overview {
    margin-bottom: 24px;
}

.modal-overview h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-overview p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PLAYER PAGE ===== */
.player-container {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 100;
}

.player-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.player-container:hover .player-overlay,
.player-container.show-controls .player-overlay {
    opacity: 1;
}

.player-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.player-back-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.player-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.player-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 16px;
    cursor: pointer;
}

.player-progress-fill {
    height: 100%;
    background: var(--neon-green);
    border-radius: 2px;
    transition: width 0.1s;
}

.player-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-buttons-left,
.player-buttons-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.player-btn svg {
    width: 24px;
    height: 24px;
}

.player-time {
    color: #ffffff;
    font-size: 0.9rem;
}

/* ===== LOGIN PAGE ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    z-index: 10;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 255, 65, 0.4);
    animation: float 3s ease-in-out infinite;
}

.login-logo-icon svg {
    width: 48px;
    height: 48px;
    color: #ffffff;
    margin-left: 4px;
}

.login-logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.login-logo p {
    color: var(--text-muted);
    margin-top: 8px;
}

.login-card {
    padding: 32px;
    border-radius: 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.login-field label svg {
    width: 16px;
    height: 16px;
}

.login-hint {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.login-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.login-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.login-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: var(--neon-green-dark);
}

/* ===== ALERT BOXES ===== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-yellow {
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.alert-orange {
    background: linear-gradient(to right, rgba(249, 115, 22, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.alert-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-green {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-content {
    display: flex;
    gap: 12px;
}

.alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-icon svg {
    width: 22px;
    height: 22px;
}

.alert-yellow .alert-icon svg {
    color: #fbbf24;
}

.alert-orange .alert-icon svg {
    color: #fb923c;
}

.alert-red .alert-icon svg {
    color: #f87171;
}

.alert-green .alert-icon svg {
    color: #34d399;
}

.alert-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-yellow .alert-title {
    color: #fbbf24;
}

.alert-orange .alert-title {
    color: #fb923c;
}

.alert-green .alert-title {
    color: #34d399;
}

.alert-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.alert-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.alert-button:hover {
    transform: scale(1.05);
}

.alert-button.yellow {
    background: linear-gradient(to right, #f59e0b 0%, #f97316 100%);
    color: #000000;
}

.alert-button.orange {
    background: linear-gradient(to right, #f97316 0%, #ef4444 100%);
    color: #ffffff;
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== BACKGROUND ORBS ===== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00ff41 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00cc33 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }

    .header-nav {
        display: none;
    }

    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content {
        left: 16px;
        right: 16px;
        bottom: 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .content-section .section-title {
        padding: 0 16px;
    }

    .content-row {
        padding: 0 16px 16px;
    }

    .content-card {
        width: 140px;
    }

    .scroll-btn {
        display: none;
    }

    .search-bar input {
        width: 150px;
    }

    /* Mobile bottom navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(17, 17, 17, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 255, 65, 0.1);
        padding: 8px 0;
        z-index: 50;
        display: flex;
        justify-content: space-around;
    }

    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 16px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.7rem;
        transition: color 0.2s;
    }

    .mobile-nav a.active {
        color: var(--neon-green);
    }

    .mobile-nav a svg {
        width: 24px;
        height: 24px;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px 20px;
    }

    .login-logo-icon {
        width: 72px;
        height: 72px;
    }

    .login-logo-icon svg {
        width: 36px;
        height: 36px;
    }

    .login-logo h1 {
        font-size: 2rem;
    }
}

/* ===== ALERT BOXES ===== */
.alert {
    border-radius: 12px;
    padding: 16px;
    position: relative;
}

.alert-content {
    display: flex;
    gap: 12px;
}

.alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-icon svg {
    width: 20px;
    height: 20px;
}

.alert-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.alert-text {
    font-size: 0.875rem;
    margin-bottom: 12px;
    color: inherit;
    opacity: 0.9;
}

.alert-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

/* Yellow Alert - Not registered */
.alert-yellow {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-yellow .alert-icon {
    background: rgba(245, 158, 11, 0.2);
}

.alert-yellow .alert-icon svg {
    color: #fbbf24;
}

.alert-yellow .alert-title {
    color: #fbbf24;
}

.alert-yellow .alert-text {
    color: #fcd34d;
}

.alert-button.yellow {
    background: #f59e0b;
    color: #000000;
}

.alert-button.yellow:hover {
    background: #fbbf24;
}

/* Orange Alert - Subscription expired/pending */
.alert-orange {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.alert-orange .alert-icon {
    background: rgba(249, 115, 22, 0.2);
}

.alert-orange .alert-icon svg {
    color: #fb923c;
}

.alert-orange .alert-title {
    color: #fb923c;
}

.alert-orange .alert-text {
    color: #fdba74;
}

.alert-button.orange {
    background: #f97316;
    color: #ffffff;
}

.alert-button.orange:hover {
    background: #fb923c;
}

/* Red Alert - Error */
.alert-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px;
}

/* Green Alert - Success */
.alert-green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-green .alert-icon {
    background: rgba(16, 185, 129, 0.2);
}

.alert-green .alert-icon svg {
    color: #34d399;
}

.alert-green .alert-title {
    color: #34d399;
}

/* Mobile Nav Hidden on Desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}