/* ==========================================================================
   Bandaloop Games — Public Website Styles
   Dark-themed gaming studio website
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    --ws-accent: #d47d5a;
    --ws-accent-rgb: 212, 125, 90;
    --ws-bg: #0a0908;
    --ws-text: #f8f6f4;
    --ws-text-secondary: rgba(248, 246, 244, 0.75);
    --ws-text-muted: rgba(248, 246, 244, 0.5);
    --ws-border: rgba(255, 255, 255, 0.08);
    --ws-card-bg: rgba(255, 255, 255, 0.03);
    --ws-card-hover-bg: rgba(255, 255, 255, 0.06);
    --ws-footer-bg: #11100f;
    --ws-container: min(1120px, 92vw);
    --ws-radius: 16px;
    --ws-radius-lg: 24px;
    --ws-radius-pill: 999px;
    --ws-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Base & Reset
   ========================================================================== */

.ws-page {
    background: var(--ws-bg);
    color: var(--ws-text);
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.ws-page *,
.ws-page *::before,
.ws-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ws-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ws-page a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   3. Container
   ========================================================================== */

.ws-container {
    width: var(--ws-container);
    margin: 0 auto;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

.ws-page h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.ws-page h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ws-page h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ws-page h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ws-page p {
    line-height: 1.7;
    color: var(--ws-text-secondary);
}

.ws-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ws-accent);
    margin-bottom: 0.75rem;
}

.ws-text-muted {
    opacity: 0.6;
}

.ws-text-secondary {
    opacity: 0.75;
}

.ws-text-accent {
    color: var(--ws-accent);
}

.ws-section-spacing {
    padding: 6rem 0;
}

/* ==========================================================================
   5. Navigation (.ws-nav)
   ========================================================================== */

.ws-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.4s var(--ws-ease),
                border-color 0.4s var(--ws-ease),
                backdrop-filter 0.4s var(--ws-ease);
    border-bottom: 1px solid transparent;
}

.ws-nav:hover,
.ws-nav.ws-nav-scrolled {
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--ws-border);
}

.ws-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.ws-nav-logo {
    height: 32px;
    flex-shrink: 0;
}

.ws-nav-logo img {
    height: 100%;
    width: auto;
}

.ws-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.ws-nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.ws-nav-links a:hover,
.ws-nav-links a.active {
    opacity: 1;
}

.ws-nav-links a.active {
    color: var(--ws-accent);
}

/* Hamburger */
.ws-nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.ws-nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ws-text);
    border-radius: 2px;
    transition: transform 0.3s var(--ws-ease), opacity 0.3s ease;
}

/* Mobile nav dropdown */
.ws-nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ws-border);
    padding: 1.5rem 0;
}

.ws-nav-mobile.ws-nav-open {
    display: block;
}

.ws-nav-mobile a {
    display: block;
    padding: 0.75rem 4vw;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    transition: opacity 0.2s ease, padding-left 0.2s ease;
}

.ws-nav-mobile a:hover {
    opacity: 1;
    padding-left: 5vw;
}

/* ==========================================================================
   6. Footer (.ws-footer)
   ========================================================================== */

.ws-footer {
    background: var(--ws-footer-bg);
    padding: 1.5rem 0;
    border-top: 1px solid var(--ws-border);
}

.ws-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ws-footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

.ws-footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.ws-footer-links a {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ws-footer-links a:hover {
    opacity: 1;
}

.ws-footer-social {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.ws-footer-social a {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.ws-footer-social a:hover {
    opacity: 1;
}

.ws-footer-social svg,
.ws-footer-social img {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.ws-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ws-accent);
    color: #11100f;
    padding: 1rem 2rem;
    border-radius: var(--ws-radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--ws-accent-rgb), 0.3);
    transition: transform 0.3s var(--ws-ease),
                box-shadow 0.3s var(--ws-ease);
    text-decoration: none;
}

.ws-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--ws-accent-rgb), 0.45);
}

