/* Domain page templates */

.dt-page {
    --dt-accent: var(--primary);
    --dt-accent-dark: var(--primary-dark);
}

/* Style 1 — Classic (uses default app.css domain-hero) */
.dt-style1 .dt-hero {
    padding: 26px 28px;
    border-radius: 18px;
}

.dt-style1 .dt-hero::before {
    border-radius: 18px;
}

/* Style 2 — Dark Lux */
.tpl-body-style2,
.dt-style2 {
    background: #0f1419;
    color: #e8ecf4;
}

.dt-style2 .dt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dt-style2 .dt-hero-dark {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 32px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 55%, #1b1508 100%);
    border: 1px solid rgba(245, 158, 11, .25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.dt-style2 .dt-hero-glow {
    position: absolute;
    inset: -40% auto auto -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, .18), transparent 70%);
    pointer-events: none;
}

.dt-style2 .dt-kicker {
    margin: 0;
    color: #d4a017;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dt-style2 .domain-head .dt-kicker {
    color: #d4a017;
}

.dt-style2 .domain-head h1 {
    position: relative;
    color: #fff;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
}

.dt-style2 .domain-head .fa-name {
    color: #9aa4b8;
}

.dt-style2 h1 {
    position: relative;
    margin: 0;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
}

.dt-style2 .dt-gold {
    color: #fbbf24 !important;
    font-size: clamp(24px, 4vw, 36px);
}

.dt-style2 .dt-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
    color: #9aa4b8;
    font-size: 13px;
    font-weight: 700;
}

.dt-style2 .offer-panel {
    background: #161b26;
    border-color: rgba(255, 255, 255, .08);
    color: #e8ecf4;
}

.dt-style2 .offer-panel label {
    color: #9aa4b8;
}

.dt-style2 input,
.dt-style2 select,
.dt-style2 textarea {
    background: #0f1419;
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

/* Style 3 — Minimal */
.dt-style3 .dt-minimal-brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.dt-style3 .dt-hero-minimal {
    padding: 48px 8px 32px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

.dt-style3 .dt-hero-minimal .domain-head h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.dt-style3 .dt-minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 520px;
    margin: 28px auto;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dt-style3 .dt-minimal-grid small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.dt-style3 .dt-minimal-grid strong {
    font-size: 18px;
}

/* Style 4 — Sunset gradient */
.dt-style4 .dt-hero-sunset {
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    border: none;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 30%, #c850c0 70%, #4158d0 100%);
    box-shadow: 0 28px 70px rgba(200, 80, 192, .28);
}

.dt-style4 .dt-sunset-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    color: #fff;
}

.dt-style4 .hero-description {
    text-align: right;
    max-width: min(760px, 100%);
}

.dt-style4 h1 {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .15);
}

.dt-style4 .fa-name,
.dt-style4 .hero-description {
    color: rgba(255, 255, 255, .92);
}

.dt-style4 .hero-price {
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
}

.dt-style4 .chips span {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}

.dt-style4 .ghost-button {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

/* Style 5 — Split layout */
.dt-style5 .dt-split-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.dt-style5 .dt-split-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef4ff, #fff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: sticky;
    top: 16px;
}

.dt-style5 .dt-split-aside .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.dt-style5 .dt-split-aside .hero-actions .ghost-button,
.dt-style5 .dt-split-aside .hero-actions .primary-button {
    width: 100%;
    justify-content: center;
}

.dt-style5 .dt-aside-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.dt-style5 .dt-split-aside h1 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 32px);
}

.dt-style5 .dt-facts {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.dt-style5 .dt-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

.dt-style5 .dt-facts span {
    color: var(--muted);
}

.dt-style5 .dt-split-main {
    display: grid;
    gap: 16px;
}

.dt-style5 .dt-split-main h2,
.dt-style5 .dt-split-main h3 {
    margin: 0 0 8px;
}

/* Sold */
.dt-sold .dt-hero.is-sold {
    text-align: center;
    padding: 48px 28px;
    filter: grayscale(.85);
    opacity: .88;
}

@media (max-width: 860px) {
    .dt-style5 .dt-split-layout {
        grid-template-columns: 1fr;
    }

    .dt-style5 .dt-split-aside {
        position: static;
    }

    .dt-style3 .dt-minimal-grid {
        grid-template-columns: 1fr;
    }
}
