
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
}

header.header-small { padding: 30px 0; }

header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.subtitle { font-size: 1.2rem; opacity: 0.9; }
.date { margin-top: 10px; opacity: 0.7; font-size: 0.9rem; }
.back-link { color: white; text-decoration: none; opacity: 0.8; display: inline-block; margin-bottom: 10px; }
.back-link:hover { opacity: 1; }

nav {
    background: var(--gray-900);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
nav a { color: white; text-decoration: none; padding: 5px 15px; border-radius: 20px; transition: background 0.3s; }
nav a:hover { background: var(--primary); }

main { padding: 40px 0; }
section { margin-bottom: 60px; }
section h2 { font-size: 1.8rem; margin-bottom: 10px; color: var(--gray-900); }
.section-desc { color: var(--gray-600); margin-bottom: 20px; }

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stats-banner .stat { text-align: center; }
.stats-banner .stat-number { display: block; font-size: 2.5rem; font-weight: bold; color: var(--primary); }
.stats-banner .stat-label { color: var(--gray-600); }

/* Domain Cards */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.domain-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.domain-card.sold { opacity: 0.7; background: var(--gray-100); }

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.domain-name { font-size: 1.2rem; color: var(--primary-dark); }

.score {
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.score-high { background: #dcfce7; color: #166534; }
.score-medium { background: #fef3c7; color: #92400e; }
.score-low { background: var(--gray-100); color: var(--gray-700); }

.badges { margin-bottom: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.badge-new { background: #dbeafe; color: #1e40af; }
.badge-days { background: #fef3c7; color: #92400e; }
.badge-premium { background: #fce7f3; color: #9d174d; }
.sold-badge { background: var(--danger); color: white; padding: 5px 12px; border-radius: 20px; }

.domain-body { margin-bottom: 15px; }
.target-market { font-weight: 500; color: var(--gray-700); margin-bottom: 5px; font-size: 0.95rem; }
.reasoning { font-size: 0.85rem; color: var(--gray-600); }

.domain-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.price-container { display: flex; flex-direction: column; }
.price { font-size: 1.2rem; font-weight: bold; color: var(--success); }
.price-label { font-size: 0.65rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.profile-tag { font-size: 0.8rem; padding: 3px 10px; background: var(--gray-100); border-radius: 10px; color: var(--gray-600); }

/* Domain name as link */
a.domain-name {
    font-size: 1.2rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}
a.domain-name:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Register button */
.btn-register {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}
.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Profile Cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-800);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.profile-card:hover { transform: translateY(-3px); }
.profile-name { font-weight: 600; }
.profile-count { color: var(--gray-600); font-size: 0.9rem; }

.view-all {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover { text-decoration: underline; }

.filters { margin-bottom: 20px; }
.filters select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    font-size: 1rem;
}

footer {
    background: var(--gray-900);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p { opacity: 0.7; margin: 5px 0; }
footer .disclaimer { font-size: 0.8rem; opacity: 0.5; max-width: 600px; margin: 10px auto; font-style: italic; }

@media (max-width: 768px) {
    header h1 { font-size: 1.8rem; }
    .domains-grid { grid-template-columns: 1fr; }
    .stats-banner { flex-wrap: wrap; gap: 20px; }
    .stats-banner .stat { flex: 1 1 40%; }
    nav .container { gap: 10px; }
}