.ws-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--ws-text);
    padding: 1rem 2rem;
    border-radius: var(--ws-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(248, 246, 244, 0.3);
    cursor: pointer;
    transition: transform 0.3s var(--ws-ease),
                border-color 0.3s ease,
                background 0.3s ease;
    text-decoration: none;
}

.ws-btn-ghost:hover {
    transform: translateY(-3px);
    border-color: rgba(248, 246, 244, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.ws-btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.ws-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

.ws-card {
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 1.5rem;
    transition: transform 0.4s var(--ws-ease),
                background 0.4s ease,
                border-color 0.4s ease;
}

.ws-card:hover {
    transform: translateY(-6px);
    background: var(--ws-card-hover-bg);
    border-color: rgba(255, 255, 255, 0.15);
}

.ws-card-lg {
    border-radius: var(--ws-radius-lg);
    padding: 2rem;
}

.ws-card-img {
    border-radius: calc(var(--ws-radius) - 4px);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.ws-card-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--ws-ease);
}

.ws-card:hover .ws-card-img img {
    transform: scale(1.05);
}

/* ==========================================================================
   9. Hero Sections
   ========================================================================== */

.ws-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ws-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
}

.ws-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.6);
}

.ws-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.ws-hero-content {
    position: relative;
    z-index: 5;
}

.ws-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ws-hero-scroll:hover {
    opacity: 1;
}

.ws-hero-scroll-arrow {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--ws-text);
    border-bottom: 2px solid var(--ws-text);
    transform: rotate(45deg);
    animation: ws-bounce 2s infinite;
}

/* ==========================================================================
   10. Animations
   ========================================================================== */

/* Fade-in on scroll (JS adds .ws-visible) */
.ws-fade-in {
    opacity: 0;
    transition: opacity 0.8s var(--ws-ease),
                transform 0.8s var(--ws-ease);
}

.ws-fade-in.ws-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.ws-fade-up {
    transform: translateY(60px);
}

.ws-fade-down {
    transform: translateY(-60px);
}

.ws-fade-left {
    transform: translateX(-40px);
}

.ws-fade-right {
    transform: translateX(40px);
}

/* Stagger children */
.ws-stagger > .ws-fade-in:nth-child(1) { transition-delay: 0s; }
.ws-stagger > .ws-fade-in:nth-child(2) { transition-delay: 0.1s; }
.ws-stagger > .ws-fade-in:nth-child(3) { transition-delay: 0.2s; }
.ws-stagger > .ws-fade-in:nth-child(4) { transition-delay: 0.3s; }
.ws-stagger > .ws-fade-in:nth-child(5) { transition-delay: 0.4s; }
.ws-stagger > .ws-fade-in:nth-child(6) { transition-delay: 0.5s; }

@keyframes ws-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(6px);
    }
    60% {
        transform: rotate(45deg) translateY(3px);
    }
}

@keyframes ws-glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes ws-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   11. Parallax Effects
   ========================================================================== */

.ws-parallax {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ws-parallax-bg {
    position: absolute;
    inset: 0;
    will-change: transform;
    background-size: cover;
    background-position: center;
}

.ws-parallax-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
}

.ws-parallax-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.ws-parallax-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: ws-glow-pulse 8s ease-in-out infinite;
}

/* ==========================================================================
   12. Grids & Layouts
   ========================================================================== */

.ws-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ws-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ws-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ws-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   13. Landing Page (.ws-landing-*)
   ========================================================================== */

