/* ============================================================
   Golf Post Homepage 2026 — v4 App-Aligned Design
   Aligned with Flutter App (beta-app.golfpost.de)
   ============================================================ */

/* -- Design Tokens (synced with app) -- */
:root {
    --gp-green: #2B7860;
    --gp-green-light: #04AE79;
    --gp-green-tint: rgba(43,120,96,0.08);
    --gp-dark: #1a1a1a;
    --gp-red: #EE3F34;
    --gp-gold: #FACD1D;
    --gp-gold-dark: #FFB300;
    --gp-blue: #1565C0;
    --gp-purple: #6A1B9A;
    --gp-teal: #00838F;
    --gp-orange: #EF6C00;
    --gp-border: #EEEEEE;
    --gp-border-light: #F0F0F0;
    --gp-bg: #FAFAFA;
    --gp-bg-card: #FFFFFF;
    --gp-bg-muted: #F5F5F5;
    --gp-bg-highlight: #fffde7;
    --gp-text: #1A1A1A;
    --gp-text-secondary: #666;
    --gp-text-muted: #888;
    --gp-text-faint: #AAAAAA;
    --gp-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gp-radius: 16px;
    --gp-radius-sm: 12px;
    --gp-radius-xs: 8px;
    --gp-radius-pill: 20px;
    --gp-max-width: 1280px;
    --gp-transition: 0.2s ease;
    --gp-shadow: 0 1px 8px rgba(0,0,0,0.06);
    --gp-shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --gp-bottom-nav-height: 56px;
}

/* -- Base -- */
.gp-homepage {
    font-family: var(--gp-font);
    color: var(--gp-text);
    background: var(--gp-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: calc(var(--gp-bottom-nav-height) + 8px);
}

.gp-homepage *, .gp-homepage *::before, .gp-homepage *::after { box-sizing: border-box; }
.gp-homepage a { color: var(--gp-green); text-decoration: none; }
.gp-homepage img { max-width: 100%; }

/* -- Wrap / Section -- */
.gp-wrap {
    max-width: var(--gp-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.gp-homepage section {
    padding: 0;
    max-width: var(--gp-max-width);
    margin: 0 auto 20px;
}

.gp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 16px;
}

.gp-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--gp-text);
    letter-spacing: -0.3px;
}

.gp-section-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-green);
    white-space: nowrap;
}

.gp-card {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: var(--gp-shadow);
}

/* ============================================================
   SITE HEADER — Compact Single Row (app-aligned)
   ============================================================ */
.gp-site-header {
    background: var(--gp-bg-card);
    position: sticky;
    top: 0;
    z-index: 250;
    box-shadow: 0 1px 0 var(--gp-border);
}

.gp-header-top {
    max-width: var(--gp-max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.gp-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gp-header-logo img {
    height: 22px;
    width: auto;
    display: block;
}

/* Edition Toggle — Modern Pill Switcher */
.gp-edition-toggle {
    display: flex;
    background: var(--gp-bg-muted);
    border-radius: var(--gp-radius-pill);
    padding: 2px;
    gap: 0;
    margin-left: 12px;
}

.gp-edition-toggle__opt {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gp-text-muted);
    border-radius: var(--gp-radius-pill);
    cursor: pointer;
    transition: all var(--gp-transition);
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background: none;
    font-family: var(--gp-font);
    line-height: 1.4;
}

.gp-edition-toggle__opt--active {
    background: var(--gp-bg-card);
    color: var(--gp-text);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Header Right Actions */
.gp-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-header-search-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gp-bg-muted);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gp-text-secondary);
    transition: background var(--gp-transition);
}

.gp-header-search-btn:hover { background: var(--gp-border); }

.gp-header-login-btn {
    padding: 6px 14px;
    border-radius: var(--gp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--gp-font);
    background: var(--gp-bg-muted);
    color: var(--gp-text);
    border: 1px solid var(--gp-border);
    transition: all var(--gp-transition);
}

.gp-header-login-btn:hover { border-color: var(--gp-green); color: var(--gp-green); }

