/* WebSiteleri.tr - Professional Design */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --light: #f8fafc;
    --light-2: #e2e8f0;
    --muted: #94a3b8;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }
.logo:hover { color: var(--white); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
    color: var(--light-2);
    font-weight: 500;
    font-size: 0.938rem;
    transition: color .2s;
}
.nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.938rem;
    cursor: pointer;
    border: none;
    transition: all .2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-secondary { background: var(--white); color: var(--dark); border: 1px solid var(--light-2); }
.btn-secondary:hover { background: var(--light); color: var(--dark); }

.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.btn-google {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--light-2);
}
.btn-google:hover { background: var(--light); color: var(--dark); }

.btn .icon { width: 20px; height: 20px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
    position: relative;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Search Box */
.search-container {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    overflow: hidden;
}

.search-box .search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--muted);
    pointer-events: none;
}

.search-box input {
    flex: 1;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: none;
    font-size: 1.125rem;
    background: transparent;
    color: var(--dark);
}

.search-box input:focus { outline: none; }
.search-box input::placeholder { color: var(--muted); }

.search-box .btn {
    margin: 0.5rem;
    padding: 0.875rem 1.5rem;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

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

/* Main Content */
.main { flex: 1; padding: 4rem 0; }

/* Sections */
.section { margin-bottom: 5rem; }

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

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid var(--light-2);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.orange { background: #ffedd5; color: #ea580c; }
.feature-icon.pink { background: #fce7f3; color: #db2777; }
.feature-icon.cyan { background: #cffafe; color: #0891b2; }

.feature-card h3 {
    font-size: 1.063rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-2);
    transition: all .2s;
}

.category-card:hover {
    border-color: var(--primary);
    background: #f5f3ff;
    transform: translateX(4px);
}

.category-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.category-info h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.category-info span {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Site Cards */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.site-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid transparent;
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.site-card-img {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    overflow: hidden;
}

.site-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-favicon {
    position: absolute;
    bottom: -16px;
    left: 1rem;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 8px;
    box-shadow: var(--shadow);
}

.site-favicon img { width: 100%; height: 100%; object-fit: contain; }

.site-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.25rem;
}

.badge {
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.688rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-verified { background: var(--success); color: var(--white); }
.badge-featured { background: var(--warning); color: var(--dark); }
.badge-premium { background: linear-gradient(135deg, #8b5cf6, #d946ef); color: var(--white); }

.site-card-body {
    padding: 1.5rem 1rem 1rem;
}

.site-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-card-url {
    font-size: 0.813rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.site-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--warning);
    font-weight: 600;
    font-size: 0.875rem;
}

.site-category {
    font-size: 0.75rem;
    color: var(--primary);
    background: #f5f3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: var(--radius);
    padding: 4rem;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn { background: var(--white); color: var(--primary); }
.cta-section .btn:hover { background: var(--light); color: var(--primary); }

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { font-size: 1.75rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { color: var(--muted); font-size: 0.938rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    color: var(--light-2);
}

.footer-col a {
    display: block;
    color: var(--muted);
    margin-bottom: 0.75rem;
    font-size: 0.938rem;
    transition: color .2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--dark-3);
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--dark); }

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all .2s;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-body { padding: 1.5rem; }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.938rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* Tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--light-2); }
.table th { font-weight: 600; background: var(--light); font-size: 0.875rem; }
.table tr:hover { background: var(--light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.page-link {
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--light-2);
    color: var(--dark);
    font-weight: 500;
}
.page-link:hover { background: var(--light); }
.page-link.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--light);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--dark);
    border: 1px solid var(--light-2);
    transition: all .2s;
}
.chip:hover { background: var(--white); border-color: var(--primary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.dropdown-toggle:hover { background: rgba(255,255,255,0.1); }
.avatar { width: 36px; height: 36px; border-radius: 50%; }

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .2s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a, .dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--dark);
    background: none;
    border: none;
    font-size: 0.938rem;
    cursor: pointer;
    text-align: left;
}

.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--light); }