.ws-landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ws-landing-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ws-landing-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--ws-text-secondary);
    margin-top: 1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.ws-landing-paths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.ws-landing-path-card {
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.4s var(--ws-ease),
                border-color 0.4s ease,
                background 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.ws-landing-path-card:hover {
    transform: translateY(-6px);
    border-color: var(--ws-accent);
    background: var(--ws-card-hover-bg);
}

.ws-landing-path-icon {
    font-size: 48px;
    color: var(--ws-accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.ws-landing-path-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--ws-accent);
}

.ws-landing-path-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-landing-path-desc {
    font-size: 0.9rem;
    color: var(--ws-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ws-landing-path-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ws-accent);
    transition: gap 0.3s var(--ws-ease);
}

.ws-landing-path-card:hover .ws-landing-path-cta {
    gap: 0.8rem;
}

.ws-landing-path-cta-arrow {
    display: inline-block;
    transition: transform 0.3s var(--ws-ease);
}

.ws-landing-path-card:hover .ws-landing-path-cta-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   14. Games Page (.ws-games-*)
   ========================================================================== */

.ws-games-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ws-games-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ws-ease);
}

.ws-games-logo {
    max-width: 400px;
    margin-bottom: 1.5rem;
    transition: transform 0.6s var(--ws-ease);
}

.ws-games-logo img {
    width: 100%;
    height: auto;
}

.ws-games-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--ws-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.ws-games-status-released {
    background: rgba(var(--ws-accent-rgb), 0.2);
    color: var(--ws-accent);
    border: 1px solid rgba(var(--ws-accent-rgb), 0.4);
}

.ws-games-status-dev {
    background: rgba(100, 180, 255, 0.15);
    color: #8ac4ff;
    border: 1px solid rgba(100, 180, 255, 0.3);
}

.ws-games-status-prototype {
    background: rgba(180, 130, 255, 0.15);
    color: #c4a8ff;
    border: 1px solid rgba(180, 130, 255, 0.3);
}

.ws-games-platforms {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ws-games-platform-tag {
    padding: 0.25rem 0.7rem;
    border-radius: var(--ws-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--ws-border);
    color: var(--ws-text-secondary);
}

.ws-games-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.ws-games-features li {
    font-size: 0.9rem;
    color: var(--ws-text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.ws-games-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ws-accent);
}

.ws-games-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   15. Game Detail (.ws-game-detail-*)
   ========================================================================== */

.ws-game-detail-hero {
    min-height: 80vh;
}

.ws-game-detail-section {
    padding: 5rem 0;
    position: relative;
}

.ws-game-detail-accent {
    border-top: 3px solid var(--accent, var(--ws-accent));
}

.ws-game-detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.ws-game-detail-feature {
    padding: 1.5rem;
}

.ws-game-detail-feature-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent, var(--ws-accent));
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.ws-game-detail-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-game-detail-feature-desc {
    font-size: 0.9rem;
    color: var(--ws-text-muted);
    line-height: 1.6;
}

/* Press Kit */
.ws-game-detail-press {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.ws-game-detail-press-facts dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ws-text-muted);
    margin-bottom: 0.25rem;
}

.ws-game-detail-press-facts dd {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ws-game-detail-press-downloads {
    list-style: none;
}

.ws-game-detail-press-downloads li {
    margin-bottom: 0.75rem;
}

.ws-game-detail-press-downloads a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ws-accent);
    font-weight: 600;
    transition: gap 0.2s ease;
}

.ws-game-detail-press-downloads a:hover {
    gap: 0.8rem;
}

/* Navigation bar */
.ws-game-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--ws-border);
    margin-top: 3rem;
}

.ws-game-detail-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ws-text-secondary);
    transition: color 0.2s ease;
}

.ws-game-detail-nav a:hover {
    color: var(--ws-text);
}

/* Gallery */
.ws-game-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.ws-game-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s var(--ws-ease), opacity 0.3s ease;
}

.ws-game-detail-gallery img:hover {
    transform: scale(1.03);
    opacity: 0.85;
}

/* ==========================================================================
   16. Studio Page (.ws-studio-*)
   ========================================================================== */

.ws-studio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.ws-studio-highlight {
    text-align: center;
    padding: 2rem 1rem;
}

.ws-studio-highlight-num {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--ws-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ws-studio-highlight-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ws-text-muted);
}

.ws-studio-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.ws-studio-value {
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 2rem;
}