.gp-header-premium-btn {
    padding: 6px 14px;
    border-radius: var(--gp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--gp-font);
    background: linear-gradient(135deg, #FFB300, #FFD54F);
    color: var(--gp-dark);
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Desktop Navigation Bar */
.gp-nav-bar {
    max-width: var(--gp-max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: none;
    align-items: center;
    gap: 0;
    border-top: 1px solid var(--gp-border-light);
}

.gp-nav-item {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--gp-transition);
}

.gp-nav-item:hover { color: var(--gp-green); }
.gp-nav-item--premium { color: var(--gp-gold-dark); font-weight: 600; }
.gp-nav-item--live { gap: 6px; }

/* ============================================================
   MOBILE BOTTOM NAVIGATION (app-aligned: 5 tabs)
   ============================================================ */
.gp-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--gp-bottom-nav-height);
    background: var(--gp-bg-card);
    border-top: 1px solid var(--gp-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 300;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.gp-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #BDBDBD;
    font-size: 10px;
    font-weight: 400;
    padding: 6px 0;
    min-width: 56px;
    transition: color var(--gp-transition);
    -webkit-tap-highlight-color: transparent;
}

.gp-bottom-nav__item--active {
    color: var(--gp-green);
    font-weight: 600;
}

.gp-bottom-nav__item svg {
    width: 22px;
    height: 22px;
}

.gp-bottom-nav__item span {
    font-size: 10px;
    line-height: 1;
}

/* ============================================================
   LIVE DOT (pulse animation)
   ============================================================ */
@keyframes gp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.gp-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gp-red);
    animation: gp-pulse 1.5s infinite;
    display: inline-block;
}

/* ============================================================
   PROMO BAR (Contest / Gewinnspiel)
   ============================================================ */
.gp-promo-bar {
    background: linear-gradient(135deg, var(--gp-red), #ff6659);
    border-radius: var(--gp-radius);
    padding: 12px 16px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    text-decoration: none;
}

.gp-promo-bar__text h4 { font-size: 14px; font-weight: 700; margin: 0; }
.gp-promo-bar__text p { font-size: 11px; opacity: 0.9; margin: 2px 0 0; }

.gp-promo-bar__btn {
    background: white;
    color: var(--gp-red);
    padding: 6px 14px;
    border-radius: var(--gp-radius-xs);
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;
}

/* ============================================================
   STORIES CAROUSEL
   ============================================================ */
.gp-stories {
    padding: 10px 16px 6px;
    background: var(--gp-bg-card);
    border-bottom: 1px solid var(--gp-border);
    max-width: var(--gp-max-width);
    margin: 0 auto;
}

.gp-stories__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 6px;
}

.gp-stories__track::-webkit-scrollbar { display: none; }

.gp-stories__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--gp-font);
}

.gp-stories__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gp-border);
    transition: transform var(--gp-transition);
}

.gp-stories__group--unviewed .gp-stories__ring {
    background: linear-gradient(135deg, var(--gp-green), var(--gp-green-light), var(--gp-green));
}

.gp-stories__group:hover .gp-stories__ring { transform: scale(1.06); }

.gp-stories__thumb {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gp-bg-card);
    background: #eee;
}

.gp-stories__label {
    font-size: 10px;
    font-weight: 500;
    color: var(--gp-text-muted);
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* ============================================================
   HERO GRID (v4: cleaner, taller on mobile)
   ============================================================ */
.gp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 16px;
}

