/* === GameZone PK - Dark Gaming Theme CSS === */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: #1a1a3e;
    --bg-card-hover: #222260;
    --bg-input: #15152e;
    --border-color: #2a2a5a;
    --border-hover: #3a3a7a;
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0c0;
    --text-muted: #6a6a90;
    --neon-green: #00ff88;
    --neon-blue: #0088ff;
    --neon-purple: #8800ff;
    --neon-pink: #ff0088;
    --neon-orange: #ff8800;
    --neon-red: #ff0044;
    --neon-yellow: #ffdd00;
    --gradient-main: linear-gradient(135deg, #00ff88, #0088ff);
    --gradient-card: linear-gradient(145deg, #1a1a3e, #12122a);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--neon-green); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 136, 255, 0.5); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--neon-green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }

/* === HEADER === */
.header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--neon-green);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 255, 136, 0.2);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 2px;
    white-space: nowrap;
}

.logo span { 
    -webkit-text-fill-color: var(--neon-blue);
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-normal);
    outline: none;
}

.search-input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-main);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
}

/* === HERO BANNER === */
.hero {
    background: linear-gradient(135deg, #0a0a2e 0%, #1a0a3e 50%, #0a1a2e 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 136, 255, 0.1) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

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

.hero-stat .number {
    font-size: 36px;
    font-weight: 900;
    color: var(--neon-green);
    display: block;
}

.hero-stat .label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === CATEGORY NAV === */
.categories {
    background: var(--bg-secondary);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 60px;
    z-index: 999;
}

.categories-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-inner::-webkit-scrollbar { display: none; }

.cat-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.cat-btn:hover, .cat-btn.active {
    background: var(--gradient-main);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* === GAMES GRID === */
.games-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon { font-size: 28px; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Game Card */
.game-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
}

.game-card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.game-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.game-card:hover .game-card-thumb img { transform: scale(1.1); }

.game-card-thumb .placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
}

.game-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
}

.badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new { background: var(--neon-green); color: #000; }
.badge-featured { background: var(--neon-orange); color: #000; }
.badge-hot { background: var(--neon-red); color: #fff; }

.game-card-info { padding: 14px; }

.game-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 8px;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.game-card-meta .plays { display: flex; align-items: center; gap: 4px; }
.game-card-meta .rating { color: var(--neon-yellow); }

.game-card-category {
    font-size: 11px;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* === GAME PLAYER PAGE === */
.game-player-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.game-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.game-ctrl-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-ctrl-btn:hover {
    background: var(--gradient-main);
    color: #000;
    border-color: transparent;
}

.game-info-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 20px 0;
}

.game-info-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.game-info-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.game-info-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.game-info-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.game-info-meta-item .val { color: var(--neon-green); font-weight: 700; }

/* Related Games */
.related-games {
    margin-top: 30px;
}

.related-games .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* === FOOTER === */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover { color: var(--neon-green); }

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* === LOADING === */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--neon-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
    color: var(--text-secondary);
    font-size: 16px;
}

/* === NO RESULTS === */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results .icon { font-size: 60px; margin-bottom: 15px; }
.no-results h3 { font-size: 22px; color: var(--text-secondary); margin-bottom: 10px; }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-fast);
}

.back-to-top:hover { transform: scale(1.1); }

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.page-btn:hover, .page-btn.active {
    background: var(--gradient-main);
    color: #000;
    border-color: transparent;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .logo { font-size: 22px; }
    .search-container { order: 3; max-width: 100%; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 28px; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .game-card-info { padding: 10px; }
    .game-card-title { font-size: 13px; }
    .game-card-desc { display: none; }
    .categories-inner { padding: 0 10px; }
    .cat-btn { padding: 6px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .hero { padding: 40px 15px; }
    .hero h1 { font-size: 26px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nav-links { gap: 8px; }
    .nav-links a { padding: 6px 10px; font-size: 12px; }
}

/* === ADMIN STYLES === */
.admin-body {
    background: var(--bg-primary);
    min-height: 100vh;
}

.admin-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--neon-blue);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--neon-blue);
}

.admin-header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-nav {
    padding: 15px 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(0, 136, 255, 0.1);
    color: var(--neon-blue);
    border-left-color: var(--neon-blue);
}

.admin-nav-item .nav-icon { font-size: 18px; width: 24px; text-align: center; }

.admin-content {
    margin-left: 260px;
    padding: 30px;
    min-height: calc(100vh - 60px);
}

.admin-page-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin Cards */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--neon-blue);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Admin Forms */
.admin-form-group {
    margin-bottom: 15px;
}

.admin-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    outline: none;
    font-family: var(--font-main);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.2);
}

.admin-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-form-group select {
    cursor: pointer;
}

.admin-form-group .help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Admin Buttons */
.admin-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
}

.admin-btn-primary {
    background: var(--gradient-main);
    color: #000;
    border-color: transparent;
}

.admin-btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.admin-btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
}

.admin-btn-secondary:hover {
    border-color: var(--neon-blue);
}

.admin-btn-danger {
    background: rgba(255, 0, 68, 0.2);
    color: var(--neon-red);
    border-color: var(--neon-red);
}

.admin-btn-danger:hover {
    background: var(--neon-red);
    color: #fff;
}

.admin-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.admin-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    background: var(--bg-primary);
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(0, 136, 255, 0.05);
}

.admin-table .game-title-cell {
    font-weight: 600;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table .actions-cell {
    white-space: nowrap;
}

/* Modal */
.admin-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.admin-modal-overlay.active { display: flex; }

.admin-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--neon-blue);
}

.admin-modal-close {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-close:hover { background: var(--neon-red); color: #fff; }

/* Tab System */
.admin-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    overflow-x: auto;
}

.admin-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    font-family: var(--font-main);
}

.admin-tab:hover { color: var(--text-secondary); }

.admin-tab.active {
    color: var(--neon-blue);
    border-bottom-color: var(--neon-blue);
}

/* SEO Score Bar */
.seo-score-bar {
    height: 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.seo-score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.seo-score-excellent { background: var(--neon-green); }
.seo-score-good { background: var(--neon-blue); }
.seo-score-average { background: var(--neon-orange); }
.seo-score-poor { background: var(--neon-red); }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--neon-green); color: #000; }
.toast-error { background: var(--neon-red); color: #fff; }
.toast-info { background: var(--neon-blue); color: #fff; }

/* Keyword Tag */
.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 136, 255, 0.15);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--neon-blue);
    margin: 3px;
}

.keyword-tag .remove {
    cursor: pointer;
    color: var(--neon-red);
    font-weight: bold;
}

/* AI Response Box */
.ai-response-box {
    background: var(--bg-primary);
    border: 1px solid var(--neon-purple);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin: 10px 0;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(136, 0, 255, 0.2);
    border-radius: 10px;
    font-size: 11px;
    color: var(--neon-purple);
    font-weight: 700;
}

/* Import Progress */
.import-progress {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin: 10px 0;
}

.import-progress-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.import-progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.import-status {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Code Box */
.code-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--neon-green);
    overflow-x: auto;
    position: relative;
}

.code-box .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    font-family: var(--font-main);
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; padding: 15px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 8px 6px; }
    .admin-modal { padding: 15px; }
}

/* Mobile menu toggle for admin */
.admin-mobile-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 768px) {
    .admin-mobile-toggle { display: block; }
    .admin-sidebar.mobile-open { display: block; width: 100%; position: relative; top: 0; }
}
