:root {
    /* Głęboka taktyczna paleta HSL */
    --bg-dark: 145, 18%, 5%;
    --bg-deep: 145, 15%, 8%;
    --bg-card: 145, 12%, 11%;
    --bg-card-light: 145, 10%, 15%;
    
    --accent-gold: 45, 75%, 52%;
    --accent-gold-rgb: 212, 175, 55;
    --accent-red: 0, 75%, 45%;
    --accent-red-hover: 0, 80%, 55%;
    --accent-green: 145, 70%, 40%;
    
    --text-light: 210, 40%, 96%;
    --text-muted: 215, 15%, 72%;
    --text-dark: 215, 20%, 45%;
    
    --border-color: rgba(var(--accent-gold-rgb), 0.12);
    --border-hover: rgba(var(--accent-gold-rgb), 0.35);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--bg-dark));
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(20, 35, 27, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(10, 25, 18, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(5, 10, 8, 0.9) 0%, hsl(var(--bg-dark)) 100%);
    color: hsl(var(--text-light));
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 4px;
    border: 2px solid hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-gold-rgb), 0.5);
}

/* Top Bar */
.top-bar {
    background-color: #030604;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 0.78rem;
    color: hsl(var(--text-muted));
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Header */
header {
    background-color: rgba(6, 12, 9, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-group:hover {
    transform: translateY(-1px);
}

.logo-group img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    border: 3px solid hsl(var(--accent-gold));
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.3);
}

.logo-text h1 {
    font-size: 1.25rem;
    color: hsl(var(--accent-gold));
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: hsl(var(--text-muted));
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: hsl(var(--text-light));
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: hsl(var(--accent-gold));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

nav a:hover {
    color: hsl(var(--accent-gold));
}

nav a:hover::after {
    width: 100%;
}

/* Hero Layout */
.hero {
    padding: 100px 20px 110px;
    text-align: center;
    background: 
        radial-gradient(circle at center, rgba(20, 35, 27, 0.45) 0%, rgba(6, 10, 8, 1) 75%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0l40 40-40 40L0 40z' fill='%23d4af37' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, hsl(var(--bg-dark)), transparent);
    pointer-events: none;
}

.hero-logo-box {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.hero-logo-box::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--accent-gold-rgb), 0.35);
    animation: rotate-clockwise 45s linear infinite;
}

.hero-logo-box img {
    width: 380px;
    height: 380px;
    object-fit: contain;
    background: #ffffff;
    padding: 12px;
    border-radius: 50%;
    border: 4px solid hsl(var(--accent-gold));
    box-shadow: 0 0 50px rgba(var(--accent-gold-rgb), 0.35);
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 4.8rem;
    color: hsl(var(--accent-gold));
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 0 25px rgba(var(--accent-gold-rgb), 0.3);
    letter-spacing: 3px;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: hsl(var(--text-muted));
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, hsl(var(--accent-gold)), transparent);
    margin: 0 auto;
}

/* Container & Sections */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

section {
    background-color: hsl(var(--bg-card));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-gold-rgb), 0.4), transparent);
}

.section-header {
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.08);
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header h2 {
    color: hsl(var(--accent-gold));
    font-size: 1.9rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-header-icon {
    color: hsl(var(--accent-gold));
    width: 28px;
    height: 28px;
}

/* Sekcja Aktualności / Kafelki */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.news-img-box {
    width: 100%;
    height: 190px;
    background: #08100b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.news-img-box img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.news-card:hover .news-img-box img {
    transform: scale(1.08);
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-tag {
    font-size: 0.78rem;
    color: hsl(var(--accent-gold));
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.news-body h3 {
    font-size: 1.15rem;
    color: hsl(var(--text-light));
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-body p {
    font-size: 0.92rem;
    color: hsl(var(--text-muted));
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.news-link {
    color: hsl(var(--accent-gold));
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.news-link:hover {
    color: #ffffff;
    gap: 10px;
    text-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.4);
}

.news-bottom-action {
    margin-top: 35px;
    text-align: center;
}

.news-main-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: rgba(20, 35, 27, 0.7);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.4);
    border-radius: 10px;
    color: hsl(var(--accent-gold));
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition-smooth);
}

.news-main-fb-btn:hover {
    background: rgba(var(--accent-gold-rgb), 0.15);
    border-color: hsl(var(--accent-gold));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.3);
}

/* Sekcja Aktualności - Layout wyśrodkowany & Moduł Facebook */
.news-layout {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    width: 100%;
}

.news-cards-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-cards-col .news-card {
    flex: 1;
}

.news-fb-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
}

.fb-widget-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 540px;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.fb-widget-card:hover {
    border-color: var(--border-hover);
}

.fb-card-header {
    background: rgba(8, 16, 11, 0.92);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: hsl(var(--accent-gold));
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.fb-header-title svg {
    color: #1877f2;
}

.fb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    color: hsl(var(--text-muted));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: fb-pulse 2s infinite;
}

