/* =============================================================================
   Hobbit - Wymiana Gier Rzeszów (wymianagier.com)
   Modern Dark-Gaming Theme & Design Tokens
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --hobbit-bg-dark: #080b11;
    --hobbit-bg-body: #0d121d;
    --hobbit-bg-card: #141b2b;
    --hobbit-bg-card-hover: #1b2438;
    --hobbit-bg-glass: rgba(20, 27, 43, 0.78);
    --hobbit-border: rgba(255, 255, 255, 0.08);
    --hobbit-border-glow: rgba(255, 107, 0, 0.4);
    
    --hobbit-orange: #ff6b00;
    --hobbit-orange-hover: #ff8533;
    --hobbit-orange-glow: rgba(255, 107, 0, 0.35);
    
    --hobbit-yellow: #ffb703;
    --hobbit-blue: #0070d1;
    --hobbit-green: #107c10;
    --switch-red: #e60012;
    --switch-blue: #00a2ed;
    --allegro-orange: #ff5a00;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(255, 107, 0, 0.25);
    --shadow-ps: 0 0 25px rgba(0, 112, 209, 0.25);
    --shadow-xbox: 0 0 25px rgba(16, 124, 16, 0.25);
    --shadow-switch: 0 0 25px rgba(230, 0, 18, 0.25);
}

/* =============================================================================
   Light Mode Theme Overrides
   ============================================================================= */
[data-theme="light"] {
    --hobbit-bg-dark: #f1f5f9;
    --hobbit-bg-body: #f8fafc;
    --hobbit-bg-card: #ffffff;
    --hobbit-bg-card-hover: #f8fafc;
    --hobbit-bg-glass: rgba(255, 255, 255, 0.88);
    --hobbit-border: rgba(15, 23, 42, 0.1);
    --hobbit-border-glow: rgba(255, 107, 0, 0.4);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

/* Base resets & typography */
body {
    background-color: var(--hobbit-bg-body);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--hobbit-orange);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--hobbit-orange-hover);
    text-decoration: none;
}

/* =============================================================================
   Header & Navigation
   ============================================================================= */
.hobbit-topbar {
    background: #06080d;
    border-bottom: 1px solid var(--hobbit-border);
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-muted);
}

.hobbit-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    color: var(--text-secondary);
}

.hobbit-topbar-item i {
    color: var(--hobbit-orange);
}

.hobbit-topbar-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
}

.hobbit-navbar {
    background: rgba(13, 18, 29, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hobbit-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0 0 0;
    transition: all 0.3s ease;
}

.hobbit-navbar > .container {
    padding-bottom: 12px;
}

.hobbit-navbar.scrolled {
    padding: 8px 0 0 0;
    background: rgba(8, 11, 17, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hobbit-navbar.scrolled > .container {
    padding-bottom: 8px;
}

.hobbit-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hobbit-brand img,
.hobbit-brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    border: none;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.15)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.hobbit-brand:hover img,
.hobbit-brand:hover .hobbit-brand-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.25)) drop-shadow(0 4px 14px rgba(255, 170, 0, 0.35));
}

[data-theme="light"] .hobbit-brand img,
[data-theme="light"] .hobbit-brand-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

[data-theme="light"] .hobbit-brand:hover img,
[data-theme="light"] .hobbit-brand:hover .hobbit-brand-logo {
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
}

.hobbit-footer-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.15)) drop-shadow(0 3px 12px rgba(0, 0, 0, 0.6));
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.hobbit-footer-logo:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.25)) drop-shadow(0 4px 16px rgba(255, 170, 0, 0.4));
}

[data-theme="light"] .hobbit-footer-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

@media (max-width: 576px) {
    .hobbit-brand img,
    .hobbit-brand-logo {
        height: 44px;
    }
}

.hobbit-brand-text {
    display: flex;
    flex-direction: column;
}

.hobbit-brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #ffffff 40%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hobbit-brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--hobbit-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hobbit-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hobbit-nav-link {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.hobbit-nav-link:hover,
.hobbit-nav-link.active {
    color: #ffffff;
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.3);
}

.hobbit-nav-link.active {
    color: var(--hobbit-orange);
    font-weight: 600;
}

/* Hobbit Dropdown Menu */
.hobbit-dropdown-menu {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px;
    min-width: 260px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    margin-top: 10px !important;
}

.hobbit-dropdown-menu .dropdown-item {
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    color: #e2e8f0;
}

.hobbit-dropdown-menu .dropdown-item:hover,
.hobbit-dropdown-menu .dropdown-item:focus {
    background: rgba(255, 107, 0, 0.14);
    color: #ffffff;
    transform: translateX(3px);
}

.hobbit-dropdown-menu .dropdown-item.active {
    background: rgba(255, 107, 0, 0.22);
    color: var(--hobbit-orange);
}

[data-theme="light"] .hobbit-dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .hobbit-dropdown-menu .dropdown-item {
    color: #1e293b;
}

[data-theme="light"] .hobbit-dropdown-menu .dropdown-item:hover {
    background: rgba(255, 107, 0, 0.08);
    color: var(--hobbit-orange);
}

