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

:root {
    /* Oficjalne kolory Enea Poznań Open */
    --primary-blue: #4154a2;        /* Granatowy z strony */
    --secondary-blue: #2a3875;      /* Ciemniejszy granat */
    --accent-green: #b3d231;        /* Limonkowa zieleń */
    --accent-green-hover: #9bc51d;  /* Ciemniejsza zieleń */
    --dark-bg: #1a2454;             /* Bardzo ciemny granat */
    --light-bg: #5968ab;            /* Jaśniejszy granat */
    --card-bg: rgba(65, 84, 162, 0.1);  /* Przezroczysty granat */
    --text-white: #ffffff;          /* Biały */
    --text-light: #f0f4f8;          /* Jasny szary */
    --text-gray: #b8c2d7;           /* Szaroniebieski */
    --black: #000000;               /* Czarny */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #4154a2 0%, #2a3875 100%);
    --gradient-green: linear-gradient(135deg, #b3d231 0%, #9bc51d 100%);
    --gradient-dark: linear-gradient(135deg, #1a2454 0%, #2a3875 100%);
    --success-green: #22c55e;
    --error-red: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--gradient-dark);
    min-height: 100vh;
    color: var(--text-white);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark-bg);
}

.bg-gradient {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.bg-gradient:nth-child(1) {
    background: var(--primary-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-gradient:nth-child(2) {
    background: var(--accent-green);
    bottom: -200px;
    left: -200px;
    animation-delay: 7s;
    opacity: 0.06;
}

.bg-gradient:nth-child(3) {
    background: var(--light-bg);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    z-index: 1001;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent-green);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.hamburger-icon.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-icon.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Navigation with Glassmorphism */
.navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(26, 36, 84, 0.85);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Navigation Container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Desktop Navigation Links */
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.nav-links-desktop .nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links-desktop .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-links-desktop .nav-link:hover { color: var(--text-white); }
.nav-links-desktop .nav-link:hover::after { width: 100%; }

.nav-links-desktop .tickets-btn {
    background: var(--gradient-green);
    color: var(--dark-bg);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(179, 210, 49, 0.3);
    margin-left: 20px;
    position: relative;
    overflow: hidden;
}
.nav-links-desktop .tickets-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(179, 210, 49, 0.5);
}

/* Mobile Only Tickets Button */
.mobile-tickets-button {
    display: none;
    background: var(--gradient-green);
    color: var(--dark-bg) !important;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(179, 210, 49, 0.2);
    line-height: normal;
    position: relative;
    overflow: hidden;
}
.mobile-tickets-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(179, 210, 49, 0.4);
}
.mobile-tickets-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.mobile-tickets-button:hover::before {
    left: 100%;
}


/* Mobile Slide-out Menu Overlay */
.nav-links-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 1000;
    padding: 0;
    margin: 0;
}

.nav-links-mobile-overlay.active {
    height: 100vh;
    padding: 80px 0;
}

.nav-links-mobile-overlay .nav-link {
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease .1s, transform 0.3s ease .1s;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
}
.nav-links-mobile-overlay .nav-link:hover {
    color: var(--text-white);
}

.nav-links-mobile-overlay.active .nav-link {
    opacity: 1;
    transform: translateY(0);
}
.nav-links-mobile-overlay.active .nav-link:nth-child(1) { transition-delay: 0.2s; }
.nav-links-mobile-overlay.active .nav-link:nth-child(2) { transition-delay: 0.3s; }
.nav-links-mobile-overlay.active .nav-link:nth-child(3) { transition-delay: 0.4s; }


/* Main Content */
.main-container {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
}

.container {
    width: 100%;
    max-width: 600px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(65, 84, 162, 0.1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    margin-bottom: 20px;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-green);
    opacity: 0.8;
}

.header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
    opacity: 0.05;
}

.quiz-logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 280px;
    height: auto;
}

