/* Основные переменные темы */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0288d1;
    --accent-color: #e74c3c;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    
    /* Переменные темной темы */
    --dark-bg: #1a1a1a;
    --dark-card: #2d2d2d;
    --dark-input: #363636;
    --dark-border: #404040;
    --dark-text: #e0e0e0;
    --dark-text-muted: #a0a0a0;
    --dark-hover: #404040;
    --dark-success: #198754;
    --dark-danger: #dc3545;
    --dark-primary: #0d6efd;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Стили для тела страницы */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Основной контент */
main {
    min-height: calc(100vh - 250px);
    padding: 2rem 0;
}

/* Контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Навигационная панель */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Логотип */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-right: 3rem;
}

/* Ссылки навигации */
.navbar .nav-link {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    color: white !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    opacity: 1;
}

.navbar .btn-outline-light {
    border-width: 2px;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar .dropdown-menu {
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Подвал */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white;
    padding: 3rem 0;
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
}

footer .container {
    width: 100%;
}

footer .row {
    width: 100%;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer p {
    opacity: 0.9;
}

/* Списки M3U */
.m3u-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Элементы списка M3U */
.m3u-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    font-family: monospace;
}

.m3u-item:last-child {
    border-bottom: none;
}

.m3u-item:hover {
    background-color: #f8f9fa;
}

/* URL элемента */
.url {
    flex-grow: 1;
    font-size: 0.9rem;
    word-break: break-all;
    padding: 0.5rem;
    border-radius: 4px;
}

/* Индикаторы статуса */
.m3u-item .status {
    min-width: 100px;
    text-align: center;
}

.m3u-item .actions {
    min-width: 120px;
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

/* Кнопки действий */
.m3u-item .btn-action {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.m3u-item .btn-action:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Статусы и значки */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}

.status-active {
    background-color: #28a745;
    color: white;
}

.status-inactive {
    background-color: #dc3545;
    color: white;
}

/* Поддержка RTL */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .navbar-nav {
    padding-right: 0;
}

body.rtl .dropdown-menu {
    text-align: right;
}

body.rtl .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

body.rtl .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    main {
        margin-top: 80px;
    }

    footer {
        padding: 2rem 0;
        min-height: 120px;
    }

    .navbar-brand {
        font-size: 1.1rem;
        margin-right: 1rem;
    }

    .m3u-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .m3u-item .status,
    .m3u-item .actions {
        width: 100%;
        justify-content: center;
    }

    .m3u-item .url {
        margin: 0;
    }
}

#macAddress {
    text-transform: uppercase;
}

.badge {
    font-size: 0.9rem;
    padding: 0.5em 1em;
}