/* Mobile */
.menu-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all .3s; }

/* Grid utilities */
.grid { display: grid; gap: 1.5rem; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
}

.empty-state svg { width: 64px; height: 64px; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.5rem; }

/* Score circle */
.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--primary) calc(var(--score) * 1%), var(--light-2) 0);
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--white);
    border-radius: 50%;
}

.score-value { position: relative; font-size: 2rem; font-weight: 700; color: var(--dark); }
.score-grade { position: relative; font-size: 0.875rem; color: var(--muted); }

/* Utils */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.hidden { display: none; }

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

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

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--muted);
    font-size: 0.938rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.938rem;
    cursor: pointer;
    border: 1px solid var(--light-2);
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    transition: all .2s;
}

.btn-social:hover {
    background: var(--light);
    border-color: var(--muted);
    color: var(--dark);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-2);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-form input.error {
    border-color: var(--danger);
}

.error-text {
    display: block;
    color: var(--danger);
    font-size: 0.813rem;
    margin-top: 0.375rem;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--dark-3);
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-2);
}

.auth-footer p {
    color: var(--muted);
    font-size: 0.938rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

.auth-terms {
    text-align: center;
    font-size: 0.813rem;
    color: var(--muted);
    margin-top: 1.5rem;
    line-height: 1.5;
}

.auth-terms a {
    color: var(--primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #94a3b8;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: #64748b;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.page-subtitle {
    color: #94a3b8;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Site Card Styles */
.site-card {
    position: relative;
    border: 1px solid var(--light-2);
    transition: all .3s;
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.site-card .card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--light);
}

.site-favicon {
    position: absolute;
    top: 140px;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 2px solid var(--white);
    box-shadow: var(--shadow);
}

.site-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.375rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-v { background: var(--success); color: var(--white); }
.badge-f { background: var(--warning); color: var(--white); }
.badge-p { background: var(--primary); color: var(--white); }

.site-card .card-body {
    padding: 1.25rem;
    padding-top: 1.75rem;
}

.site-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.site-card .card-title a {
    color: var(--dark);
}

.site-card .card-title a:hover {
    color: var(--primary);
}

.site-card .card-text {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.site-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.813rem;
    color: var(--muted);
}

.site-rating {
    color: var(--warning);
    font-weight: 600;
}

/* Category Cards for List Pages */
.category-list-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
    transition: all .2s;
}

.category-list-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-list-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-list-card h2 a {
    color: var(--dark);
}

.category-list-card h2 a:hover {
    color: var(--primary);
}

.category-count {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted);
}

/* Grid Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Dashboard Styles */
.dashboard-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 73px);
}

.dashboard-sidebar {
    background: var(--dark);
    padding: 1.5rem;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    font-size: 0.938rem;
    transition: all .2s;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.dashboard-nav a svg {
    width: 20px;
    height: 20px;
}

.dashboard-content {
    padding: 2rem;
    background: var(--light);
}

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

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--light-2);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-card-label {
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Tool Pages */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

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

.tool-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tool-header p {
    color: var(--muted);
}

.tool-form .form-group {
    margin-bottom: 1.5rem;
}

.tool-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tool-form input[type="text"],
.tool-form input[type="url"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all .2s;
}

.tool-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Result Cards */
.result-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    margin-bottom: 1.5rem;
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-2);
    background: var(--light);
}

.result-card-title {
    font-weight: 600;
    color: var(--dark);
}

.result-card-body {
    padding: 1.5rem;
}

/* Score Display */
.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}

.score-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--score) * 3.6deg), var(--light-2) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-ring::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: var(--white);
    border-radius: 50%;
}

