/*
Theme Name: WallStreetBets Deutsch
Theme URI: https://www.wallstreetbets-deutsch.de/
Author: ChatGPT & Alex
Author URI: https://www.wallstreetbets-deutsch.de/
Description: Modernes, responsives Theme für die WallStreetBets-Deutsch Community mit Fokus auf Copy Trading & Conversion.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wsbde
*/

:root {
    --wsb-primary: #facc15; /* Gold / Signal */
    --wsb-primary-dark: #ca8a04;
    --wsb-bg: #020617;
    --wsb-bg-alt: #030712;
    --wsb-card: #020617;
    --wsb-border: #1f2937;
    --wsb-text: #e5e7eb;
    --wsb-muted: #9ca3af;
    --wsb-accent: #22c55e;
    --wsb-danger: #ef4444;
    --wsb-radius-lg: 18px;
    --wsb-radius-md: 12px;
    --wsb-radius-pill: 999px;
    --wsb-shadow-soft: 0 18px 40px rgba(0,0,0,0.35);
    --wsb-max-width: 1120px;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #0f172a 0, #020617 50%, #000 100%);
    color: var(--wsb-text);
    line-height: 1.6;
}

/* Global layout */

.wsb-container {
    max-width: var(--wsb-max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

a {
    color: var(--wsb-primary);
    text-decoration: none;
}
a:hover,
a:focus {
    color: var(--wsb-primary-dark);
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5,8,20,0.94), rgba(5,8,20,0.90));
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.site-header-inner {
    max-width: var(--wsb-max-width);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #f4c043 35%, #f9472c 70%, #050814 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #050814;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.site-title-group {
    display: flex;
    flex-direction: column;
}

.site-title-group a {
    color: var(--wsb-text);
}

.site-title {
    font-size: 1.05rem;
    font-weight: 700;
}
.site-description {
    font-size: 0.78rem;
    color: var(--wsb-muted);
}

/* Nav */

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
}
.primary-menu li {
    position: relative;
}
.primary-menu a {
    color: var(--wsb-muted);
    padding: 0.2rem 0;
}
.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: var(--wsb-text);
}

/* Dropdowns */

.primary-menu li ul {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 200px;
    background: #050814;
    border-radius: 12px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    box-shadow: var(--wsb-shadow-soft);
    border: 1px solid var(--wsb-border);
    display: none;
    z-index: 20;
}
.primary-menu li:hover > ul,
.primary-menu li:focus-within > ul {
    display: block;
}
.primary-menu li ul li {
    padding: 0;
}
.primary-menu li ul a {
    padding: 0.55rem 0.9rem;
    display: block;
}

/* CTA button in header */

.wsb-header-cta {
    background: #22c55e;
    border-radius: var(--wsb-radius-pill);
    padding: 0.6rem 1.4rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: #022c16;
    box-shadow: 0 14px 30px rgba(0,0,0,0.55);
    white-space: nowrap;
    border: 1px solid #16a34a;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wsb-header-cta span {
    font-size: 0.9em;
    opacity: 0.95;
}
.wsb-header-cta:hover {
    background: #22c55e;
    color: #022c16;
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.7);
}



/* Mobile nav */

.wsb-burger {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.wsb-burger span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 900px) {
    .primary-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        padding: 0.75rem 1.25rem 1rem;
        background: radial-gradient(circle at top, #1b2540 0, #050814 48%, #000 100%);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-120%);
        transition: transform .25s ease;
    }
    .primary-nav.is-open {
        transform: translateY(0);
    }
    .primary-menu {
        flex-direction: column;
        width: 100%;
    }
    .primary-menu li ul {
        position: static;
        box-shadow: none;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.06);
        margin-top: 4px;
    }
    .wsb-header-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .wsb-burger {
        display: inline-flex;
    }
}

/* Hero section */

.wsb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
    margin-top: 2.4rem;
}

.wsb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.7rem 0.2rem 0.24rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(249,183,7,0.16), rgba(0,212,143,0.16));
    border: 1px solid rgba(249,183,7,0.45);
    font-size: 0.76rem;
    color: var(--wsb-muted);
}
.wsb-hero-badge-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #fff 0, #f9b707 35%, #f9472c 80%);
    color: #050814;
    font-size: 0.82rem;
    font-weight: 800;
}

.wsb-hero h1 {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin: 1rem 0 0.6rem;
}
.wsb-hero h1 span {
    background: linear-gradient(135deg, #f9b707, #ff3b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wsb-hero-subtitle {
    font-size: 0.98rem;
    color: var(--wsb-muted);
    max-width: 32rem;
}

.wsb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.wsb-hero-cta-main {
    padding: 0.9rem 1.9rem;
    border-radius: var(--wsb-radius-pill);
    border: 1px solid #eab308;
    font-size: 1rem;
    font-weight: 800;
    background: #facc15;
    color: #111827;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wsb-hero-cta-main small {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0.95;
}
.wsb-hero-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.7);
    color: #111827 !important;
}
.wsb-hero-cta-main:hover small {
    color: #111827 !important;
}
.wsb-hero-cta-secondary {
    padding: 0.86rem 1.4rem;
    border-radius: var(--wsb-radius-pill);
    border: 1px solid var(--wsb-border);
    background: rgba(15,23,42,0.96);
    color: var(--wsb-text);
    font-size: 0.9rem;
    font-weight: 500;
}



