:root {
  --font-family: "Lato", sans-serif;
  --font-size-base: 17px;
  --line-height-base: 1.39;

  --max-w: 1160px;
  --space-x: 1.15rem;
  --space-y: 1.31rem;
  --gap: 1.57rem;

  --radius-xl: 1.16rem;
  --radius-lg: 0.93rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.26rem;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 12px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 32px 52px rgba(0,0,0,0.31);

  --overlay: rgba(0, 0, 0, 0.65);
  --anim-duration: 120ms;
  --anim-ease: cubic-bezier(0.22,1,0.36,1);
  --random-number: 2;

  --brand: #c62828;
  --brand-contrast: #ffffff;
  --accent: #ffd700;
  --accent-contrast: #000000;

  --neutral-0: #ffffff;
  --neutral-100: #f5f7fa;
  --neutral-300: #d1d9e6;
  --neutral-600: #6b7280;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  --bg-page: #0a0e17;
  --fg-on-page: #e5e7eb;

  --bg-alt: #111827;
  --fg-on-alt: #d1d5db;

  --surface-1: #1a2236;
  --surface-2: #243049;
  --fg-on-surface: #e5e7eb;
  --border-on-surface: rgba(255, 255, 255, 0.08);

  --surface-light: rgba(255, 255, 255, 0.03);
  --fg-on-surface-light: #9ca3af;
  --border-on-surface-light: rgba(255, 255, 255, 0.05);

  --bg-primary: #c62828;
  --fg-on-primary: #ffffff;
  --bg-primary-hover: #e53935;
  --ring: rgba(198, 40, 40, 0.5);

  --bg-accent: rgba(255, 215, 0, 0.1);
  --fg-on-accent: #b8860b;
  --bg-accent-hover: #ffed4a;

  --link: #60a5fa;
  --link-hover: #93c5fd;

  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #1a2236 50%, #243049 100%);
  --gradient-accent: linear-gradient(90deg, #c62828 0%, #ff6b6b 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.wp-lang-switcher-v8 {
        position: fixed;
        right: clamp(14px, 2vw, 24px);
        bottom: clamp(14px, 2vw, 24px);
        z-index: 99999;
    }

    .wp-lang-switcher-v8__toggle {
        width: 58px;
        height: 58px;
        border-radius: 12px;
        border: 0;
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        cursor: pointer;
        display: grid;
        place-items: center;
        box-shadow: var(--shadow-lg);
        position: relative;
    }

    .wp-lang-switcher-v8__dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--fg-on-primary) 78%, transparent);
        position: absolute;
        right: 13px;
        top: 13px;
    }

    .wp-lang-switcher-v8__list {
        position: absolute;
        right: 0;
        bottom: 66px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.95);
        transform-origin: bottom right;
        transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
    }

    .wp-lang-switcher-v8__list.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .wp-lang-switcher-v8__list button,
    .wp-lang-switcher-v8__list a {
        min-width: 56px;
        height: 38px;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        transition: transform var(--anim-duration) var(--anim-ease), background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    }

    .wp-lang-switcher-v8__list button:hover,
    .wp-lang-switcher-v8__list a:hover {
        transform: translateX(-2px);
        background: var(--accent);
        border-color: transparent;
        color: var(--accent-contrast);
    }