.score-number {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.score-label {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .sites-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-container { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: none; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 2rem; }
    .stat-value { font-size: 1.75rem; }
    .search-box { flex-direction: column; }
    .search-box input { padding: 1rem 1rem 1rem 3rem; }
    .search-box .btn { width: calc(100% - 1rem); margin: 0 0.5rem 0.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .sites-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: none; }
    .cta-section { padding: 3rem 1.5rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .page-title { font-size: 1.5rem; }
    .page-header { padding: 2rem 0; }
    .dashboard-content { padding: 1rem; }
    .tool-card { padding: 1.5rem; }
    .auth-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-inner { padding: 3rem 1rem 4rem; }
    .hero h1 { font-size: 1.75rem; }
    .categories-grid { grid-template-columns: 1fr; }
    .sites-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ===== Additional Styles for Updated Templates ===== */

/* Pagination - Updated */
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--light-2);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all .2s;
}

.pagination-link:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-active:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    border: none;
    background: transparent;
}

/* Site Card - Enhanced */
.site-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-2) 100%);
    color: var(--muted);
}

.site-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.site-card-title a {
    color: var(--dark);
    transition: color .2s;
}

.site-card-title a:hover {
    color: var(--primary);
}

.site-card-desc {
    color: var(--muted);
    font-size: 0.813rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.813rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.site-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.site-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.site-wpr {
    background: var(--light);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.site-hits {
    color: var(--muted);
}

.chip-sm {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}

/* Error Pages */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--light) 0%, #e0e7ff 100%);
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    opacity: 0.15;
    margin-bottom: -2rem;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.error-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.error-desc {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.error-suggestions {
    padding-top: 2rem;
    border-top: 1px solid var(--light-2);
}

.error-suggestions p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.error-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.error-links a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.938rem;
}

.error-links a:hover {
    text-decoration: underline;
}

/* Result Table */
.result-table {
    width: 100%;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--light-2);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--muted);
    font-size: 0.875rem;
}

.result-value {
    font-weight: 500;
    color: var(--dark);
}

/* Tool Features Grid */
.tool-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.tool-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.tool-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-feature-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.tool-feature-item p {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

/* Search Form */
.search-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input-group {
    margin-bottom: 0;
}

.search-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.search-sort select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-lg {
    text-align: center;
    padding: 2rem 1.5rem;
}

.stat-card-lg .stat-card-value {
    font-size: 2.5rem;
}

/* Leaderboard */
.stats-leaderboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.leaderboard-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    overflow: hidden;
}

.leaderboard-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--light);
    border-bottom: 1px solid var(--light-2);
}

.leaderboard-header svg {
    color: var(--primary);
}

.leaderboard-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--light-2);
}

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

.leaderboard-favicon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.leaderboard-item a {
    flex: 1;
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 500;
}

.leaderboard-item a:hover {
    color: var(--primary);
}

.leaderboard-value {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

/* Hall of Fame */
.page-header-hof {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 50%, #4c1d95 100%);
}

.hof-months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.hof-month-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.25rem;
}

.hof-month-card h3 {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-2);
}

.hof-winners {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.hof-winner-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.hof-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hof-rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: var(--white); }
.hof-rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: var(--white); }
.hof-rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: var(--white); }

.hof-winner-info {
    flex: 1;
    min-width: 0;
}

.hof-winner-info a {
    display: block;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hof-winner-info a:hover {
    color: var(--primary);
}

.hof-score {
    display: block;
    font-size: 0.688rem;
    color: var(--muted);
}

.hof-site-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-2);
}

.hof-position {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 32px;
}

.hof-site-favicon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.hof-site-info a {
    display: block;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

.hof-site-info a:hover {
    color: var(--primary);
}

.hof-wpr {
    font-size: 0.75rem;
    color: var(--muted);
}

.hof-badge-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-2);
    padding: 1rem;
}

.hof-badge-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.hof-badge-header a {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

/* Settings Page */
.settings-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-profile-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
    text-align: center;
}

.settings-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.settings-profile-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.settings-stats-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.25rem;
}

.settings-stats-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-2);
}

.settings-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.settings-stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.settings-stat-item span {
    color: var(--muted);
}

.settings-stat-item strong {
    color: var(--dark);
}

.settings-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-section {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
}