.wsb-hero-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.wsb-hero-meta-item {
    font-size: 0.78rem;
    color: var(--wsb-muted);
}
.wsb-hero-meta-item strong {
    display: block;
    color: var(--wsb-text);
    font-size: 0.92rem;
}

/* Hero visual with GIF */

.wsb-hero-visual {
    position: relative;
    border-radius: var(--wsb-radius-lg);
    overflow: hidden;
    background: radial-gradient(circle at 0 0, #0ea5e9 0, #1d4ed8 40%, #020617 80%);
    padding: 1px;
    box-shadow: var(--wsb-shadow-soft);
}
.wsb-hero-visual-inner {
    border-radius: inherit;
    background: radial-gradient(circle at top, #151a2d 0, #050814 55%, #000 100%);
    padding: 1.3rem 1.4rem 1.2rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
}

.wsb-hero-gif-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.12);
}
.wsb-hero-gif-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.wsb-hero-panel-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--wsb-muted);
}
.wsb-hero-pill {
    padding: 0.16rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(0,212,143,0.6);
    font-size: 0.72rem;
    color: var(--wsb-accent);
}

.wsb-hero-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}
.wsb-hero-stat-row span {
    color: var(--wsb-muted);
}
.wsb-hero-stat-row strong {
    color: var(--wsb-accent);
}

/* Sections */

.wsb-section {
    margin-top: 3.2rem;
}

.wsb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}
.wsb-section-kicker {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--wsb-muted);
}
.wsb-section-title {
    font-size: 1.4rem;
    margin: 0.2rem 0 0.4rem;
}
.wsb-section-description {
    font-size: 0.92rem;
    color: var(--wsb-muted);
    max-width: 28rem;
}

/* Trust badges */

.wsb-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.wsb-trust-card {
    border-radius: var(--wsb-radius-md);
    border: 1px solid var(--wsb-border);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.08) 0, #050814 55%);
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
}
.wsb-trust-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--wsb-muted);
}
.wsb-trust-title {
    font-weight: 600;
    margin-top: 0.25rem;
}
.wsb-trust-meta {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--wsb-muted);
}

/* Testimonials */

.wsb-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.wsb-testimonial {
    border-radius: var(--wsb-radius-md);
    border: 1px solid var(--wsb-border);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.04) 0, #050814 50%);
    padding: 1rem;
    font-size: 0.88rem;
}
.wsb-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}
.wsb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9b707, #ff3b6b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #050814;
}
.wsb-rating {
    font-size: 0.8rem;
    color: #ffcf33;
}
.wsb-testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}
.wsb-testimonial-role {
    font-size: 0.78rem;
    color: var(--wsb-muted);
}
.wsb-testimonial-text {
    color: var(--wsb-muted);
}

/* FAQ */

.wsb-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
.wsb-faq-item {
    border-radius: var(--wsb-radius-md);
    border: 1px solid var(--wsb-border);
    background: #050814;
    padding: 0.9rem 1rem;
}
.wsb-faq-question {
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.wsb-faq-answer {
    font-size: 0.88rem;
    color: var(--wsb-muted);
}

/* Blog preview */

.wsb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.wsb-blog-card {
    border-radius: var(--wsb-radius-md);
    border: 1px solid var(--wsb-border);
    background: #050814;
    padding: 0.9rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.wsb-blog-card h3 {
    font-size: 1.0rem;
    margin: 0;
}
.wsb-blog-meta {
    font-size: 0.75rem;
    color: var(--wsb-muted);
}

/* Content / blog pages */

.site-main {
    margin-top: 2.2rem;
}

.content-area {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 2rem;
}
@media (max-width: 900px) {
    .content-area {
        grid-template-columns: minmax(0, 1fr);
    }
}

.post-card {
    margin-bottom: 2rem;
    border-radius: var(--wsb-radius-md);
    background: #050814;
    border: 1px solid var(--wsb-border);
    padding: 1.2rem 1.4rem;
}
.post-card-title {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
}
.post-card-meta {
    font-size: 0.8rem;
    color: var(--wsb-muted);
    margin-bottom: 0.8rem;
}

/* Sidebar */

.sidebar {
    border-radius: var(--wsb-radius-md);
    border: 1px solid var(--wsb-border);
    background: #050814;
    padding: 1rem 1.1rem 1.3rem;
}
.sidebar .widget {
    margin-bottom: 1.2rem;
}
.sidebar .widget-title {
    font-size: 0.96rem;
    margin-bottom: 0.4rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 1.25rem 2rem;
    background: #050814;
    color: var(--wsb-muted);
    font-size: 0.82rem;
}
.site-footer-inner {
    max-width: var(--wsb-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.site-footer-links {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}
.site-footer a {
    color: var(--wsb-muted);
}

/* Responsive */

@media (max-width: 960px) {
    .wsb-hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .wsb-trust-grid,
    .wsb-testimonial-grid,
    .wsb-blog-grid,
    .wsb-faq-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 640px) {
    .wsb-trust-grid,
    .wsb-testimonial-grid,
    .wsb-blog-grid,
    .wsb-faq-grid {
        grid-template-columns: minmax(0,1fr);
    }
}