@keyframes fb-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.fb-card-body {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #060c08;
    overflow: hidden;
    min-height: 480px;
}

/* Loader wczytywania */
.fb-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: hsl(var(--bg-card));
    z-index: 2;
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.fb-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(var(--accent-gold-rgb), 0.15);
    border-top-color: hsl(var(--accent-gold));
    border-radius: 50%;
    animation: rotate-clockwise 1s linear infinite;
}

/* Widżet Iframe */
.fb-page-iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: none;
    overflow: hidden;
    display: block;
    background: #ffffff;
}

/* Fallback AdBlock */
.fb-adblock-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 28px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 25%, rgba(20, 35, 27, 0.7) 0%, rgba(6, 12, 9, 0.96) 100%);
}

.fb-adblock-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(var(--accent-gold-rgb), 0.1);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: hsl(var(--accent-gold));
    box-shadow: 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.fb-adblock-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: hsl(var(--text-light));
    margin-bottom: 14px;
}

.fb-adblock-desc {
    font-size: 0.93rem;
    color: hsl(var(--text-muted));
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 26px;
}

.fb-adblock-desc strong {
    color: hsl(var(--accent-gold));
}

.fb-fallback-btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: 14px 24px;
    text-align: center;
}

.fb-adblock-hint {
    margin-top: 20px;
    font-size: 0.78rem;
    color: hsl(var(--text-dark));
    line-height: 1.5;
    max-width: 380px;
}


/* Grid O nas / Cele */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.card-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.08);
    padding: 35px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: radial-gradient(circle at top right, rgba(var(--accent-gold-rgb), 0.03), transparent 60%);
    pointer-events: none;
}

.card-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 
        0 15px 35px -15px rgba(0,0,0,0.8),
        0 0 15px rgba(var(--accent-gold-rgb), 0.05);
}

.card-icon-container {
    width: 48px;
    height: 48px;
    background: rgba(var(--accent-gold-rgb), 0.07);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent-gold));
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}

.card-item:hover .card-icon-container {
    background: rgba(var(--accent-gold-rgb), 0.15);
    border-color: rgba(var(--accent-gold-rgb), 0.5);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.25);
}

.card-icon {
    width: 24px;
    height: 24px;
}

.card-item h3 {
    color: hsl(var(--text-light));
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.card-item p {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Regulamin Section */
.regulamin-list {
    list-style: none;
    counter-reset: regulamin-counter;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.regulamin-list li {
    counter-increment: regulamin-counter;
    position: relative;
    padding: 18px 20px 18px 60px;
    background: rgba(20, 35, 27, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
    line-height: 1.7;
    transition: var(--transition-smooth);
}

.regulamin-list li:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    background: rgba(20, 35, 27, 0.7);
    transform: translateX(4px);
}

.regulamin-list li::before {
    content: '§' counter(regulamin-counter);
    position: absolute;
    left: 16px;
    top: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: hsl(var(--accent-gold));
    opacity: 0.85;
}

/* Sekcja Kontakt z Mapą Google */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-info-card {
    background-color: rgba(255, 255, 255, 0.015);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}

.contact-header h3 {
    color: hsl(var(--accent-gold));
    font-size: 1.35rem;
    border-left: 3px solid hsl(var(--accent-gold));
    padding-left: 12px;
    margin-bottom: 10px;
}

.contact-header p {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon-wrapper {
    color: hsl(var(--accent-gold));
    background: rgba(var(--accent-gold-rgb), 0.06);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.info-group:hover .info-icon-wrapper {
    background: rgba(var(--accent-gold-rgb), 0.12);
    border-color: hsl(var(--accent-gold));
    color: #ffffff;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.15);
}

.info-icon {
    width: 20px;
    height: 20px;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-details strong {
    color: hsl(var(--text-muted));
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.info-details span, .info-details a {
    color: hsl(var(--text-light));
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-details a:hover {
    color: hsl(var(--accent-gold));
    text-shadow: 0 0 8px rgba(var(--accent-gold-rgb), 0.2);
}

.map-box {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    height: 100%;
    min-height: 420px;
    position: relative;
    transition: var(--transition-smooth);
}

.map-box:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.35);
}

.map-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #030604;
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 35px 20px;
    font-size: 0.82rem;
    color: hsl(var(--text-dark));
    letter-spacing: 0.5px;
}

footer p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animations */
@keyframes rotate-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Layouts */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .map-box {
        min-height: 380px;
    }
    .hero h2 {
        font-size: 2.3rem;
    }
    section {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .top-bar-container {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .hero {
        padding: 60px 20px 70px;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .logo-group img {
        width: 100px;
        height: 100px;
    }
    .hero-logo-box img {
        width: 240px;
        height: 240px;
    }
    .grid-layout {
        grid-template-columns: 1fr;
    }
    section {
        padding: 25px 15px;
    }
}