/* Активный элемент меню */
.nav-link.active {
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    width: 100%;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease-out;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Счетчики */
.countdown-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

#countdown {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Иконки для категорий M3U */
.m3u-item[data-category="sports"] .url::before {
    content: "\f1e3"; /* Font Awesome спортивный иконка */
    font-family: "Font Awesome 6 Free";
    margin-right: 0.5rem;
}

.m3u-item[data-category="movies"] .url::before {
    content: "\f008"; /* Font Awesome фильм иконка */
    font-family: "Font Awesome 6 Free";
    margin-right: 0.5rem;
}

.m3u-item[data-category="news"] .url::before {
    content: "\f1ea"; /* Font Awesome новость иконка */
    font-family: "Font Awesome 6 Free";
    margin-right: 0.5rem;
}

/* Карточки аккаунтов IBO */
.ibo-accounts {
   /*background: white;*/
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.ibo-item {
    display: flex;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    gap: 2rem;
}

.ibo-item:last-child {
    border-bottom: none;
}

.ibo-item .status {
    min-width: 150px;
    text-align: center;
}

.ibo-item .account-info {
    flex-grow: 1;
}

.ibo-item code {
    background: #f8f9fa;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.ibo-item .btn-copy {
    border: none;
    background: transparent;
    color: var(--text-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ibo-item .btn-copy:hover {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .ibo-item {
        flex-direction: column;
        gap: 1rem;
    }

    .ibo-item .status {
        width: 100%;
    }
}

/* Активный элемент меню */
.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: 500;
}

.navbar .nav-link {
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Стили для списков M3U */
.m3u-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.status-active {
    background-color: #28a745;
    color: white;
}

.status-inactive {
    background-color: #dc3545;
    color: white;
}

/* Стили для IBO Player */
.account-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.account-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Стили кнопок */
.btn {
    border-radius: 20px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-action {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Стили пагинации */
.pagination {
    margin-top: 20px;
}

.pagination .page-link {
    border-radius: 20px;
    margin: 0 2px;
    padding: 8px 16px;
    color: #007bff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

/* Уведомления */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--dark-text);
    }
    
    .card, .account-card {
        background-color: var(--dark-card);
        border: 1px solid var(--dark-border);
        color: var(--dark-text);
    }

    .m3u-item {
        background-color: var(--dark-card);
        border-color: var(--dark-border);
    }

    .m3u-item .url {
        background-color: var(--dark-input);
        color: var(--dark-text);
    }

    .account-info {
        background-color: var(--dark-input);
        color: var(--dark-text);
    }

    .input-group .form-control {
        background-color: var(--dark-input);
        border-color: var(--dark-border);
        color: var(--dark-text);
    }

    .input-group .form-control:focus {
        background-color: var(--dark-hover);
        color: var(--dark-text);
        border-color: var(--dark-primary);
    }

    .btn-action, .btn-outline-primary {
        background-color: var(--dark-input);
        border-color: var(--dark-border);
        color: var(--dark-text);
    }

    .btn-action:hover, .btn-outline-primary:hover {
        background-color: var(--dark-hover);
        color: #ffffff;
    }

    .text-muted {
        color: var(--dark-text-muted) !important;
    }

    .alert-info {
        background-color: #1a3f5c;
        border-color: #164666;
        color: var(--dark-text);
    }

    .pagination .page-link {
        background-color: var(--dark-card);
        border-color: var(--dark-border);
        color: var(--dark-text);
    }

    .pagination .page-link:hover {
        background-color: var(--dark-hover);
        color: #ffffff;
    }

    .pagination .page-item.active .page-link {
        background-color: var(--dark-primary);
        border-color: var(--dark-primary);
        color: #ffffff;
    }

    .badge.bg-success {
        background-color: var(--dark-success) !important;
        color: #ffffff;
    }

    .badge.bg-danger {
        background-color: var(--dark-danger) !important;
        color: #ffffff;
    }

    /* Навигация в темной теме */
    .navbar {
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    }

    footer {
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%) !important;
    }

    .dropdown-menu {
        background-color: var(--dark-card);
        border-color: var(--dark-border);
    }

    .dropdown-item {
        color: var(--dark-text);
    }

    .dropdown-item:hover {
        background-color: var(--dark-hover);
        color: #ffffff;
    }

    /* Эффекты наведения */
    .card:hover, .account-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        border-color: var(--dark-primary);
    }

    /* Уведомления в темной теме */
    .toast-notification {
        background-color: rgba(45, 45, 45, 0.9);
        color: var(--dark-text);
    }
}

/* ========================================
   MODERN HOMEPAGE STYLES
   ======================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-active,
.badge-monitoring {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-active {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.3) 0%, rgba(32, 201, 151, 0.3) 100%);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.badge-monitoring {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3) 0%, rgba(253, 126, 20, 0.3) 100%);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
}

.hero-visual {
    text-align: center;
}

.hero-visual i {
    font-size: 10rem;
    color: rgba(0, 212, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

/* Warning Section - New Design */
.warning-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
}

.warning-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(220, 53, 69, 0.3);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.1);
    color: #ffffff;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.warning-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.4);
    animation: warningPulse 2s infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(220, 53, 69, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(220, 53, 69, 0.6); }
}

.warning-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.warning-subtitle {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0;
}

.warning-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3a3a3a 0%, #2e2e2e 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #e0e0e0;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.warning-item:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #3e3e3e 100%);
    transform: translateX(5px);
}

/* M3U Cards - Enhanced Design */
.m3u-lists-section {
    margin-bottom: 3rem;
}

.lists-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lists-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    border: 1px solid rgba(0, 123, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: #00d4ff;
    font-weight: 600;
}

