/* ============================================
   AVALANCHE - TIBIJSKI KALENDARZ ADWENTOWY
   Modern Glassmorphism Design
   ============================================ */

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

:root {
    /* Główne kolory */
    --bg-dark: #0a0a0f;
    --bg-gradient-1: #0d0d14;
    --bg-gradient-2: #12121c;

    /* Złoto Tibia */
    --gold-50: #fffef0;
    --gold-100: #fefcdc;
    --gold-200: #fdf8b8;
    --gold-300: #fcf28a;
    --gold-400: #f9e85c;
    --gold-500: #f5d429;
    --gold-600: #d4a913;
    --gold-700: #a17a0b;
    --gold-800: #6b5008;
    --gold-900: #3a2c05;

    /* Czerwień świąteczna */
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;

    /* Lodowy błękit */
    --ice-300: #93c5fd;
    --ice-400: #60a5fa;
    --ice-500: #3b82f6;

    /* Glass efekt */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);

    /* Tekst */
    --text-white: #ffffff;
    --text-gray-100: #f3f4f6;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --text-gray-500: #6b7280;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

/* Tło z grafiką Tibia */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Overlay przyciemniający tło */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(10, 10, 15, 0.75) 50%,
        rgba(10, 10, 15, 0.9) 100%
    );
    z-index: 1;
}

/* Animowane gradienty kolorowe */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 169, 19, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(185, 28, 28, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* Siatka w tle */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 3;
}

/* ============================================
   KONTENER
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 10;
}

/* ============================================
   NAGŁÓWEK
   ============================================ */

.header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-top: 20px;
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(245, 212, 41, 0.12) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(40px);
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(245, 212, 41, 0.3));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(245, 212, 41, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(245, 212, 41, 0.5)); }
}

.kick-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-gray-300);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.kick-link:hover {
    background: rgba(83, 252, 24, 0.1);
    border-color: rgba(83, 252, 24, 0.3);
    color: #53fc18;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(83, 252, 24, 0.15);
}

.kick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #53fc18;
    color: #000;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* ============================================
   SIATKA KALENDARZA
   ============================================ */

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   OKIENKO KALENDARZA - NOWOCZESNY DESIGN
   ============================================ */

.calendar-door {
    aspect-ratio: 1;
    perspective: 1500px;
    cursor: pointer;
}

.door-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.calendar-door.opened .door-inner {
    transform: rotateY(-180deg);
}

/* PRZEDNIA STRONA - Glassmorphism */
.door-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient overlay */
.door-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    border-radius: 24px;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Shine effect */
.door-front::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    transition: transform 0.6s ease;
}

.calendar-door:hover .door-front::after {
    transform: translateX(50%) translateY(50%);
}

.calendar-door:hover .door-front {
    border-color: rgba(245, 212, 41, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 212, 41, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Numer dnia */
.door-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.calendar-door:hover .door-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(245, 212, 41, 0.5));
}

/* Dekoracje - minimalistyczne */
.door-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

.door-ribbon {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--red-500) 20%, var(--red-500) 80%, transparent 100%);
    left: 50%;
    transform: translateX(-50%);
}

.door-ribbon-h {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--red-500) 20%, var(--red-500) 80%, transparent 100%);
    top: 50%;
    transform: translateY(-50%);
}

.door-bow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--red-500);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* TYLNA STRONA - Nagroda */
.door-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    background: linear-gradient(145deg, rgba(21, 94, 21, 0.3) 0%, rgba(10, 46, 10, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 40px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.reward-container {
    text-align: center;
}

.tc-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(245, 212, 41, 0.6));
    animation: float 3s ease-in-out infinite;
}

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

.reward-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(245, 212, 41, 0.3));
}

