:root {
    --bg-main: #0b0e14;
    --bg-surface: #131822;
    --bg-surface-hover: #19202d;
    --bg-elevated: #1e2636;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(212, 175, 55, 0.35);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-gold: #eab308;
    --accent-gold-hover: #facc15;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-emerald: #10b981;
    --danger: #ef4444;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0e14;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 48px 0 32px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Site Grid */
.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
    padding: 16px 0 64px;
}

.site-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    display: flex;
    flex-direction: column;
}

.site-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    background: var(--bg-surface-hover);
}

.card-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f131a;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.site-card:hover .card-thumb-wrap img {
    transform: scale(1.04);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.1rem;
    background: radial-gradient(circle at center, #1e2636 0%, #0f131a 100%);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s;
}

.review-link:hover {
    background: rgba(234, 179, 8, 0.2);
}

/* Promo Code Box */
.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main);
    border: 1px dashed rgba(234, 179, 8, 0.45);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.code-box:hover {
    border-color: var(--accent-gold);
    background: rgba(234, 179, 8, 0.06);
}

.code-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.code-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.copy-badge {
    font-family: inherit;
    font-size: 0.72rem;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    padding: 2px 7px;
    border-radius: 5px;
}

/* Action Buttons */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
}

.btn-join {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #0b0e14;
}

.btn-join:hover {
    background: linear-gradient(135deg, #facc15, #eab308);
    transform: translateY(-1px);
}

.btn-lifetime {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-lifetime:hover {
    background: #273145;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Detail / Review Page */
.review-wrapper {
    max-width: 860px;
    margin: 36px auto 72px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.review-hero {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.review-banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    background: #0f131a;
}

.review-header-content {
    padding: 28px;
}

.review-header-content h1 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.review-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.review-cta-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}

@media (max-width: 680px) {
    .review-cta-bar {
        grid-template-columns: 1fr;
    }
}

.review-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.review-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-gold);
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-primary);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
    font-weight: 800;
}

.review-article {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.85;
    white-space: pre-line;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9999;
    background: rgba(20, 27, 38, 0.96);
    color: #f8fafc;
    border: 1px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 28px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}