.settings-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.settings-section > p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.settings-table {
    display: flex;
    flex-direction: column;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--light-2);
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-label {
    color: var(--muted);
    font-size: 0.875rem;
}

.settings-value {
    font-weight: 500;
    color: var(--dark);
}

.settings-danger {
    border-color: #fecaca;
    background: #fef2f2;
}

.settings-danger h3 {
    color: var(--danger);
}

/* Site Card Manage */
.site-card-manage .site-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-2);
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.813rem;
    color: var(--muted);
    margin: 0;
}

/* Badge Variants */
.badge-success { background: var(--success); color: var(--white); }
.badge-warning { background: var(--warning); color: var(--dark); }
.badge-error { background: var(--danger); color: var(--white); }
.badge-primary { background: var(--primary); color: var(--white); }

/* Button Danger */
.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Verify Methods */
.verify-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.verify-method-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
    text-align: center;
}

.verify-method-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.verify-method-card p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.verify-code {
    background: var(--dark);
    color: var(--light);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.75rem;
    word-break: break-all;
    margin-bottom: 1rem;
}

/* Collection Cards */
.collection-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.25rem;
    transition: all .2s;
}

.collection-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.collection-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.collection-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.813rem;
    color: var(--muted);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light-2);
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 0.25rem;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--light-2);
}

/* Stats Table */
.stats-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    overflow: hidden;
}

.stats-table th,
.stats-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-2);
}

.stats-table th {
    background: var(--light);
    font-weight: 600;
    font-size: 0.813rem;
    color: var(--dark);
}

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

/* Banner Code */
.banner-code-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
}

.banner-code-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.banner-code {
    background: var(--dark);
    color: var(--light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.813rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Form Input Large */
.form-input-lg {
    padding: 1rem 1.25rem;
    font-size: 1.063rem;
}

/* Responsive for new components */
@media (max-width: 1024px) {
    .tool-features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-leaderboard { grid-template-columns: 1fr; }
    .hof-months-grid { grid-template-columns: repeat(2, 1fr); }
    .settings-grid { grid-template-columns: 1fr; }
    .verify-methods-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .search-form-grid { grid-template-columns: 1fr; }
    .search-form-actions { flex-direction: column; gap: 1rem; align-items: stretch; }
    .search-sort { justify-content: center; }
    .tool-features-grid { grid-template-columns: 1fr; }
    .hof-months-grid { grid-template-columns: 1fr; }
    .error-code { font-size: 5rem; }
    .error-icon { width: 100px; height: 100px; }
    .error-actions { flex-direction: column; }
}

/* ===== Tool Form Card ===== */
.tool-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-hint {
    font-size: 0.813rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.form-error {
    font-size: 0.813rem;
    color: var(--danger);
    margin-top: 0.5rem;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Tool Features Section */
.tool-features {
    margin-top: 3rem;
    text-align: center;
}

.tool-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Category List Card - Enhanced */
.category-list-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.5rem;
    transition: all .2s;
    display: block;
}

.category-list-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-list-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-list-card h2 a {
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-list-card h2 a:hover {
    color: var(--primary);
}

.category-count {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted);
}

/* City Card Styles */
.city-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light-2);
    padding: 1.25rem;
    transition: all .2s;
    display: block;
    text-decoration: none;
}

.city-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.city-card-plate {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.city-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.city-card-count {
    font-size: 0.813rem;
    color: var(--muted);
}

/* Leaderboard Empty State */
.leaderboard-empty {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Stats Page Leaderboards */
.stats-leaderboard .leaderboard-card {
    min-height: 300px;
}

/* Main Content Padding */
.main {
    flex: 1;
    padding: 3rem 0;
}

/* Section Spacing */
.section {
    margin-bottom: 3rem;
}

.section:last-child {
    margin-bottom: 0;
}

/* Grid Gap Fix */
.grid-2, .grid-3, .grid-4 {
    gap: 1.5rem;
}

/* Ensure page-header is visible */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

/* Footer spacing */
.footer {
    margin-top: 4rem;
}