/* Allegro Badge Button */
.btn-allegro {
    background: linear-gradient(135deg, #ff5a00 0%, #ff7700 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.35);
    border: none;
    transition: all 0.25s ease;
}

.btn-allegro:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.5);
    color: #ffffff !important;
}

/* =============================================================================
   Hero Section
   ============================================================================= */
.hobbit-hero {
    position: relative;
    padding: 100px 0 120px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 112, 209, 0.1) 0%, transparent 45%),
                var(--hobbit-bg-dark);
    overflow: hidden;
    border-bottom: 1px solid var(--hobbit-border);
}

.hobbit-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/img/hero_hobbit_bg.webp') center/cover no-repeat;
    opacity: 0.18;
    filter: blur(2px);
    z-index: 0;
}

.hobbit-hero .container {
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: var(--hobbit-orange);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff7a18 0%, #af002d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

/* Primary Button */
.btn-hobbit-primary {
    background: linear-gradient(135deg, var(--hobbit-orange) 0%, #e05500 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px var(--hobbit-orange-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: all 0.25s ease;
}

.btn-hobbit-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
    color: #ffffff !important;
}

/* Secondary Button */
.btn-hobbit-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hobbit-border);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.btn-hobbit-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Showcase Image Card */
.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--hobbit-border);
    background: var(--hobbit-bg-card);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
    transform: scale(1.03);
}

.hero-image-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    background: rgba(13, 18, 29, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--hobbit-border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =============================================================================
   Pillars & Feature Cards
   ============================================================================= */
.hobbit-card {
    background: var(--hobbit-bg-card);
    border: 1px solid var(--hobbit-border);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hobbit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hobbit-orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hobbit-card:hover {
    transform: translateY(-6px);
    background: var(--hobbit-bg-card-hover);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.hobbit-card:hover::before {
    opacity: 1;
}

.hobbit-card-img {
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 22px;
}

.hobbit-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hobbit-card:hover .hobbit-card-img img {
    transform: scale(1.06);
}

.hobbit-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 107, 0, 0.12);
    color: var(--hobbit-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 0, 0.25);
}

.hobbit-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.hobbit-card-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Platform tags */
.platform-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    margin-bottom: 14px;
    overflow: hidden;
}

.p-tag {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    white-space: nowrap;
    line-height: 1;
}

.p-tag.ps {
    background: rgba(0, 112, 209, 0.15);
    color: #38bdf8;
    border-color: rgba(0, 112, 209, 0.3);
}

.p-tag.switch {
    background: rgba(230, 0, 18, 0.15);
    color: #f87171;
    border-color: rgba(230, 0, 18, 0.3);
}

.p-tag.xbox {
    background: rgba(16, 124, 16, 0.15);
    color: #4ade80;
    border-color: rgba(16, 124, 16, 0.3);
}

/* =============================================================================
   Allegro Promo Banner
   ============================================================================= */
