/**
 * Landing Page (Home) - Modern Dark Pro
 * หน้าแรกแบบเรียบ (เมนู สี ฟอนต์ อยู่ใน theme.css)
 */

.lp-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========== Event slider ========== */

/* Top row: welcome text + slider share one screen */
.lp-top {
    padding-top: 100px;
    padding-bottom: 32px;
}

.lp-top.has-slider .lp-hero {
    padding-top: 28px;
}

@media (min-width: 992px) {
    .lp-top.has-slider {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 48px;
        align-items: center;
        padding-top: 108px;
    }

    .lp-top.has-slider .lp-hero {
        order: 1;
        padding-top: 0;
        text-align: left;
    }

    .lp-top.has-slider .lp-slider { order: 2; }
    .lp-top.has-slider .lp-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
    .lp-top.has-slider .lp-tagline { margin-left: 0; }
    .lp-top.has-slider .lp-cta { justify-content: flex-start; }
}

/* ========== Hero ========== */

.lp-hero {
    text-align: center;
    padding-top: 40px;
}

.lp-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
}

.lp-status.online { color: var(--vg-success); }
.lp-status.offline { color: var(--vg-danger); }

.lp-status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.lp-title {
    margin: 20px 0 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
}

.lp-title span { color: var(--vg-accent); }

.lp-tagline {
    margin: 16px auto 0;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vg-muted);
}

.lp-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--vg-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--vg-text);
    background: var(--vg-surface);
    border: 1px solid var(--vg-border-strong);
    transition: background-color 0.12s ease, border-color 0.12s ease;
    cursor: pointer;
}

.lp-btn i { font-size: 13px; color: var(--vg-muted); }
.lp-btn:hover { background: var(--vg-surface-2); color: #fff; }

.lp-btn-primary {
    background: var(--vg-accent);
    border-color: var(--vg-accent);
    color: var(--vg-on-accent);
    font-weight: 600;
}

.lp-btn-primary i { color: inherit; }
.lp-btn-primary:hover { background: var(--vg-accent-hi); border-color: var(--vg-accent-hi); color: var(--vg-on-accent); }

/* Secondary CTA in gold outline */
.lp-cta .lp-btn:not(.lp-btn-primary):not(.disabled) {
    color: var(--vg-gold);
    background: transparent;
    border-color: var(--vg-gold-line);
}

.lp-cta .lp-btn:not(.lp-btn-primary):not(.disabled) i { color: inherit; }
.lp-cta .lp-btn:not(.lp-btn-primary):not(.disabled):hover { background: var(--vg-gold-soft); color: var(--vg-gold); }

.lp-btn.disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== Stats ========== */

.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 48px;
}

.lp-stat {
    padding: 18px 20px;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius);
}

.lp-stat-label {
    font-size: 13px;
    color: var(--vg-muted);
}

.lp-stat-value {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

/* ========== Sections ========== */

.lp-section { padding-bottom: 56px; }

.lp-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.lp-heading h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.lp-heading span {
    font-size: 13px;
    color: var(--vg-faint);
}

/* Feature cards */
.lp-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.lp-feature {
    display: block;
    padding: 20px;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius);
    text-decoration: none;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}

.lp-feature:hover {
    border-color: var(--vg-border-strong);
    background: var(--vg-surface-2);
}

.lp-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--vg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--vg-accent);
    background: var(--vg-surface-2);
    border: 1px solid var(--vg-border);
}

.lp-feature h3 {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.lp-feature p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--vg-faint);
}

/* Steps */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lp-step {
    padding: 20px;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius);
}

.lp-step-num {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vg-accent);
}

.lp-step h3 {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.lp-step p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--vg-faint);
}

.lp-step a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--vg-accent-hi);
    text-decoration: none;
}

.lp-step a i { font-size: 11px; }
.lp-step a:hover { text-decoration: underline; }

/* Banned list */
.lp-banned-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.lp-banned {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius);
}

.lp-banned img {
    width: 36px;
    height: 36px;
    border-radius: var(--vg-radius-sm);
    object-fit: cover;
    background: var(--vg-surface-2);
}

.lp-banned-info { min-width: 0; }

.lp-banned-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--vg-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-banned-tag {
    display: inline-block;
    margin-top: 2px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.lp-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    font-size: 13.5px;
    color: var(--vg-faint);
    border: 1px dashed var(--vg-border-strong);
    border-radius: var(--vg-radius);
}

.lp-secure-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--vg-faint);
}

.lp-secure-note i { color: var(--vg-success); margin-right: 6px; }

/* ========== Responsive ========== */

@media (max-width: 768px) {
    .lp-top { padding-top: 76px; padding-bottom: 28px; }
    .lp-hero { padding-top: 24px; }
    .lp-top.has-slider .lp-hero { padding-top: 20px; }
    .lp-stats { gap: 8px; }
    .lp-stat { padding: 14px 12px; }
    .lp-stat-value { font-size: 18px; }
    .lp-stat-label { font-size: 12px; }
    .lp-steps { grid-template-columns: 1fr; }
}
