:root {
    --bg: #050505;
    --panel: #101010;
    --panel-light: #171717;
    --gold: #d8b64d;
    --gold-light: #f3d36c;
    --text: #fff8e8;
    --muted: #aaa39a;
    --border: rgba(216, 182, 77, 0.24);
    --soft-border: rgba(255,255,255,0.08);
    --shadow: 0 30px 90px rgba(0,0,0,0.55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(216,182,77,0.18), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(216,182,77,0.12), transparent 28%),
        linear-gradient(135deg, #050505, #151006 55%, #050505);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 84px;
    padding: 0 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5,5,5,0.72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f7df91;
    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
}

.brand span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #111;
    box-shadow: 0 12px 35px rgba(216,182,77,0.35);
}

.top-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-meta span {
    color: var(--muted);
}

.top-meta a,
.search-panel button,
.gold-button {
    border: none;
    border-radius: 15px;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #111;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(216,182,77,0.28);
}

.page {
    position: relative;
    z-index: 2;
    width: min(1540px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 80px;
}

.hero {
    min-height: 420px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        radial-gradient(circle at 80% 0%, rgba(216,182,77,0.22), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.014)),
        #0f0f0f;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow,
.section-head span {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

h1 {
    margin: 12px 0 18px;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 0.92;
}

h2 {
    margin: 6px 0 0;
    font-size: 36px;
}

h3 {
    margin: 0;
}

p {
    color: var(--muted);
    line-height: 1.65;
}

.hero-content p {
    max-width: 760px;
    font-size: 18px;
}

.search-panel {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 260px auto;
    gap: 12px;
}

.search-panel input {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--soft-border);
    background: rgba(0,0,0,0.38);
    color: white;
    outline: none;
}

.custom-select {
    position: relative;
}

.select-trigger {
    width: 100%;
    height: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--soft-border);
    background: rgba(0,0,0,0.38);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.select-trigger b {
    color: var(--gold-light);
    font-size: 20px;
    transition: 0.2s ease;
}

.custom-select.open .select-trigger b {
    transform: rotate(180deg);
}

.select-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #101010;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 50;
}

.custom-select.open .select-menu {
    display: grid;
    gap: 6px;
}

.select-menu button {
    width: 100%;
    padding: 13px 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
    font-weight: 800;
}

.select-menu button:hover {
    background: rgba(216,182,77,0.14);
    color: var(--gold-light);
}

.hero-orbit {
    position: relative;
    height: 300px;
}

.orbit-card {
    position: absolute;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.36);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.orbit-card.main {
    inset: 55px 40px auto auto;
    width: 230px;
    height: 170px;
    border-radius: 30px;
    display: grid;
    place-content: center;
    text-align: center;
}

.orbit-card.main strong {
    font-size: 58px;
}

.orbit-card.main span {
    color: var(--gold-light);
    font-weight: 900;
}

.orbit-card.small {
    padding: 13px 18px;
    border-radius: 999px;
    color: var(--gold-light);
    font-weight: 900;
}

.orbit-card.one {
    top: 20px;
    left: 20px;
}

.orbit-card.two {
    right: 0;
    bottom: 22px;
}

.orbit-card.three {
    left: 35px;
    bottom: 70px;
}

.section {
    margin-top: 46px;
}

.section-head {
    margin-bottom: 20px;
}

.section-head.row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.featured-card,
.ad-card,
.app-card,
.meta-card,
.detail-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
        #101010;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.featured-card,
.ad-card,
.app-card {
    transition: 0.23s ease;
}

.featured-card:hover,
.ad-card:hover,
.app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216,182,77,0.58);
}

.featured-card {
    min-height: 280px;
    padding: 26px;
}

.featured-card img {
    width: 92px;
    height: 92px;
    border-radius: 26px;
    object-fit: cover;
    margin-bottom: 24px;
}

.shine,
.app-card-bg {
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at top right, rgba(216,182,77,0.20), transparent 38%);
    pointer-events: none;
}

.badge,
.tag-row span,
.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(216,182,77,0.12);
    border: 1px solid rgba(216,182,77,0.24);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 900;
}

.ad-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
}

.ad-card {
    min-height: 250px;
    padding: 18px;
}

.ad-card img {
    width: 100%;
    height: 130px;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 18px;
    background: #050505;
}

.ad-card:first-child {
    grid-row: span 2;
}

.ad-card:first-child img {
    height: 300px;
}

.ad-card strong,
.featured-card strong,
.card-footer strong {
    color: var(--gold-light);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

.app-card {
    min-height: 345px;
    padding: 22px;
}

.app-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.app-icon-wrap {
    width: 94px;
    height: 94px;
    padding: 8px;
    border-radius: 28px;
    background: rgba(216,182,77,0.12);
    border: 1px solid rgba(216,182,77,0.28);
}

.app-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px;
}

.app-info,
.tag-row,
.card-footer {
    position: relative;
    z-index: 2;
}

.app-info {
    margin-top: 22px;
}

.app-info h3 {
    font-size: 25px;
    margin-top: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.card-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--soft-border);
    display: flex;
    justify-content: space-between;
}

.empty {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    color: var(--muted);
}

/* Detailseite Support */
.app-hero {
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        radial-gradient(circle at 85% 0%, rgba(216,182,77,0.20), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)),
        #101010;
    box-shadow: var(--shadow);
}

.app-hero-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.app-hero-left > img {
    width: 138px;
    height: 138px;
    border-radius: 36px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.ghost-button {
    padding: 15px 24px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--soft-border);
    font-weight: 900;
}

.meta-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.meta-card {
    padding: 24px;
}

.meta-card span {
    color: var(--muted);
}

.meta-card strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 18px;
}

.showcase-item {
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: #050505;
}

.showcase-item img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
    transition: 0.25s ease;
}

.showcase-item:hover img {
    transform: scale(1.035);
}

.detail-box {
    margin-top: 34px;
    padding: 34px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(0,0,0,0.9);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 96%;
    max-height: 90vh;
    border-radius: 28px;
    border: 1px solid var(--border);
}

@media (max-width: 1100px) {
    .hero,
    .search-panel,
    .featured-grid,
    .ad-grid,
    .meta-grid {
        grid-template-columns: 1fr;
    }

    .ad-card:first-child {
        grid-row: auto;
    }

    .ad-card:first-child img {
        height: 160px;
    }

    .hero-orbit {
        display: none;
    }
}

@media (max-width: 700px) {
    .topbar {
        padding: 0 18px;
    }

    .top-meta span {
        display: none;
    }

    .page {
        width: min(100% - 28px, 1540px);
    }

    .hero {
        padding: 28px;
    }

    h1 {
        font-size: 44px;
    }

    .app-hero-left {
        flex-direction: column;
        align-items: flex-start;
    }
}