:root {
    --bg: #0a0a0a;
    --surface: #111;
    --surface-light: #1a1a1a;
    --border: #2a2a2a;
    --text: #f0f0f0;
    --text-light: #888;
    --accent: #00a8ff;
    --danger: #ff4757;
    --success: #00d166;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 14px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    margin-bottom: 1.5rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 16px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 15px;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
}

.nav-btn:hover {
    color: var(--text);
}

.nav-btn.active {
    color: var(--accent);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

/* Main Content */
main {
    padding: 20px 0;
    min-height: calc(100vh - 140px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Page Header */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.page-header p {
    color: var(--text-light);
    font-size: 14px;
    max-width: 600px;
}

/* Card */
.card {
    background: var(--surface);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent);
    border-radius: 10px 0 0 10px;
}

/* Card variants */
.card.highlight {
    background: linear-gradient(135deg, var(--accent), #0066cc);
    border: none;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.card.highlight::before {
    display: none;
}

.card.highlight h3,
.card.highlight p,
.card.highlight code {
    color: white;
}

/* Disclaimer */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
    transform: scale(1.1);
}

.disclaimer-card {
    border-left: 3px solid #ffa502 !important;
    position: relative;
}

.disclaimer-card::before {
    display: none !important;
}

.disclaimer-card:hover {
    border-color: #ffa502;
}

.disclaimer-card .warning-icon {
    color: #ffa502;
    font-size: 18px;
    margin-top: 2px;
}

.disclaimer-card h4 {
    color: #ffa502 !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    line-height: 1;
}

.card.xbox .stat-number {
    color: #4CAF50;
}

.card.psn .stat-number {
    color: #64B5F6;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Search */
.search-container {
    margin-bottom: 20px;
}

.search-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.1);
}

.search-box i {
    color: var(--accent);
    font-size: 16px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text);
    width: 100%;
    font-size: 14px;
    outline: none;
}

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

.search-info {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}

/* Table Container */
.table-container {
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th {
    background: var(--surface-light);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: rgba(0, 168, 255, 0.03);
}

/* Tags */
.tag {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.platform {
    background: rgba(16, 124, 16, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(16, 124, 16, 0.3);
}

.discord-id {
    background: var(--surface);
    color: #b4b4b4;
    border: 1px solid var(--border)
}

.platform.psn {
    background: rgba(0, 102, 204, 0.15);
    color: #64B5F6;
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.status {
    background: rgba(0, 209, 102, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 209, 102, 0.3);
}

.status.pending {
    background: rgba(255, 165, 2, 0.15);
    color: #ffa502;
    border: 1px solid rgba(255, 165, 2, 0.3);
}

.scam-type {
    color: var(--danger);
    font-weight: 500;
    font-size: 13px;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.step-content {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

.step-content ul {
    margin: 12px 0 12px 18px;
}

.step-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
    list-style: none;
}

.step-content li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: -10px;
}

/* Email Template */
.email-template {
    background: var(--surface-light);
    border-left: 1px solid var(--accent);
}

.email-template h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-template h4 i {
    font-size: 16px;
}

.email-fields {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.email-field {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 12px;
}

.email-field .label {
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
    text-align: right;
    margin-top: 6px;
}

.email-field .value {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Courier New', monospace;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid var(--border);
}

.email-note {
    color: var(--text-light);
    font-size: 12px;
    font-style: italic;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Email Address */
.email-address {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 20px;
    display: inline-block;
    margin: 8px 0;
}

.email-address code {
    color: white;
    font-size: 16px;
    font-weight: 500;
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination button {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--accent);
    background: rgba(0, 168, 255, 0.1);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-light);
    font-size: 13px;
    margin: 0 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 36px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.empty-state p {
    font-size: 13px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    color: var(--text-light);
    font-size: 11px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    th,
    td {
        padding: 10px 12px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .step-title {
        font-size: 16px;
    }

    .email-field {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .email-field .label {
        text-align: left;
        margin-top: 0;
    }

    .email-address code {
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

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

    .nav-btn {
        font-size: 15px;
    }

    .card {
        padding: 12px;
    }

    .page-header h1 {
        font-size: 20px;
    }

    .pagination button {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}