.header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.content {
    padding: 40px 30px;
    padding-bottom: 0; 
}

.screen {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Start Screen */
.start-screen {
    text-align: center;
    position: relative;
    margin: -40px -30px 0;
    padding: 60px 30px 40px; 
    background: linear-gradient(135deg,
        rgba(179, 210, 49, 0.05) 0%,
        rgba(65, 84, 162, 0.1) 50%,
        transparent 100%);
}

.start-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center top,
        rgba(179, 210, 49, 0.08) 0%,
        transparent 60%);
    z-index: 1;
}

.start-screen > * {
    position: relative;
    z-index: 2;
}

.tournament-date {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tournament-date span {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(179, 210, 49, 0.1);
    border: 2px solid var(--accent-green);
    border-radius: 50px;
}

.start-info {
    margin-bottom: 40px;
}

.start-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #d4ff52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.start-info p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--text-light);
}

.highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.bonus-text {
    font-size: 15px;
    color: var(--accent-green);
    margin-top: 14px;
    font-weight: 500;
    font-style: italic;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.btn {
    background: var(--gradient-green);
    color: var(--dark-bg);
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(179, 210, 49, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(179, 210, 49, 0.4);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(-1px);
}

/* Question Screen */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-green);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(179, 210, 49, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progress-shine 2s linear infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.question-number {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-percentage {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.question-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option {
    background: rgba(65, 84, 162, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 210, 49, 0.1), transparent);
    transition: left 0.5s ease;
}

.option:hover:not(.disabled) {
    border-color: var(--accent-green);
    transform: translateX(8px);
}

.option:hover:not(.disabled)::before {
    left: 0;
}

.option.disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.option-letter {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(179, 210, 49, 0.1);
    border: 2px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--accent-green);
}

.option-text {
    flex: 1;
    color: var(--text-white);
}

.option.selected {
    background: var(--gradient-green);
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(179, 210, 49, 0.3);
}

.option.selected .option-letter {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--dark-bg);
}

.option.selected .option-text {
    color: var(--dark-bg);
    font-weight: 600;
}

.option.selected::before {
    display: none;
}

.option.correct {
    background: linear-gradient(135deg, var(--success-green) 0%, #16a34a 100%);
    border-color: transparent;
}

.option.incorrect {
    background: linear-gradient(135deg, var(--error-red) 0%, #dc2626 100%);
    border-color: transparent;
}

.option.correct .option-letter,
.option.incorrect .option-letter {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.option.correct .option-text,
.option.incorrect .option-text {
    color: var(--text-white);
    font-weight: 600;
}

.next-btn {
    margin-top: 40px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.next-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin-bottom: 30px; /* ZMIANA - Dodany margines dolny */
}

.answer-feedback {
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.3s ease;
}

.answer-feedback.correct {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-green);
}

.answer-feedback.incorrect {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
}

/* Result Screen */
.result-screen {
    text-align: center;
    position: relative;
    margin: -40px -30px 0;
    padding: 60px 30px 40px;
}

.result-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
        rgba(179, 210, 49, 0.05) 0%,
        transparent 50%);
    z-index: 0;
}

.result-screen > * {
    position: relative;
    z-index: 1;
}

.score {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.result-message {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-white);
}

.sub-message {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.discount-code {
    background: var(--gradient-green);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 15px 30px rgba(179, 210, 49, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;     /* Zachowane z poprzedniej poprawki */
    display: flex;          /* NOWA POPRAWKA */
    flex-direction: column; /* NOWA POPRAWKA */
    align-items: center;    /* NOWA POPRAWKA - wyśrodkuje elementy potomne (flex items) */
}

.discount-code::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.discount-code h3 {
    color: var(--dark-bg);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.code {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: 3px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.discount-cta {
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.discount-cta p {
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.btn-cta {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: var(--secondary-blue);
}

.fail-message {
    background: rgba(65, 84, 162, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.fail-message p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.fail-message p:last-child {
    margin-bottom: 0;
}

.btn-restart {
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* Stopka z informacją RODO */
.footer {
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.rodo-info {
    margin-top: 10px;
    font-size: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.regulations-link-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.regulations-link-container a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.regulations-link-container a:hover {
    color: var(--text-white);
    text-decoration: underline;
}


/* Style dla strony kontaktowej */
.contact-screen {
    text-align: center;
    position: relative;
    margin: -40px -30px 0;
    padding: 60px 30px 40px;
    background: linear-gradient(135deg,
        rgba(179, 210, 49, 0.05) 0%,
        rgba(65, 84, 162, 0.1) 50%,
        transparent 100%);
}

.contact-screen h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: rgba(65, 84, 162, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(179, 210, 49, 0.1);
}

.contact-label {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-value {
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.6;
}

.contact-value a,
.contact-value a:link,
.contact-value a:visited,
.contact-value a:hover,
.contact-value a:active {
    color: var(--text-white) !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.6;
}

.contact-item .contact-value * {
    color: var(--text-white);
    text-decoration: none;
}

/* Style dla strony regulaminu */
.regulations-screen {
    text-align: left;
    position: relative;
    margin: -40px -30px 0;
    padding: 40px 30px 40px;
    background: linear-gradient(135deg,
        rgba(179, 210, 49, 0.03) 0%,
        rgba(65, 84, 162, 0.08) 50%,
        transparent 100%);
}

.regulations-screen h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.regulations-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.regulations-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-green);
    margin-top: 20px;
    margin-bottom: 10px;
}
.regulations-content h3:first-child {
    margin-top: 0;
}

.regulations-content p {
    margin-bottom: 10px;
}
.regulations-content a {
    color: var(--accent-green);
    text-decoration: underline;
}
.regulations-content a:hover {
    color: var(--text-white);
}


.regulations-screen .btn {
    display: block;
    margin: 20px auto 0 auto;
}

.regulations-content::-webkit-scrollbar {
    width: 6px;
}
.regulations-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.regulations-content::-webkit-scrollbar-thumb {
    background: rgba(179, 210, 49, 0.4);
    border-radius: 3px;
}
.regulations-content::-webkit-scrollbar-thumb:hover {
    background: rgba(179, 210, 49, 0.6);
}


/* Style dla podpisu twórcy */
.creator-info {
    margin-top: 15px;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
}

.creator-info a {
    color: var(--accent-green);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.creator-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.creator-info a:hover {
    color: var(--text-white);
}

.creator-info a:hover::after {
    width: 100%;
}


/* --- SPONSORS SECTION STYLES --- */
.sponsors-section {
    width: 100%;
    padding: 20px;
    margin-top: 0; 
    margin-bottom: 0; 
    background: #f0f4f8;
    border-radius: 0 0 22px 22px; 
    box-shadow: none; 
    text-align: center;
}

.sponsor-title {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sponsor-logos > .sponsor-title:first-of-type { /* "Sponsor tytularny" */
    margin-top: 0; 
    padding-top: 10px; 
    margin-bottom: 10px; 
}

.sponsor-logos .sponsor-title:nth-of-type(2) { /* "Sponsorzy główni" */
    margin-top: 8px; 
}


.sponsor-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor-row-1 { /* Kontener dla loga Enei */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 18px; 
    margin-top: 0; 
}

.sponsor-row-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 10px;
}

.sponsor-logos img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    opacity: 0.9;
}

.sponsor-logos img:hover {
    opacity: 1;
    transform: scale(1.07);
}

.sponsor-logos .sponsor-logo-tytularny {
    max-height: 65px;
}

.sponsor-logos .sponsor-logo-secondary {
    max-height: 36px;
}
/* --- END OF SPONSORS SECTION STYLES --- */


/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 36, 84, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 20px;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    animation: slideUpBanner 0.5s ease-out;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.cookie-consent-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-content p a {
    color: var(--accent-green);
    text-decoration: underline;
    font-weight: 500;
}
.cookie-consent-content p a:hover {
    color: var(--text-white);
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn.btn-small {
    padding: 10px 25px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(179, 210, 49, 0.2);
}
.btn.btn-small:hover {
    box-shadow: 0 8px 20px rgba(179, 210, 49, 0.3);
}


.btn.btn-outline {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    box-shadow: none;
}
.btn.btn-outline:hover {
    background: rgba(179, 210, 49, 0.1);
    color: var(--text-white);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 210, 49, 0.1);
}


.btn.btn-link {
    background: transparent;
    color: var(--text-gray);
    padding: 10px 15px;
    font-size: 14px;
    text-decoration: underline;
    box-shadow: none;
}
.btn.btn-link:hover {
    color: var(--text-white);
    background: transparent;
    transform: none;
}


/* Style dla strony Polityki Prywatności */
.privacy-policy-screen {
    text-align: left;
    position: relative;
    margin: -40px -30px 0;
    padding: 40px 30px 40px;
    background: linear-gradient(135deg,
        rgba(179, 210, 49, 0.03) 0%,
        rgba(65, 84, 162, 0.08) 50%,
        transparent 100%);
}

.privacy-policy-screen h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-policy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.privacy-policy-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-green);
    margin-top: 20px;
    margin-bottom: 10px;
}
.privacy-policy-content h3:first-child {
    margin-top: 0;
}

.privacy-policy-content p {
    margin-bottom: 10px;
}
.privacy-policy-content a {
    color: var(--accent-green);
    text-decoration: underline;
}
.privacy-policy-content a:hover {
    color: var(--text-white);
}


.privacy-policy-screen .btn {
    display: block;
    margin: 20px auto 0 auto;
}

.privacy-policy-content::-webkit-scrollbar {
    width: 6px;
}
.privacy-policy-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.privacy-policy-content::-webkit-scrollbar-thumb {
    background: rgba(179, 210, 49, 0.4);
    border-radius: 3px;
}
.privacy-policy-content::-webkit-scrollbar-thumb:hover {
    background: rgba(179, 210, 49, 0.6);
}

/* Poprawki dla stopki */
.footer .rodo-info a,
.footer .regulations-link-container a {
    color: var(--accent-green);
    text-decoration: underline;
}
.footer .rodo-info a:hover,
.footer .regulations-link-container a:hover {
    color: var(--text-white);
}


/* Mobile Responsiveness */
@media (min-width: 769px) { /* Desktop styles */
    .hamburger-menu {
        display: none;
    }
    .mobile-tickets-button {
        display: none;
    }
    .nav-links-mobile-overlay {
        display: none !important;
    }
     .nav-links-desktop {
        display: flex;
    }
     .quiz-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) { /* Tablet styles */
    .navbar {
        padding: 15px 25px;
    }
    .nav-container {
        justify-content: space-between;
        padding: 0;
        width: 100%;
    }

    .nav-links-desktop {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-tickets-button {
        display: inline-block;
    }

    .header {
        padding: 20px;
    }
    .quiz-logo {
        max-width: 220px;
        margin-bottom: 10px;
    }
    .header h1 {
        font-size: 24px;
    }
    .header p {
        font-size: 14px;
    }

    .stats-container {
        gap: 30px;
    }

    .tournament-date {
        font-size: 16px;
    }

    .tournament-date span {
        padding: 10px 24px;
    }

    .question-text {
        font-size: 20px;
    }

    .option {
        padding: 16px 20px;
    }

    .score {
        font-size: 48px;
    }

    .code {
        font-size: 28px;
    }

    .start-info h2 {
        font-size: 24px;
    }

    .contact-info {
        gap: 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-label {
        font-size: 16px;
    }

    .contact-value {
        font-size: 15px;
    }

    .regulations-screen h2 {
        font-size: 24px;
    }
    .regulations-content {
        font-size: 13px;
        padding-right: 10px;
    }
    .regulations-content h3 {
        font-size: 17px;
    }

    /* Responsywność sekcji sponsorów (Tablet) */
    .sponsors-section {
        padding: 15px;
    }
    .sponsor-logos .sponsor-logo-tytularny {
        max-height: 60px;
    }
    .sponsor-logos .sponsor-logo-secondary {
        max-height: 30px;
    }
    .sponsor-row-1 {
        margin-bottom: 15px;
        margin-top: 0; 
    }
    .sponsor-row-2 {
        gap: 10px;
    }
    .sponsor-title {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .sponsor-logos > .sponsor-title:first-of-type {
        padding-top: 8px; 
        margin-bottom: 8px; 
    }
    .sponsor-logos .sponsor-title:nth-of-type(2) {
        margin-top: 6px;
    }


    .cookie-consent-content {
        flex-direction: column;
        gap: 15px;
    }
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-consent-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
     .privacy-policy-screen h2 {
        font-size: 24px;
    }
    .privacy-policy-content {
        font-size: 13px;
        padding-right: 10px;
    }
    .privacy-policy-content h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) { /* Mobile styles */
    .navbar {
        padding: 10px 15px;
    }
    .mobile-tickets-button {
        padding: 8px 15px;
        font-size: 13px;
    }
    .hamburger-icon {
        width: 28px;
        height: 18px;
    }
     .hamburger-icon span {
        height: 2.5px;
    }
    .hamburger-icon span:nth-child(2) { top: 7.5px; }
    .hamburger-icon span:nth-child(3) { top: 15px; }
    .hamburger-icon.active span:nth-child(1) { top: 7.5px; }
    .hamburger-icon.active span:nth-child(3) { top: 7.5px; }

    .quiz-logo {
        max-width: 180px;
    }
    .header h1 {
        font-size: 22px;
    }
    .header p {
        font-size: 13px;
    }

    .start-info h2 {
        font-size: 22px;
    }

    .stat-number {
        font-size: 28px;
    }

    .question-text {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .option {
        padding: 14px 16px;
        font-size: 15px;
    }

    .option-letter {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .score {
        font-size: 48px;
    }

    .result-message {
        font-size: 20px;
    }

    .code {
        font-size: 24px;
        padding: 10px 20px;
    }

    .contact-screen h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-label {
        font-size: 15px;
    }

    .contact-value {
        font-size: 14px;
    }

    .regulations-screen h2 {
        font-size:
        22px;
    }
    .regulations-content {
        font-size: 12px;
    }
    .regulations-content h3 {
        font-size: 16px;
    }

    /* Responsywność sekcji sponsorów (Mobile) */
    .sponsors-section {
        padding: 10px;
    }
    .sponsor-logos .sponsor-logo-tytularny {
        max-height: 50px;
    }
    .sponsor-logos .sponsor-logo-secondary {
        max-height: 26px;
    }
    .sponsor-row-1 {
        margin-bottom: 12px;
        margin-top: 0; 
    }
    .sponsor-row-2 {
        gap: 8px;
    }
    .sponsor-title {
        font-size: 11px;
        margin-bottom: 4px;
    }
     .sponsor-logos > .sponsor-title:first-of-type {
        padding-top: 5px; 
        margin-bottom: 6px; 
    }
    .sponsor-logos .sponsor-title:nth-of-type(2) {
        margin-top: 5px;
    }


    .cookie-consent-banner {
        padding: 15px;
    }
    .cookie-consent-content p {
        font-size: 13px;
    }
    .btn.btn-small {
        padding: 10px 20px;
        font-size: 13px;
    }
    .privacy-policy-screen h2 {
        font-size: 22px;
    }
    .privacy-policy-content {
        font-size: 12px;
    }
    .privacy-policy-content h3 {
        font-size: 16px;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(179, 210, 49, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(179, 210, 49, 0.5);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}