.allegro-banner {
    background: linear-gradient(135deg, #1b1622 0%, #261612 100%);
    border: 1px solid rgba(255, 90, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.allegro-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================================================
   Contact Form & Cloudflare Turnstile
   ============================================================================= */
.hobbit-form-card {
    background: var(--hobbit-bg-card);
    border: 1px solid var(--hobbit-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.hobbit-label {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    display: block;
}

.hobbit-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.hobbit-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.2s ease;
}

.hobbit-input,
.hobbit-textarea,
.hobbit-select {
    width: 100%;
    background: #090d16;
    border: 1px solid var(--hobbit-border);
    border-radius: var(--radius-sm);
    color: #ffffff;
    padding: 12px 16px 12px 44px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.hobbit-textarea {
    padding-left: 16px;
    min-height: 130px;
    resize: vertical;
}

.hobbit-input:focus,
.hobbit-textarea:focus,
.hobbit-select:focus {
    border-color: var(--hobbit-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
    background: #0c111d;
}

.hobbit-input-wrap:focus-within i {
    color: var(--hobbit-orange);
}

.turnstile-box {
    margin: 20px 0;
    min-height: 65px;
}

/* =============================================================================
   Info & Map Cards
   ============================================================================= */
.hobbit-info-card {
    background: var(--hobbit-bg-card);
    border: 1px solid var(--hobbit-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    height: 100%;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: var(--radius-sm);
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--hobbit-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-content h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-content p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--hobbit-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 380px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================================================
   Footer
   ============================================================================= */
.hobbit-footer {
    background: #06080d;
    border-top: 1px solid var(--hobbit-border);
    padding: 70px 0 25px;
}

.footer-widget-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--hobbit-orange);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--hobbit-orange);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13.5px;
    color: var(--text-muted);
}

/* =============================================================================
   Theme Toggle Switch Button
   ============================================================================= */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--hobbit-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.25s ease;
    padding: 0;
}

.theme-toggle-btn:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--hobbit-orange);
    transform: rotate(15deg);
}

/* Light mode icon visibility */
[data-theme="light"] .theme-toggle-btn .fa-sun {
    display: none;
}
[data-theme="light"] .theme-toggle-btn .fa-moon {
    display: inline-block;
    color: #475569;
}

[data-theme="dark"] .theme-toggle-btn .fa-sun,
:root:not([data-theme="light"]) .theme-toggle-btn .fa-sun {
    display: inline-block;
    color: #fbbf24;
}
[data-theme="dark"] .theme-toggle-btn .fa-moon,
:root:not([data-theme="light"]) .theme-toggle-btn .fa-moon {
    display: none;
}

/* =============================================================================
   Light Mode Specific Component Styles
   ============================================================================= */
[data-theme="light"] .hobbit-topbar {
    background: #e2e8f0;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hobbit-topbar-item {
    color: #475569;
}

[data-theme="light"] .hobbit-topbar .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .hobbit-navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hobbit-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hobbit-brand-name {
    background: linear-gradient(135deg, #0f172a 40%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hobbit-nav-link {
    color: #334155;
}

[data-theme="light"] .hobbit-nav-link:hover,
[data-theme="light"] .hobbit-nav-link.active {
    color: var(--hobbit-orange);
    background: rgba(255, 107, 0, 0.08);
}

[data-theme="light"] .hobbit-hero {
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 112, 209, 0.08) 0%, transparent 45%),
                #f8fafc;
}

[data-theme="light"] .hobbit-hero::before {
    opacity: 0.08;
}

[data-theme="light"] .hero-title {
    color: #0f172a;
}

[data-theme="light"] .hero-desc {
    color: #334155;
}

[data-theme="light"] .btn-hobbit-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-hobbit-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

[data-theme="light"] .hero-image-card {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero-image-badge {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-image-badge .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .hobbit-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hobbit-card:hover {
    background: #ffffff;
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), var(--shadow-glow);
}

[data-theme="light"] .hobbit-card-title {
    color: #0f172a;
}

[data-theme="light"] .hobbit-card-text {
    color: #475569;
}

[data-theme="light"] section[style*="background: #090d16"],
[data-theme="light"] section[style*="background:#090d16"] {
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] section[style*="background: #080b11"],
[data-theme="light"] section[style*="background:#080b11"] {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .text-light {
    color: #1e293b !important;
}

[data-theme="light"] .text-secondary {
    color: #475569 !important;
}

[data-theme="light"] .p-tag {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #334155;
}

[data-theme="light"] .hobbit-form-card,
[data-theme="light"] .hobbit-info-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hobbit-label {
    color: #1e293b;
}

[data-theme="light"] .hobbit-input,
[data-theme="light"] .hobbit-textarea,
[data-theme="light"] .hobbit-select {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .hobbit-input:focus,
[data-theme="light"] .hobbit-textarea:focus,
[data-theme="light"] .hobbit-select:focus {
    background: #ffffff;
    border-color: var(--hobbit-orange);
}

[data-theme="light"] .info-content p {
    color: #0f172a;
}

[data-theme="light"] .hobbit-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hobbit-footer .text-white {
    color: #ffffff !important;
}

[data-theme="light"] .hobbit-footer .text-light {
    color: #f1f5f9 !important;
}

[data-theme="light"] .hobbit-footer .text-secondary {
    color: #94a3b8 !important;
}

[data-theme="light"] .allegro-banner {
    background: linear-gradient(135deg, #261612 0%, #1b1622 100%);
}

[data-theme="light"] .allegro-banner .text-white {
    color: #ffffff !important;
}

[data-theme="light"] .allegro-banner .text-secondary {
    color: #cbd5e1 !important;
}

/* =============================================================================
   Responsive Fixes & Mobile Drawer
   ============================================================================= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 38px;
    }
    
    .hobbit-hero {
        padding: 60px 0 80px;
    }
    
    .hobbit-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hobbit-primary,
    .btn-hobbit-outline {
        justify-content: center;
    }
    
    .hobbit-form-card {
        padding: 24px 16px;
    }
}

/* =============================================================================
   Hobbit Announcement Marquee Ticker Bar
   ============================================================================= */
.hobbit-announcement-bar {
    position: relative;
    z-index: 990;
    width: 100%;
    font-size: 13.5px;
    font-weight: 500;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hobbit-announcement-inner {
    display: flex;
    align-items: center;
    position: relative;
    padding: 7px 12px;
}

.hobbit-announcement-badge {
    flex-shrink: 0;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    margin-right: 12px;
}

.hobbit-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
}

.hobbit-ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: hobbitTicker 28s linear infinite;
}

.hobbit-ticker-track:hover .hobbit-ticker-content {
    animation-play-state: paused;
}

.hobbit-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
}

.hobbit-ticker-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
    color: inherit;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.hobbit-ticker-link:hover {
    opacity: 1;
}

@keyframes hobbitTicker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    /* Na mobilce navbar oraz announcement bar są statyczne i nie zasłaniają ekranu */
    .hobbit-navbar {
        position: relative !important;
        top: auto !important;
    }
    
    .hobbit-announcement-bar {
        font-size: 12.5px;
    }
    .hobbit-announcement-inner {
        padding: 6px 8px;
    }
    .hobbit-announcement-badge {
        font-size: 10px;
        padding: 2px 7px;
        margin-right: 8px;
    }
    .hobbit-ticker-item {
        padding: 0 18px;
    }
}