.gp-hero-main {
    border-radius: var(--gp-radius);
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.gp-hero-main__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gp-hero-main__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.gp-hero-main__content {
    position: relative;
    padding: 16px;
    color: white;
    width: 100%;
}

.gp-hero-main__cat {
    font-size: 10px;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gp-hero-main__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-hero-main__meta {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.gp-hero-side {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.gp-hero-side-card {
    flex: 1;
    border-radius: var(--gp-radius);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    text-decoration: none;
}

.gp-hero-side-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gp-hero-side-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.gp-hero-side-card__content {
    position: relative;
    color: white;
    padding: 12px;
}

.gp-hero-side-card__cat {
    font-size: 9px;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gp-hero-side-card__title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   QUICK LINKS — Horizontal Pill Row (replaces category grid)
   ============================================================ */
.gp-quick-links {
    padding: 0 16px;
    margin-bottom: 16px;
}

.gp-quick-links__track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.gp-quick-links__track::-webkit-scrollbar { display: none; }

.gp-quick-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gp-bg-card);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--gp-text);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--gp-transition);
}

.gp-quick-link:hover {
    border-color: var(--gp-green);
    color: var(--gp-green);
}

.gp-quick-link__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.gp-quick-link__icon--live { background: #FFEBEE; color: var(--gp-red); }
.gp-quick-link__icon--news { background: var(--gp-green-tint); color: var(--gp-green); }
.gp-quick-link__icon--eq { background: #F3E5F5; color: var(--gp-purple); }
.gp-quick-link__icon--train { background: #E0F7FA; color: var(--gp-teal); }
.gp-quick-link__icon--clubs { background: #E8F5E9; color: var(--gp-green); }
.gp-quick-link__icon--travel { background: #FFF3E0; color: var(--gp-orange); }
.gp-quick-link__icon--rules { background: #E3F2FD; color: var(--gp-blue); }
.gp-quick-link__icon--tv { background: #EDE7F6; color: var(--gp-purple); }
.gp-quick-link__icon--premium { background: #FFF8E1; color: var(--gp-gold-dark); }

/* ============================================================
   LIVE SCORES — Horizontal Scroll Cards
   ============================================================ */
.gp-live-section { margin-bottom: 20px; }

.gp-live-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gp-live-scroll::-webkit-scrollbar { display: none; }

.gp-live-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--gp-shadow);
}

.gp-live-card__header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gp-dark);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.gp-tour-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

.gp-tour-badge--pga { background: #003865; }
.gp-tour-badge--dp { background: #00205B; }
.gp-tour-badge--liv { background: #E4002B; }
.gp-tour-badge--lpga { background: #003087; }
.gp-tour-badge--let { background: #6B2D7B; }

.gp-live-card__title { padding: 8px 12px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--gp-border-light); }
.gp-live-card__sub { padding: 0 12px 4px; font-size: 10px; color: var(--gp-text-muted); }

.gp-live-card__row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 11px;
}

.gp-live-card__row:last-child { padding-bottom: 6px; }
.gp-live-card__pos { width: 22px; font-weight: 700; color: #333; }
.gp-live-card__flag { font-size: 13px; }
.gp-live-card__name { flex: 1; }
.gp-live-card__name--dach { font-weight: 600; }
.gp-live-card__score { font-weight: 700; }
.gp-live-card__score--under { color: #C62828; }
.gp-live-card__score--over { color: var(--gp-blue); }
.gp-live-card__score--even { color: #757575; }
.gp-live-card__row--highlight { background: var(--gp-bg-highlight); }

.gp-live-card__footer {
    padding: 6px 12px;
    text-align: center;
    background: var(--gp-bg-muted);
    border-top: 1px solid var(--gp-border-light);
}

.gp-live-card__footer a { font-size: 11px; color: var(--gp-green); font-weight: 500; }

/* Legacy single-card live scores */
.gp-live-scores__card { background: var(--gp-bg-card); border-radius: var(--gp-radius); overflow: hidden; box-shadow: var(--gp-shadow); }
.gp-live-scores__tournament-info { padding: 14px 16px; background: var(--gp-dark); color: white; }
.gp-live-scores__tournament-name { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.gp-live-scores__tournament-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; opacity: 0.8; }
.gp-live-scores__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gp-live-scores__table thead { background: var(--gp-bg-muted); }
.gp-live-scores__table th { padding: 8px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--gp-text-muted); text-align: left; border-bottom: 1px solid var(--gp-border); }
.gp-live-scores__table td { padding: 10px 12px; border-bottom: 1px solid var(--gp-border-light); vertical-align: middle; }
.gp-live-scores__pos { width: 36px; text-align: center; font-weight: 700; }
.gp-live-scores__score, .gp-live-scores__thru, .gp-live-scores__today { text-align: center; width: 52px; }
.gp-live-scores__player { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.gp-live-scores__row--leader { background: var(--gp-bg-highlight); }
.gp-live-scores__row--leader .gp-live-scores__player { font-weight: 700; }
.gp-score--under { color: #C62828; font-weight: 700; }
.gp-score--over { color: var(--gp-blue); font-weight: 600; }
.gp-score--even { color: #757575; font-weight: 600; }
.gp-live-scores__empty { padding: 20px 16px; text-align: center; color: var(--gp-text-muted); font-size: 13px; }

/* ============================================================
   CONTENT GRID (Articles)
   ============================================================ */
.gp-content-grid {
    display: grid;
    gap: 12px;
    padding: 0 16px;
}

.gp-content-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.gp-content-grid--cols-3 { grid-template-columns: 1fr; }

/* Article Card (app-aligned) */
.gp-art-card {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--gp-text);
    display: block;
    box-shadow: var(--gp-shadow);
}

.gp-art-card__img {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.gp-art-card__body { padding: 12px; }

.gp-art-card__cat {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    background: var(--gp-green-tint);
    color: var(--gp-green);
}

.gp-art-card__title {
    font-size: 14px;
    margin: 6px 0 0;
    line-height: 1.35;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-art-card__date {
    font-size: 11px;
    color: var(--gp-text-faint);
    margin-top: 6px;
}

/* News card — horizontal layout for mobile */
.gp-news-card {
    display: flex;
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--gp-text);
    box-shadow: var(--gp-shadow);
}

.gp-news-card__image-wrap { flex-shrink: 0; width: 110px; height: 85px; overflow: hidden; }
.gp-news-card__image { width: 100%; height: 100%; object-fit: cover; }
.gp-news-card__body { padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.gp-news-card__category { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--gp-green); margin-bottom: 3px; }
.gp-news-card__title { font-size: 13px; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-news-card__meta { display: flex; gap: 8px; font-size: 11px; color: var(--gp-text-muted); margin-top: 4px; }
.gp-news-grid__items { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 16px; }

/* ============================================================
   EQUIPMENT CARDS (app-aligned)
   ============================================================ */
.gp-equipment__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 4px;
}

.gp-equipment__track::-webkit-scrollbar { display: none; }

.gp-eq-card {
    flex-shrink: 0;
    width: 150px;
    scroll-snap-align: start;
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--gp-text);
    box-shadow: var(--gp-shadow);
    transition: transform var(--gp-transition);
}

.gp-eq-card:hover { transform: translateY(-2px); }

.gp-eq-card__img {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-bg-muted);
    padding: 8px;
}

.gp-eq-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.gp-eq-card__body { padding: 10px; }
.gp-eq-card__brand { font-size: 9px; color: var(--gp-text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.gp-eq-card__name { font-size: 12px; font-weight: 600; margin-top: 2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-eq-card__price { font-size: 13px; font-weight: 700; color: #C62828; margin-top: 4px; }

/* ============================================================
   TOURNAMENTS (horizontal scroll)
   ============================================================ */
.gp-tournaments__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 4px;
}

.gp-tournaments__track::-webkit-scrollbar { display: none; }

.gp-tournament-card {
    flex-shrink: 0;
    width: 220px;
    scroll-snap-align: start;
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    padding: 14px;
    text-decoration: none;
    color: var(--gp-text);
    box-shadow: var(--gp-shadow);
    border-left: 3px solid var(--gp-green);
}

.gp-tournament-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.gp-tournament-card__tour { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: var(--gp-green); }
.gp-tournament-card__round { font-size: 10px; font-weight: 700; color: white; background: var(--gp-green); padding: 2px 6px; border-radius: 4px; }
.gp-tournament-card__name { font-size: 14px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.gp-tournament-card__meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gp-text-secondary); margin-bottom: 2px; }
.gp-tournament-card__dates { font-size: 11px; color: var(--gp-text-muted); }

/* ============================================================
   TRENDING PLAYERS (new widget)
   ============================================================ */
.gp-players__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 4px;
}

.gp-players__track::-webkit-scrollbar { display: none; }

.gp-player-card {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
    text-decoration: none;
    color: var(--gp-text);
}

.gp-player-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    border: 2px solid var(--gp-border);
    background: var(--gp-bg-muted);
}

.gp-player-card__name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.gp-player-card__flag {
    font-size: 12px;
    margin-top: 2px;
}

.gp-player-card__rank {
    font-size: 10px;
    color: var(--gp-text-muted);
    margin-top: 2px;
}

/* ============================================================
   CATEGORY BUTTONS GRID (kept for desktop, hidden on mobile)
   ============================================================ */
.gp-cat-grid {
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 16px;
}

.gp-cat-btn {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all var(--gp-transition);
    text-decoration: none;
    color: var(--gp-text);
    display: block;
    box-shadow: var(--gp-shadow);
}

.gp-cat-btn:hover { transform: translateY(-2px); border-color: var(--gp-green); }
.gp-cat-btn__icon { font-size: 14px; color: var(--gp-green); font-weight: 700; margin-bottom: 3px; }
.gp-cat-btn__name { font-size: 12px; font-weight: 600; }

/* ============================================================
   ENTITY ROWS (Clubs, Regions)
   ============================================================ */
.gp-entity-col {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    padding: 14px;
    box-shadow: var(--gp-shadow);
}

.gp-entity-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gp-border-light);
}

.gp-entity-row:last-child { border: none; }

.gp-entity-row__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--gp-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.gp-entity-row__icon--club { background: #e8f5e9; color: var(--gp-green); }
.gp-entity-row__icon--region { background: #fff3e0; font-size: 18px; }
.gp-entity-row__icon img { width: 100%; height: 100%; object-fit: cover; }
.gp-entity-row__name { font-size: 13px; font-weight: 500; }
.gp-entity-row__info { font-size: 10px; color: var(--gp-text-muted); }
.gp-entity-row__stars { color: var(--gp-gold); font-size: 11px; }

.gp-three-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
}

/* ============================================================
   COMMUNITY TEASER
   ============================================================ */
.gp-comm-teaser {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    box-shadow: var(--gp-shadow);
    margin: 0 16px;
}

.gp-comm-left { padding: 24px; }
.gp-comm-left__tag { font-size: 11px; color: var(--gp-green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.gp-comm-left h3 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.3px; }
.gp-comm-left p { font-size: 13px; color: var(--gp-text-secondary); margin-top: 6px; line-height: 1.5; }

.gp-comm-stats { display: flex; gap: 20px; margin-top: 14px; }
.gp-comm-stat__num { font-size: 18px; font-weight: 700; color: var(--gp-green); }
.gp-comm-stat__lbl { font-size: 10px; color: var(--gp-text-faint); }

.gp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gp-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--gp-radius-sm);
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    margin-top: 14px;
    text-decoration: none;
    font-family: var(--gp-font);
}

.gp-comm-right { background: var(--gp-bg-muted); padding: 20px; }

/* ============================================================
   PREMIUM BLOCK (dark gradient)
   ============================================================ */
.gp-premium-block {
    background: linear-gradient(135deg, var(--gp-dark), #333);
    border-radius: var(--gp-radius);
    padding: 24px 16px;
    color: white;
    margin: 0 16px;
}

.gp-premium-block__intro { text-align: center; margin-bottom: 20px; }
.gp-premium-block__intro h3 { font-size: 20px; margin: 0; letter-spacing: -0.3px; }
.gp-premium-block__intro p { font-size: 13px; opacity: 0.7; margin-top: 4px; }

.gp-tier-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.gp-tier {
    background: rgba(255,255,255,0.06);
    border-radius: var(--gp-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.gp-tier--popular { border-color: var(--gp-gold-dark); background: rgba(255,179,0,0.08); }
.gp-tier__name { font-size: 14px; font-weight: 600; }
.gp-tier__price { font-size: 24px; font-weight: 700; margin-top: 6px; }
.gp-tier__price span { font-size: 13px; font-weight: 400; opacity: 0.7; }
.gp-tier__popular-tag { font-size: 10px; background: var(--gp-gold-dark); color: var(--gp-dark); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-top: 4px; font-weight: 600; }
.gp-tier__features { text-align: left; margin-top: 12px; font-size: 11px; }
.gp-tier__features div { padding: 3px 0; opacity: 0.8; }
.gp-tier__chk { color: var(--gp-green-light); }
.gp-tier__btn { display: block; margin-top: 14px; padding: 10px; border-radius: var(--gp-radius-sm); font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; }
.gp-tier__btn--gold { background: var(--gp-gold-dark); color: var(--gp-dark); }
.gp-tier__btn--outline { border: 1px solid rgba(255,255,255,0.3); color: white; }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.gp-newsletter__card {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--gp-shadow);
    margin: 0 16px;
}

.gp-newsletter__icon { font-size: 32px; margin-bottom: 8px; }
.gp-newsletter__title { font-size: 18px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.3px; }
.gp-newsletter__subtitle { font-size: 13px; color: var(--gp-text-secondary); margin: 0 0 16px; }

.gp-newsletter__input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto 10px;
    border-radius: var(--gp-radius-sm);
    overflow: hidden;
    border: 1px solid var(--gp-border);
}

.gp-newsletter__input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 14px;
    font-family: var(--gp-font);
    outline: none;
    min-width: 0;
    background: var(--gp-bg-muted);
}

.gp-newsletter__input:focus { box-shadow: inset 0 0 0 2px var(--gp-green); }

.gp-newsletter__btn {
    flex-shrink: 0;
    background: var(--gp-green);
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--gp-font);
}

.gp-newsletter__btn:hover { background: #236952; }

/* ============================================================
   PARTNER CTA (B2B)
   ============================================================ */
.gp-partner-cta {
    background: var(--gp-bg-card);
    border-radius: var(--gp-radius);
    border: 2px solid var(--gp-green);
    padding: 24px;
    text-align: center;
    margin: 0 16px;
}

.gp-partner-cta h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--gp-green); }
.gp-partner-cta p { font-size: 13px; color: var(--gp-text-secondary); margin: 0 0 14px; }

.gp-partner-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 280px;
    margin: 0 auto 16px;
    text-align: left;
    font-size: 12px;
}

.gp-partner-feature { display: flex; align-items: center; gap: 8px; }
.gp-partner-feature__check { color: var(--gp-green); font-weight: 700; flex-shrink: 0; }

.gp-partner-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gp-green);
    color: white;
    padding: 10px 24px;
    border-radius: var(--gp-radius-sm);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* ============================================================
   AD SLOTS (placeholder style)
   ============================================================ */
.gp-ad-slot {
    background: var(--gp-bg-muted);
    border: 1px dashed #ddd;
    border-radius: var(--gp-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-text-faint);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 16px 20px;
    position: relative;
}

.gp-ad-slot::before {
    content: 'ANZEIGE';
    position: absolute;
    top: 3px;
    right: 6px;
    font-size: 8px;
    color: #ccc;
}

.gp-ad-slot--top { height: 80px; }
.gp-ad-slot--feed { height: 80px; }
.gp-ad-slot--rect { height: 260px; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER (dark, compact)
   ============================================================ */
.gp-site-footer {
    background: var(--gp-dark);
    color: white;
    padding: 32px 16px 24px;
    margin-top: 32px;
}

.gp-footer-inner { max-width: var(--gp-max-width); margin: 0 auto; }

.gp-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.gp-footer-cols h5 { font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.gp-footer-cols a { display: block; font-size: 11px; color: rgba(255,255,255,0.5); padding: 2px 0; }
.gp-footer-cols a:hover { color: rgba(255,255,255,0.8); }

.gp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   STORY VIEWER (Fullscreen Overlay)
   ============================================================ */
.gp-story-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-story-viewer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.95); }

.gp-story-viewer__container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gp-story-viewer__progress { position: absolute; top: 0; left: 0; right: 0; display: flex; gap: 3px; padding: 8px 12px 0; z-index: 10; }
.gp-story-viewer__progress-bar { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.25); border-radius: 1px; overflow: hidden; }
.gp-story-viewer__progress-fill { width: 0%; height: 100%; background: white; border-radius: 1px; transition: width 0.1s linear; }
.gp-story-viewer__progress-bar.is-complete .gp-story-viewer__progress-fill { width: 100%; }
.gp-story-viewer__close { position: absolute; top: 18px; right: 12px; z-index: 10; background: none; border: none; color: white; font-size: 28px; cursor: pointer; padding: 4px 10px; line-height: 1; opacity: 0.8; }
.gp-story-viewer__close:hover { opacity: 1; }
.gp-story-viewer__header { position: absolute; top: 16px; left: 12px; z-index: 10; display: flex; align-items: center; gap: 10px; color: white; }
.gp-story-viewer__category { font-size: 14px; font-weight: 700; }
.gp-story-viewer__counter { font-size: 12px; opacity: 0.6; }
.gp-story-viewer__content { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gp-story-viewer__image { width: 100%; height: 100%; object-fit: cover; }
.gp-story-viewer__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 16px 28px; background: linear-gradient(transparent, rgba(0,0,0,.8) 60%); color: white; }
.gp-story-viewer__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.gp-story-viewer__teaser { font-size: 13px; line-height: 1.5; margin: 0 0 12px; opacity: 0.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-story-viewer__cta { display: inline-block; color: var(--gp-green-light); font-size: 14px; font-weight: 700; text-decoration: none; }
.gp-story-viewer__cta:hover { text-decoration: underline; }
.gp-story-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.12); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.gp-story-viewer__nav:hover { background: rgba(255,255,255,.25); }
.gp-story-viewer__nav--prev { left: 6px; }
.gp-story-viewer__nav--next { right: 6px; }

/* ============================================================
   RESPONSIVE: Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .gp-homepage { padding-bottom: 0; }
    .gp-bottom-nav { display: none; }
    .gp-nav-bar { display: flex; }
    .gp-wrap { padding: 0 24px; }
    .gp-section-header { padding: 0; }
    .gp-quick-links { display: none; }
    .gp-cat-grid { display: grid; padding: 0; }

    .gp-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 12px; padding: 0; }
    .gp-hero-main { height: 340px; }
    .gp-hero-main__title { font-size: 22px; }
    .gp-hero-side { flex-direction: column; }
    .gp-hero-side-card { min-height: 0; }

    .gp-content-grid { padding: 0; }
    .gp-content-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
    .gp-news-grid__items { grid-template-columns: 1fr 1fr; padding: 0; }
    .gp-news-card { flex-direction: column; }
    .gp-news-card__image-wrap { width: 100%; height: 140px; }
    .gp-news-card__body { padding: 12px; }

    .gp-three-col { grid-template-columns: 1fr 1fr; padding: 0; }
    .gp-comm-teaser { grid-template-columns: 1.2fr 1fr; margin: 0; }
    .gp-tier-grid { grid-template-columns: repeat(3, 1fr); }
    .gp-footer-cols { grid-template-columns: repeat(4, 1fr); }
    .gp-eq-card { width: 170px; }
    .gp-tournament-card { width: 250px; }
    .gp-newsletter__card { padding: 40px 28px; margin: 0; }
    .gp-premium-block { padding: 32px; margin: 0; }
    .gp-partner-cta { margin: 0; }
    .gp-ad-slot { margin-left: 0; margin-right: 0; }
    .gp-ad-slot--rect { max-width: none; }
    .gp-live-scroll { padding-left: 0; padding-right: 0; }
    .gp-equipment__track { padding-left: 0; padding-right: 0; }
    .gp-tournaments__track { padding-left: 0; padding-right: 0; }
    .gp-players__track { padding-left: 0; padding-right: 0; }

    .gp-stories { padding: 12px 24px 8px; }
    .gp-stories__ring { width: 64px; height: 64px; }
    .gp-stories__thumb { width: 58px; height: 58px; }
}

/* ============================================================
   RESPONSIVE: Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .gp-header-top { height: 52px; padding: 0 24px; }
    .gp-header-logo img { height: 24px; }
    .gp-edition-toggle__opt { padding: 4px 12px; font-size: 12px; }

    .gp-hero-main__title { font-size: 24px; }
    .gp-hero-side-card__title { font-size: 14px; }

    .gp-content-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
    .gp-news-grid__items { grid-template-columns: repeat(3, 1fr); }
    .gp-three-col { grid-template-columns: 1fr 1fr 1fr; }
    .gp-footer-cols { grid-template-columns: repeat(5, 1fr); }

    .gp-partner-features { flex-direction: row; max-width: 500px; gap: 20px; }

    .gp-story-viewer__container { max-height: 90vh; border-radius: var(--gp-radius); }
    .gp-story-viewer__nav--prev { left: -48px; }
    .gp-story-viewer__nav--next { right: -48px; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.d-none { display: none !important; }
.d-sm-table-cell { display: none !important; }
@media (min-width: 576px) { .d-sm-table-cell { display: table-cell !important; } }