.m3u-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.m3u-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.m3u-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.m3u-card:hover::before {
    opacity: 1;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced card header */
.m3u-card .card-header {
    border: none;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

/* Status badge with pulse effect */
.status-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.active-status .status-pulse {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Enhanced URL display */
.url-container {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid #007bff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.url-label {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.url-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.url-text {
    flex: 1;
    background: transparent;
    border: none;
    color: #00d4ff;
    font-size: 0.9rem;
    word-break: break-all;
    padding: 0;
    font-weight: 500;
}

.copy-url-inline {
    min-width: 35px;
    height: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
}

.copy-url-inline:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: scale(1.05);
}

/* Card actions */
.card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-actions .btn {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.card-actions .btn:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Info cards */
.info-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #3a3a3a 0%, #2e2e2e 100%);
}

.connections-info {
    border-left: 4px solid #28a745;
}

.expiry-info {
    border-left: 4px solid #ffc107;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.connections-info .info-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3);
}

.expiry-info .info-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.25rem;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons .btn {
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.action-buttons .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.action-buttons .btn-success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.action-buttons .btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    color: white;
}

.action-buttons .btn-info:hover {
    background: linear-gradient(135deg, #117a8b 0%, #0c5460 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

/* How to Use Section */
.how-to-use-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card > * {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(400px);
    opacity: 0;
}

.toast-icon {
    font-size: 1.2rem;
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.toast-message {
    font-size: 0.85rem;
    opacity: 0.9;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.toast-close:hover {
    opacity: 1;
}

.toast.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.toast.warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
}

.toast.warning .toast-close {
    color: #212529;
}

/* Enhanced Pagination */
.pagination .page-link {
    border-radius: 20px;
    margin: 0 2px;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #3a3a3a 0%, #2e2e2e 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

/* Dark theme overrides */
.card-body {
    background: transparent;
    color: white;
}

/* Responsive Design for Modern Components */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-visual i {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .warning-header {
        flex-direction: column;
        text-align: center;
    }
    
    .warning-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .warning-title {
        font-size: 1.5rem;
    }
    
    .step-card {
        margin-bottom: 2rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .url-display {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .copy-url-inline {
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .toast-container {
        left: 20px;
        right: 20px;
        top: 20px;
    }

    .toast {
        min-width: auto;
    }
} 

/* Vulnerable Apps Section Styles (Separate Black Card) */
.vulnerable-apps-section-wrapper {
    margin: 3rem 0;
}

.vulnerable-apps-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #404040;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.vulnerable-apps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 100%);
}

.vulnerable-apps-header h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.apps-logos-container {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #404040;
}

.app-logo-card {
    background: linear-gradient(135deg, #363636 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.app-logo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.app-logo-card.danger {
    border-color: #dc2626;
    background: linear-gradient(135deg, #4c1d1d 0%, #3d1616 100%);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.app-logo-card.danger:hover {
    border-color: #ef4444;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.5);
    transform: translateY(-8px) scale(1.02);
}

.app-logo-card.warning {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #4c3d1a 0%, #3d3016 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.app-logo-card.warning:hover {
    border-color: #fbbf24;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.5);
    transform: translateY(-8px) scale(1.02);
}

.app-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: brightness(1.1);
}

.app-logo-card:hover .app-logo {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.app-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.danger-indicator,
.warning-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.danger-indicator {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid #ef4444;
}

.warning-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: 2px solid #fbbf24;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.legend {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #404040;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    margin: 0 0.75rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.danger-legend {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: 1px solid #ef4444;
}

.warning-legend {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: 1px solid #fbbf24;
}

/* Old vulnerable-apps-section styles (remove/disable) */
.vulnerable-apps-section {
    display: none; /* Hide old section */
}

/* Dark mode enhancements */
[data-bs-theme="dark"] .vulnerable-apps-card {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-color: #2d2d2d;
}

[data-bs-theme="dark"] .apps-logos-container {
    background: rgba(26, 26, 26, 0.9);
    border-color: #2d2d2d;
}

[data-bs-theme="dark"] .app-logo-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

[data-bs-theme="dark"] .app-logo-card.danger {
    background: linear-gradient(135deg, #3d1616 0%, #2d1010 100%);
}

[data-bs-theme="dark"] .app-logo-card.warning {
    background: linear-gradient(135deg, #3d3016 0%, #2d2610 100%);
}

/* Responsive design for app logos */
@media (max-width: 768px) {
    .vulnerable-apps-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .apps-logos-container {
        padding: 1.5rem;
    }
    
    .app-logo {
        width: 50px;
        height: 50px;
    }
    
    .app-name {
        font-size: 0.8rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin: 0.3rem 0.25rem;
    }
    
    .vulnerable-apps-header h5 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .danger-indicator,
    .warning-indicator {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
} 