/* GameTown – Docker-Pools, Empfehlungen, Spielseiten */

:root {
    --gt-accent: #a0ce4e;
    --gt-yellow: #fdd700;
    --gt-dark: #15212a;
    --gt-dark-2: #1d262f;
    --gt-muted: #6c7a86;
    --gt-line: rgba(255, 255, 255, .12);
    --gt-radius: 10px;
}

/* Sprache */
.gt-lang .btn.active { background-color: var(--gt-accent); border-color: var(--gt-accent); color: #fff; }
.gt-nav-logo { object-fit: contain; background: var(--gt-dark); border-radius: 8px; padding: 4px; }

/* Pool-Badges */
.gt-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gt-badge--lite { background: #e7f3d3; color: #4c6b16; }
.gt-badge--plus { background: #fff4b3; color: #6b5800; }
.gt-badge--soon { background: #e5e8eb; color: #5b6670; }

/* Pool-Karten (dunkle Sektion) */
.gt-pools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 30px; margin-top: 40px; }
.gt-pool { background: var(--gt-dark-2); border: 1px solid var(--gt-line); border-radius: var(--gt-radius); padding: 32px; color: #cfd8df; display: flex; flex-direction: column; text-align: left; }
.gt-pool--plus { border-color: rgba(253, 215, 0, .45); }
.gt-pool__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gt-pool__name { color: #fff; font-size: 26px; font-weight: 700; margin: 0; }
.gt-pool__tagline { color: var(--gt-accent); font-weight: 600; margin: 4px 0 14px; }
.gt-pool--plus .gt-pool__tagline { color: var(--gt-yellow); }
.gt-pool__desc { font-size: 15px; line-height: 1.7; }
.gt-pool__facts { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--gt-line); }
.gt-pool__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--gt-line); font-size: 14px; }
.gt-pool__facts span:first-child { color: #8d9aa5; }
.gt-pool__facts span:last-child { color: #fff; text-align: right; }
.gt-pool__price { margin-top: auto; padding-top: 10px; color: #fff; }
.gt-pool__price strong { font-size: 30px; }
.gt-pool__price small { color: #8d9aa5; }
.gt-pool__soon { margin-top: auto; padding: 14px 16px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 14px; }

/* Angebotsraster */
.gt-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 24px; margin-top: 30px; }
.gt-offer { background: #fff; border-radius: var(--gt-radius); padding: 26px 24px; box-shadow: 0 6px 24px rgba(21, 33, 42, .08); display: flex; flex-direction: column; text-align: left; }
.gt-offer__name { font-size: 19px; font-weight: 700; color: var(--gt-dark); margin: 8px 0 4px; }
.gt-offer__loc { font-size: 13px; color: var(--gt-muted); }
.gt-offer__price { margin: 16px 0 2px; color: var(--gt-dark); }
.gt-offer__price strong { font-size: 28px; }
.gt-offer__price span { color: var(--gt-muted); font-size: 14px; }
.gt-offer__setup { font-size: 12px; color: var(--gt-muted); }
.gt-offer__specs { list-style: none; padding: 0; margin: 16px 0 20px; }
.gt-offer__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef0f2; font-size: 14px; }
.gt-offer__specs li span:first-child { color: var(--gt-muted); }
.gt-offer__specs li span:last-child { font-weight: 600; color: var(--gt-dark); }
.gt-offer .btn { margin-top: auto; }
.gt-pool-section + .gt-pool-section { margin-top: 60px; }
.gt-pool-section__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gt-pool-section__title h3 { margin: 0; }

/* So funktioniert ein Pool */
.gt-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; margin-top: 30px; text-align: left; }
.gt-how__item { background: #fff; border-radius: var(--gt-radius); padding: 24px; }
.gt-how__item i { font-size: 26px; color: var(--gt-accent); margin-bottom: 12px; }
.gt-how__item h5 { font-weight: 700; }
.gt-how__item p { font-size: 15px; line-height: 1.7; color: #5b6670; margin: 0; }

.gt-example { margin-top: 30px; background: var(--gt-dark); border-radius: var(--gt-radius); padding: 28px; color: #cfd8df; text-align: left; }
.gt-example h5 { color: #fff; font-weight: 700; }
.gt-example__bar { display: flex; height: 44px; border-radius: 8px; overflow: hidden; margin: 18px 0 10px; background: rgba(255, 255, 255, .06); }
.gt-example__seg { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--gt-dark); }
.gt-example__seg--a { background: var(--gt-accent); }
.gt-example__seg--b { background: var(--gt-yellow); }
.gt-example__waiting { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 8px; font-size: 13px; }

/* Spielauswahl / Kacheln */
.gt-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 18px; margin-top: 30px; }
.gt-game { position: relative; display: block; min-height: 220px; border-radius: var(--gt-radius); overflow: hidden; background: var(--gt-dark-2) center / cover no-repeat; color: #fff !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.gt-game::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 22, .1) 20%, rgba(10, 16, 22, .92) 100%); }
.gt-game:hover, .gt-game:focus { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.gt-game__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 1; text-align: left; }
.gt-game__logo { height: 42px; width: auto; max-width: 70%; object-fit: contain; margin-bottom: 10px; }
.gt-game__icon { font-size: 34px; color: var(--gt-accent); margin-bottom: 10px; }
.gt-game__name { font-size: 18px; font-weight: 700; display: block; }
.gt-game__meta { font-size: 13px; color: #cfd8df; display: block; margin-top: 4px; }
.gt-game--more { background: linear-gradient(135deg, var(--gt-dark) 0%, #24323d 100%); }

/* Spielseite */
/* Trailer füllen den Kopfbereich unabhängig vom Seitenverhältnis (z. B. Enshrouded 2,4:1) */
.top-header.itemtrailer .itemtrailer_video { top: 0; left: 0; width: 100%; height: 100%; min-width: 0; object-fit: cover; object-position: center; }
.gt-hero-image { background: var(--gt-dark) center / cover no-repeat; }
.gt-hero-logo { height: 64px; width: auto; margin-right: 16px; vertical-align: middle; }
.gt-reco { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; margin-top: 30px; }
.gt-reco__card { background: #fff; border-radius: var(--gt-radius); padding: 26px; box-shadow: 0 6px 24px rgba(21, 33, 42, .08); display: flex; flex-direction: column; text-align: left; border-top: 4px solid var(--gt-accent); }
.gt-reco__card--plus { border-top-color: var(--gt-yellow); }
.gt-reco__img { height: 46px; width: auto; max-width: 100%; object-fit: contain; object-position: left; margin-bottom: 12px; }
.gt-reco__title { font-size: 19px; font-weight: 700; color: var(--gt-dark); margin: 10px 0 6px; }
.gt-reco__text { font-size: 14px; line-height: 1.7; color: #5b6670; }
.gt-reco__rows { list-style: none; padding: 0; margin: 10px 0 16px; }
.gt-reco__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef0f2; font-size: 14px; }
.gt-reco__rows li span:first-child { color: var(--gt-muted); }
.gt-reco__rows li span:last-child { font-weight: 600; color: var(--gt-dark); text-align: right; }
.gt-reco__why { font-size: 13px; color: var(--gt-muted); margin-bottom: 16px; }
.gt-reco__offer { margin-top: auto; padding-top: 14px; border-top: 1px solid #eef0f2; }
.gt-reco__offer-name { font-weight: 700; color: var(--gt-dark); }
.gt-reco__offer-price { font-size: 22px; font-weight: 700; color: var(--gt-dark); }
.gt-reco__offer-price small { font-size: 13px; color: var(--gt-muted); font-weight: 400; }
.gt-reco__offer .btn { margin-top: 12px; width: 100%; }
.gt-reco__none { font-size: 14px; color: var(--gt-muted); }

.gt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-top: 30px; }
.gt-gallery a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.gt-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gt-gallery a:hover img { transform: scale(1.05); }

/* Vergleichstabelle */
.gt-compare { width: 100%; margin-top: 30px; border-collapse: collapse; background: #fff; border-radius: var(--gt-radius); overflow: hidden; text-align: left; }
.gt-compare th, .gt-compare td { padding: 14px 18px; border-bottom: 1px solid #eef0f2; font-size: 15px; vertical-align: top; }
.gt-compare thead th { background: var(--gt-dark); color: #fff; }
.gt-compare tbody th { color: var(--gt-muted); font-weight: 600; width: 28%; }
.gt-stars i { color: var(--gt-accent); }
.gt-stars i.off { color: #d5dadf; }

/* Feature-Leiste */
.gt-features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1199px) { .gt-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .gt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gt-feature { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--gt-dark); text-align: left; }
.gt-feature i { font-size: 22px; color: var(--gt-accent); width: 28px; text-align: center; }

/* Kundenbereich */
.gt-account-head { padding-top: 150px; padding-bottom: 36px; }
.gt-account-head__row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.gt-account-head__hello { color: var(--gt-accent); font-weight: 600; }
.gt-account-head__title { font-size: 34px; margin: 4px 0 0; color: #fff; }
.gt-account-head__credit { display: flex; flex-direction: column; align-items: flex-end; padding: 10px 18px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none !important; }
.gt-account-head__credit span { font-size: 12px; color: #cfd8df; text-transform: uppercase; letter-spacing: .05em; }
.gt-account-head__credit strong { font-size: 22px; }
.gt-account-nav { background: var(--gt-dark); border-top: 1px solid rgba(255, 255, 255, .06); }
.gt-account-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.gt-account-nav a { display: flex; align-items: center; gap: 8px; padding: 14px 16px; color: #cfd8df; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; }
.gt-account-nav a:hover { color: #fff; }
.gt-account-nav a.is-active { color: #fff; border-bottom-color: var(--gt-accent); }
.gt-account-nav__end { margin-left: auto; }
.gt-account { padding: 40px 0 80px; min-height: 50vh; text-align: left; }

.gt-card { background: #fff; border-radius: var(--gt-radius); padding: 24px; box-shadow: 0 6px 24px rgba(21, 33, 42, .06); margin-bottom: 24px; }
.gt-card--narrow { max-width: 720px; }
.gt-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.gt-card__head h2 { font-size: 20px; font-weight: 700; color: var(--gt-dark); margin: 0; }
.gt-card .btn-sm { padding: 6px 14px; font-size: 13px; }

.gt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 18px; margin-bottom: 24px; }
.gt-stat { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border-radius: var(--gt-radius); padding: 18px 20px; box-shadow: 0 6px 24px rgba(21, 33, 42, .06); color: var(--gt-dark) !important; text-decoration: none !important; }
.gt-stat i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: #eef6e2; color: var(--gt-accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.gt-stat strong { font-size: 22px; line-height: 1.1; }
.gt-stat span { font-size: 13px; color: var(--gt-muted); }

.gt-account-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.gt-account-grid > .gt-card { margin-bottom: 0; }
.gt-account-grid--panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.gt-list { list-style: none; margin: 0; padding: 0; }
.gt-list__item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #eef0f2; flex-wrap: wrap; }
.gt-list__item:first-child { border-top: 0; padding-top: 0; }
.gt-list__main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 260px; }
.gt-list__title { font-weight: 700; color: var(--gt-dark); }
a.gt-list__title:hover { color: var(--gt-accent); }
.gt-list__sub { font-size: 13px; color: var(--gt-muted); }
.gt-list__side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gt-list__side--stack { flex-direction: column; align-items: flex-end; gap: 2px; }
.gt-list--compact .gt-list__item { padding: 10px 0; flex-wrap: nowrap; }
.gt-list--compact .gt-list__main { flex: 1 1 0; }
.gt-list--compact .gt-list__side { flex: 0 0 auto; }
.gt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.gt-pill--ok { background: #e7f3d3; color: #4c6b16; }
.gt-pill--bad { background: #fde3e3; color: #a32121; }
.gt-plus { color: #4c8a1c; }
.gt-minus { color: #c0392b; }
.gt-empty { text-align: center; padding: 30px 10px; color: var(--gt-muted); }
.gt-empty i { font-size: 32px; color: #c9d1d8; margin-bottom: 10px; }
.gt-back { font-size: 14px; color: var(--gt-muted); }
.gt-back:hover { color: var(--gt-dark); }

.gt-facts { list-style: none; margin: 0 0 16px; padding: 0; }
.gt-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eef0f2; font-size: 15px; }
.gt-facts li span { color: var(--gt-muted); }
.gt-facts li strong { color: var(--gt-dark); text-align: right; }
.gt-facts__total strong { font-size: 20px; }
.gt-facts li strong.gt-minus { color: #c0392b; }

.gt-panel-card { text-align: center; }
.gt-panel-card__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #eef6e2; color: var(--gt-accent); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.gt-panel-card p { color: var(--gt-muted); }
.gt-panel-card__hint { font-size: 13px; margin-top: 12px; }

.gt-section-head { margin-bottom: 20px; }
.gt-section-head h2 { font-size: 24px; font-weight: 700; color: var(--gt-dark); margin-bottom: 4px; }
.gt-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.gt-cat { display: flex; flex-direction: column; margin: 0; color: var(--gt-dark) !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.gt-cat:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(21, 33, 42, .12); }
.gt-cat h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.gt-cat p { font-size: 14px; color: var(--gt-muted); flex: 1; }
.gt-cat__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; }
.gt-cat__go { color: var(--gt-accent); font-weight: 700; white-space: nowrap; }
.gt-cat__foot strong { white-space: nowrap; }

.gt-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.gt-summary { position: sticky; top: 100px; }
.gt-summary__hint { font-size: 12px; color: var(--gt-muted); margin: 12px 0 0; }
.gt-spec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 10px; }
.gt-spec-grid li { background: #f5f7f8; border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; }
.gt-spec-grid span { font-size: 12px; color: var(--gt-muted); }
.gt-spec-grid strong { color: var(--gt-dark); }
.gt-note { background: #fff8db; border-radius: 8px; padding: 12px 14px; font-size: 14px; color: #6b5800; }

.gt-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.gt-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.gt-field label { font-weight: 600; font-size: 14px; color: var(--gt-dark); margin-bottom: 6px; }
.gt-input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #d5dadf; border-radius: 8px; background: #fff; font-size: 15px; color: var(--gt-dark); }
.gt-input:focus { outline: none; border-color: var(--gt-accent); box-shadow: 0 0 0 3px rgba(160, 206, 78, .25); }
textarea.gt-input { min-height: 90px; }
.gt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #44515c; margin: 6px 0; cursor: pointer; }
.gt-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--gt-accent); }
.gt-error { color: #c0392b; margin-top: 4px; }
.gt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#btnCompleteOrder:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 991px) {
    .gt-account-grid, .gt-account-grid--panel, .gt-checkout { grid-template-columns: 1fr; }
    .gt-summary { position: static; }
}

/* Login: zweiter Schritt (2FA) */
.gt-mfa { max-width: 640px; margin: 0 auto; text-align: left; }
.gt-mfa__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.gt-mfa__icon { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #eef6e2; color: var(--gt-accent); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.gt-mfa__label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--gt-dark); }
.gt-mfa__row { display: flex; gap: 12px; flex-wrap: wrap; }
.gt-mfa__row .btn { margin: 0; }
.gt-mfa__code { flex: 1 1 220px; height: 52px; padding: 0 18px; border: 1px solid #d5dadf; border-radius: 26px; font-size: 22px; letter-spacing: .35em; font-family: monospace; color: var(--gt-dark); }
.gt-mfa__code:focus { outline: none; border-color: var(--gt-accent); box-shadow: 0 0 0 3px rgba(160, 206, 78, .25); }
.gt-mfa__actions { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid #eef0f2; font-size: 14px; }
.gt-mfa__actions form { margin: 0; }
.gt-mfa__link { background: none; border: 0; padding: 0; color: var(--gt-muted); font-size: 14px; cursor: pointer; text-decoration: none; }
.gt-mfa__link:hover, .gt-mfa__link:focus { color: var(--gt-dark); text-decoration: underline; }
.gt-mfa__cancel { margin-left: auto; }

/* Webpanel-Galerie Startseite */
.gt-shot-caption { padding: 12px 4px 40px; font-size: 14px; color: var(--gt-muted); text-align: center; }
#carouselExampleControls .carousel-item img { height: auto; aspect-ratio: 1920 / 1300; object-fit: cover; object-position: top left; border-radius: 8px; box-shadow: 0 10px 30px rgba(21, 33, 42, .18); }
#carouselExampleControls .carousel-control-prev, #carouselExampleControls .carousel-control-next { filter: invert(1) brightness(.4); width: 8%; }

/* vServer-Banner mit Rechenzentrums-Animation */
.gt-dc { background: #0b1015; min-height: 560px; display: flex; align-items: center; }
.gt-dc__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gt-dc .container { position: relative; z-index: 1; }
.gt-dc .subheding { color: #cfd8df; }

@media (max-width: 767px) {
    .top-header { padding-top: 175px; }
    .gt-game { min-height: 170px; }
}

@media (max-width: 575px) {
    .gt-pool { padding: 24px; }
    .gt-pools, .gt-offers, .gt-reco { grid-template-columns: 1fr; }
    .gt-compare th, .gt-compare td { padding: 10px; font-size: 14px; }
    .gt-hero-logo { height: 44px; }
}
