:root {
    --accent: #ffaa33; /* Pomarańczowy kolor z sade_itemmenu */
    --accent-glow: rgba(255, 170, 51, 0.4);
    --bg-dark: #0a0b0d; /* Główny kolor tła z sade_itemmenu */
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --box-bg: rgba(18, 20, 24, 0.6); /* Zbliżony do --bg-panel z itemmenu */
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

/* Przywracamy normalne zachowanie tła dla body */
body {
    background-color: transparent; /* Żeby można było wrzucić własne tło w pliku index */
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Tło z obrazkiem */
.main-bg {
    position: fixed;
    inset: 0;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at center, rgba(18, 20, 24, 0.8) 0%, var(--bg-dark) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;
}
.bg-logo {
    position: absolute;
    width: 450px;
    height: 450px;
    opacity: 0.12; /* Odrobinę zwiększona widoczność, żeby przy mocnym blurze nadal było coś widać */
    filter: blur(25px); /* Bardzo mocny blur */
    z-index: 0;
    pointer-events: none; /* Żeby nie dało się na nie kliknąć */
    animation: floatLogo 20s ease-in-out infinite; /* Zwolniona animacja, by było subtelniej */
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-40px) rotate(10deg) scale(1.1); }
}

.logo-1 {
    top: 5%;
    left: 5%;
    width: 600px; /* Zwiększone z 350px */
    height: 600px;
    filter: blur(30px); /* Lepsze rozmycie przy większym rozmiarze */
    animation-delay: 0s;
}

.logo-2 {
    bottom: 5%;
    right: 5%;
    width: 700px; /* Zwiększone z 450px */
    height: 700px;
    filter: blur(35px);
    opacity: 0.1;
    animation-delay: 3s;
}

.logo-3 {
    top: 30%;
    right: 20%;
    width: 400px; /* Zwiększone z 200px */
    height: 400px;
    filter: blur(25px);
    opacity: 0.12;
    animation-delay: 6s;
}

/* --- Nawigacja --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.nav-center a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-center a:hover {
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.discord-btn {
    background: var(--accent);
    color: #000;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.discord-btn:hover {
    transform: translateY(-2px);
}

/* --- Hero Section & Slider --- */
.hero {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- Nowoczesne Strzałki UI (Linie) --- */
.slider-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    cursor: pointer;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.arrow-line {
    width: 2px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

.prev-arrow .arrow-line-top { transform: rotate(35deg) translateY(5px); }
.prev-arrow .arrow-line-bottom { transform: rotate(-35deg) translateY(-5px); }

.next-arrow .arrow-line-top { transform: rotate(-35deg) translateY(5px); }
.next-arrow .arrow-line-bottom { transform: rotate(35deg) translateY(-5px); }

.slider-arrow:hover .arrow-line {
    background-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 170, 51, 0.5);
    height: 35px;
}

.prev-arrow:hover .arrow-line-top { transform: rotate(45deg) translateY(8px); }
.prev-arrow:hover .arrow-line-bottom { transform: rotate(-45deg) translateY(-8px); }

.next-arrow:hover .arrow-line-top { transform: rotate(-45deg) translateY(8px); }
.next-arrow:hover .arrow-line-bottom { transform: rotate(45deg) translateY(-8px); }

/* --- Animacje Strony --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.main-title {
    display: flex;
    gap: 15px;
    margin-bottom: 50px; /* Zwiększony margines, by oddzielić od zegarów po usunięciu napisów */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.question-mark {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent);
    animation: float 4s ease-in-out infinite;
}

.question-mark:nth-child(1) { animation-delay: 0s; }
.question-mark:nth-child(2) { animation-delay: 0.2s; }
.question-mark:nth-child(3) { animation-delay: 0.4s; }

/* --- Wyróżnienie Specjalne (Wtorek 19:00, Środa 20:00) --- */
.special-stage .question-mark {
    -webkit-text-stroke: 3px transparent; /* Ukrywamy standardową obwódkę */
    color: transparent;
    background: linear-gradient(180deg, #ffaa33, #ff4757); /* Gradient wewnątrz liter */
    -webkit-background-clip: text; /* Wypełnienie tylko w literze */
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 170, 51, 0.4); /* Delikatna poświata z tyłu */
    animation: float-fast 1s ease-in-out infinite, pulse-gradient 3s infinite;
}

.special-stage .time-value {
    color: transparent;
    background: linear-gradient(180deg, #ffaa33, #ff4757);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 15px rgba(255, 170, 51, 0.3);
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-gradient {
    0%, 100% { filter: brightness(1) hue-rotate(0deg); }
    50% { filter: brightness(1.5) hue-rotate(15deg); }
}

.subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 50px; /* MAŁA, LEKKA PRZERWA MIĘDZY TEKSTEM A ZEGARAMI */
    max-width: 500px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* --- Countdown --- */
.countdown {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.time-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-value {
    font-size: 72px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.time-label {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 5px;
}

.time-separator {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 300;
    margin-top: -25px;
}

/* --- Scroll Indicator --- */
.scroll-down {
    display: none;
}

/* (Usunięty stary kod ramki) */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }
    .nav-center {
        display: none; /* Ukrywamy linki na mniejszych ekranach */
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 50px;
    }
    .countdown {
        gap: 8px;
    }
    .time-box {
        width: 80px;
        height: 80px;
    }
    .time-box .value {
        font-size: 32px;
    }
    .separator {
        font-size: 20px;
    }
}