.ws-studio-value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--ws-accent);
}

.ws-studio-value-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--ws-accent);
}

.ws-studio-value-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-studio-value-desc {
    font-size: 0.9rem;
    color: var(--ws-text-secondary);
    line-height: 1.6;
}

.ws-studio-games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ==========================================================================
   17. Services Page (.ws-services-*)
   ========================================================================== */

.ws-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.ws-services-card {
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 2.5rem;
    transition: transform 0.4s var(--ws-ease),
                border-color 0.4s ease;
}

.ws-services-card:hover {
    transform: translateY(-4px);
    border-color: var(--ws-accent);
}

.ws-services-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ws-services-card-desc {
    font-size: 0.9rem;
    color: var(--ws-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ws-services-features {
    list-style: none;
}

.ws-services-features li {
    font-size: 0.9rem;
    color: var(--ws-text-secondary);
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ws-services-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--ws-accent);
    font-weight: 700;
}

.ws-services-cta {
    margin-top: 4rem;
    padding: 4rem;
    border-radius: var(--ws-radius-lg);
    background: linear-gradient(
        135deg,
        rgba(var(--ws-accent-rgb), 0.1) 0%,
        rgba(var(--ws-accent-rgb), 0.03) 100%
    );
    border: 1px solid rgba(var(--ws-accent-rgb), 0.2);
    text-align: center;
}

.ws-services-cta h3 {
    margin-bottom: 1rem;
}

.ws-services-cta p {
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
   18. News Page (.ws-news-*)
   ========================================================================== */

.ws-news-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 4rem;
}

.ws-news-channel {
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s var(--ws-ease),
                border-color 0.3s ease;
}

.ws-news-channel:hover {
    transform: translateY(-4px);
    border-color: var(--ws-accent);
}

.ws-news-channel-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.ws-news-channel-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ws-news-channel-handle {
    font-size: 0.85rem;
    color: var(--ws-text-muted);
}

/* Posts timeline */
.ws-news-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--ws-border);
}

.ws-news-post {
    position: relative;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: var(--ws-card-bg);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
}

.ws-news-post::before {
    content: "";
    position: absolute;
    left: -2.55rem;
    top: 1.75rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ws-accent);
    border: 2px solid var(--ws-bg);
}

.ws-news-post-date {
    font-size: 0.8rem;
    color: var(--ws-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.ws-news-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-news-post-excerpt {
    font-size: 0.9rem;
    color: var(--ws-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   19. Legal Page (.ws-legal-*)
   ========================================================================== */

.ws-legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 6rem 0;
}

.ws-legal-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--ws-border);
    padding-bottom: 2rem;
}

.ws-legal-section:last-child {
    border-bottom: none;
}

.ws-legal-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--ws-text);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 0;
    cursor: pointer;
    text-align: left;
}

.ws-legal-toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s var(--ws-ease);
    opacity: 0.5;
}

.ws-legal-section.ws-legal-open .ws-legal-toggle-icon {
    transform: rotate(45deg);
}

.ws-legal-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ws-ease);
}

.ws-legal-section.ws-legal-open .ws-legal-body {
    max-height: 2000px;
}

.ws-legal-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.ws-legal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.ws-legal-body li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ws-text-secondary);
    margin-bottom: 0.3rem;
}

.ws-legal-body h4 {
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   20. Maintenance Page (.ws-maintenance-*)
   ========================================================================== */

.ws-maintenance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ws-bg);
    padding: 2rem;
}

.ws-maintenance-logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.ws-maintenance-logo img {
    width: 100%;
    height: auto;
}

.ws-maintenance-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ws-maintenance-tagline {
    font-size: 1.1rem;
    color: var(--ws-text-secondary);
    margin-bottom: 2rem;
}

.ws-maintenance-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    list-style: none;
}