.reward-tc {
    font-size: 0.875rem;
    color: var(--text-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Specjalny dzień 24 */
.calendar-door.special .door-front {
    background: linear-gradient(145deg, rgba(185, 28, 28, 0.15) 0%, rgba(127, 29, 29, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.calendar-door.special .door-number {
    background: linear-gradient(180deg, var(--red-400) 0%, var(--red-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-door.special:hover .door-front {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(239, 68, 68, 0.2);
}

/* Zablokowane okienka */
.calendar-door.locked {
    cursor: not-allowed;
}

.calendar-door.locked .door-front {
    opacity: 0.5;
    filter: grayscale(40%);
}

.calendar-door.locked:hover .door-front {
    transform: none;
    border-color: var(--glass-border);
    box-shadow: none;
    background: var(--glass-bg);
}

.calendar-door.locked:hover .door-number {
    transform: none;
    filter: none;
}

.lock-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-door.locked .lock-icon {
    opacity: 0.7;
}

.calendar-door:not(.locked) .lock-icon {
    display: none;
}

/* Wysokie nagrody */
.calendar-door.high-reward .door-back {
    background: linear-gradient(145deg, rgba(180, 140, 20, 0.2) 0%, rgba(120, 90, 10, 0.15) 100%);
    border-color: rgba(245, 212, 41, 0.3);
    box-shadow:
        0 0 60px rgba(245, 212, 41, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.calendar-door.high-reward .reward-value {
    font-size: 2.8rem;
    animation: goldPulse 2s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(245, 212, 41, 0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(245, 212, 41, 0.6)); }
}

/* ============================================
   LOGIN MODAL
   ============================================ */

.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 48px 56px;
    text-align: center;
    box-shadow:
        0 0 80px rgba(245, 212, 41, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.login-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 1rem;
    color: var(--text-gray-400);
    margin-bottom: 32px;
}

.login-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.login-input {
    flex: 1;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: rgba(245, 212, 41, 0.4);
    box-shadow: 0 0 20px rgba(245, 212, 41, 0.1);
}

.login-input::placeholder {
    color: var(--text-gray-500);
}

.login-btn {
    padding: 16px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 212, 41, 0.3);
}

.login-error {
    color: var(--red-500);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 8px;
}

.login-error.visible {
    opacity: 1;
}

.login-cancel {
    margin-top: 20px;
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray-400);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-cancel:hover {
    color: var(--text-gray-200);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* ============================================
   MODAL - Nowoczesny Design
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 48px 64px;
    text-align: center;
    box-shadow:
        0 0 80px rgba(245, 212, 41, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 212, 41, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-day {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray-400);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.modal-day span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

.modal-reward {
    margin: 40px 0;
}

.tc-icon-large {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 30px rgba(245, 212, 41, 0.6));
    animation: coinBounce 2s ease-in-out infinite;
}

@keyframes coinBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.reward-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(245, 212, 41, 0.4));
}

.reward-label {
    font-size: 1rem;
    color: var(--text-gray-400);
    display: block;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.modal-message {
    font-size: 1.25rem;
    color: var(--text-gray-300);
    margin: 24px 0 32px;
    font-weight: 400;
}

.modal-close {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    border: none;
    padding: 16px 48px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-dark);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(245, 212, 41, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 212, 41, 0.4);
}

.modal-close:active {
    transform: translateY(0);
}

/* ============================================
   ŚNIEG - Delikatniejszy
   ============================================ */

.snowflakes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: fall linear infinite;
    filter: blur(0.5px);
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   ŚWIATEŁKA - Eleganckie - PEŁNA SZEROKOŚĆ
   ============================================ */

.lights-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    pointer-events: none;
}

.lights {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    width: 100%;
}

.light {
    width: 12px;
    height: 20px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: lightGlow 2s ease-in-out infinite;
}

.light::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 2px;
}

.light::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, #1a472a, #2d5a3d);
    transform: translateX(-50%);
}

.light.red {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #dc2626);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.6), 0 0 30px rgba(220, 38, 38, 0.3);
}
.light.gold {
    background: radial-gradient(circle at 30% 30%, #fde047, #d4a913);
    box-shadow: 0 0 15px rgba(212, 169, 19, 0.6), 0 0 30px rgba(212, 169, 19, 0.3);
}
.light.blue {
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6), 0 0 30px rgba(37, 99, 235, 0.3);
}
.light.green {
    background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a);
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.6), 0 0 30px rgba(22, 163, 74, 0.3);
}

@keyframes lightGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.light:nth-child(4n+1) { animation-delay: 0s; }
.light:nth-child(4n+2) { animation-delay: 0.5s; }
.light:nth-child(4n+3) { animation-delay: 1s; }
.light:nth-child(4n+4) { animation-delay: 1.5s; }

/* ============================================
   STOPKA
   ============================================ */

.footer {
    text-align: center;
    margin-top: 80px;
    padding: 32px;
    border-top: 1px solid var(--glass-border);
}

.total-rewards {
    font-size: 1rem;
    color: var(--text-gray-500);
    font-weight: 400;
    margin-bottom: 20px;
}

.total-tc {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.tc-icon-small {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 8px;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray-500);
}

.sedron-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray-300);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sedron-link:hover {
    background: rgba(83, 252, 24, 0.1);
    border-color: rgba(83, 252, 24, 0.3);
    color: #53fc18;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(83, 252, 24, 0.15);
}

.kick-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #53fc18;
    color: #000;
    border-radius: 4px;
    font-size: 0.6rem;
}

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */

@media (max-width: 1300px) {
    .calendar-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .door-number {
        font-size: 3rem;
    }
}

@media (max-width: 1100px) {
    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .title {
        font-size: 3rem;
    }

    .kick-link {
        font-size: 1.1rem;
        padding: 10px 24px;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 40px 24px;
    }

    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .title {
        font-size: 2.5rem;
    }

    .door-number {
        font-size: 2.5rem;
    }

    .reward-value {
        font-size: 2rem;
    }

    .tc-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 700px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .title {
        font-size: 1.75rem;
    }

    .door-number {
        font-size: 2rem;
    }

    .header {
        margin-bottom: 50px;
    }

    .kick-link {
        font-size: 1rem;
        padding: 10px 20px;
    }

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