.ws-maintenance-links a {
    font-size: 0.9rem;
    color: var(--ws-accent);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.ws-maintenance-links a:hover {
    opacity: 0.8;
}

.ws-maintenance-steam {
    margin: 2rem 0;
}

.ws-maintenance-impressum {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ws-border);
    max-width: 500px;
}

.ws-maintenance-impressum p {
    font-size: 0.8rem;
    color: var(--ws-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   21. Preview Banner
   ========================================================================== */

.ws-preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--ws-accent);
    color: #11100f;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.ws-preview-banner + .ws-nav {
    top: 2rem;
}

/* ==========================================================================
   22. Utility Classes
   ========================================================================== */

.ws-mb-0 { margin-bottom: 0; }
.ws-mb-1 { margin-bottom: 0.5rem; }
.ws-mb-2 { margin-bottom: 1rem; }
.ws-mb-3 { margin-bottom: 1.5rem; }
.ws-mb-4 { margin-bottom: 2rem; }
.ws-mb-6 { margin-bottom: 3rem; }
.ws-mt-4 { margin-top: 2rem; }
.ws-mt-6 { margin-top: 3rem; }
.ws-pt-nav { padding-top: 5rem; }
.ws-text-center { text-align: center; }
.ws-text-left { text-align: left; }
.ws-mx-auto { margin-left: auto; margin-right: auto; }
.ws-max-w-sm { max-width: 540px; }
.ws-max-w-md { max-width: 720px; }
.ws-max-w-lg { max-width: 900px; }
.ws-gap-2 { gap: 1rem; }
.ws-gap-3 { gap: 1.5rem; }

/* ==========================================================================
   23. Responsive — Tablet (<=768px)
   ========================================================================== */

@media (max-width: 768px) {
    .ws-nav-links {
        display: none;
    }

    .ws-nav-hamburger {
        display: flex;
    }

    .ws-page h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .ws-page h2 {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }

    .ws-landing-paths {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .ws-landing-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .ws-grid-2,
    .ws-grid-3,
    .ws-grid-4 {
        grid-template-columns: 1fr;
    }

    .ws-game-detail-features {
        grid-template-columns: 1fr;
    }

    .ws-game-detail-press {
        grid-template-columns: 1fr;
    }

    .ws-game-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .ws-studio-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .ws-studio-values {
        grid-template-columns: 1fr;
    }

    .ws-studio-games {
        grid-template-columns: 1fr;
    }

    .ws-services-grid {
        grid-template-columns: 1fr;
    }

    .ws-services-cta {
        padding: 2.5rem 1.5rem;
    }

    .ws-news-channels {
        grid-template-columns: 1fr;
    }

    .ws-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .ws-hero {
        min-height: 70vh;
    }

    .ws-games-logo {
        max-width: 280px;
    }

    .ws-section-spacing {
        padding: 4rem 0;
    }

    .ws-btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-btn-primary,
    .ws-btn-ghost {
        justify-content: center;
    }
}

/* ==========================================================================
   24. Responsive — Small (<=600px)
   ========================================================================== */

@media (max-width: 600px) {
    .ws-page {
        font-size: 15px;
    }

    .ws-card-lg {
        padding: 1.25rem;
    }

    .ws-studio-highlights {
        grid-template-columns: 1fr;
    }

    .ws-studio-highlight {
        padding: 1rem;
    }

    .ws-game-detail-gallery {
        grid-template-columns: 1fr;
    }

    .ws-landing-path-card {
        padding: 1.5rem 1.25rem;
    }

    .ws-legal-content {
        padding: 4rem 0;
    }

    .ws-maintenance-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ws-news-timeline {
        padding-left: 1.5rem;
    }

    .ws-games-features {
        flex-direction: column;
        gap: 0.4rem;
    }
}

/* ==========================================================================
   25. Print
   ========================================================================== */

@media print {
    .ws-nav,
    .ws-footer,
    .ws-preview-banner {
        display: none;
    }

    .ws-page {
        background: #fff;
        color: #000;
    }

    .ws-page p {
        color: #333;
    }
}
