:root {
    --bg-dark: #0a0f1a;
    --bg-card: #0d1428;
    --bg-lighter: #152238;
    --text: #f0f4ff;
    --text-dim: #a0aac9;
    --pink: #dc143c;
    --pink-dark: #a00830;
    --green: #00ff88;
    --red: #dc143c;
    --yellow: #ffd700;
    --blue: #0d3d7a;
    --purple: #dc143c;
    --orange: #ff7f00;
    --cyan: #0d3d7a;
    --magenta: #dc143c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: linear-gradient(
        135deg,
        var(--bg-dark) 0%,
        #0d1428 25%,
        var(--bg-dark) 50%,
        #152238 75%,
        var(--bg-dark) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(220,20,60,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(13,61,122,0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(220,20,60,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   LOADER - MEGA EPIC Z SERDUSZKAMI
   ============================================ */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.loader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(220, 20, 60, 0.25) 0%,
        rgba(13, 61, 122, 0.15) 30%,
        rgba(220, 20, 60, 0.1) 60%,
        var(--bg-dark) 100%
    );
    animation: breathe 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.loader {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: loaderPulse 2.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(220,20,60,0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(220,20,60,0.9)) drop-shadow(0 0 80px rgba(13,61,122,0.7)); }
}


.hearts-ring {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
}

.astronaut {
    font-size: 6rem;
    animation: danceFloat 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    filter: drop-shadow(0 0 20px rgba(220,20,60,0.8)) drop-shadow(0 0 40px rgba(13,61,122,0.5));
}

@keyframes danceFloat {
    0% {
        transform: translateY(0) rotateZ(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotateZ(-15deg) scale(1.05);
    }
    50% {
        transform: translateY(-50px) rotateZ(0deg) scale(1);
    }
    75% {
        transform: translateY(-30px) rotateZ(15deg) scale(1.05);
    }
    100% {
        transform: translateY(0) rotateZ(0deg) scale(1);
    }
}

.heart-item {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
    transform: translate(-50%, -50%);
    animation: orbitHeart 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(220,20,60,0.8)) drop-shadow(0 0 12px rgba(13,61,122,0.5));
}

@keyframes orbitHeart {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg);
        opacity: 0.7;
    }
}

.floating-hearts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-heart-loader {
    position: absolute;
    font-size: 1.5rem;
    animation: floatUp 4s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(220,20,60,0.8));
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift)) rotate(360deg) scale(0);
        opacity: 0;
    }
}

.loader-text {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dc143c 0%, #0d3d7a 50%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes shimmerText {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(220,20,60,0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(220,20,60,0.9)) drop-shadow(0 0 30px rgba(13,61,122,0.7));
    }
}

.loader-progress {
    width: 250px;
    height: 6px;
    background: rgba(13, 61, 122, 0.2);
    border-radius: 10px;
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(13, 61, 122, 0.3), inset 0 0 10px rgba(13, 61, 122, 0.1);
    border: 1px solid rgba(13, 61, 122, 0.4);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #dc143c 0%, #0d3d7a 50%, #dc143c 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressMove 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6), 0 0 25px rgba(13, 61, 122, 0.4);
}

@keyframes progressMove {
    0% {
        width: 0%;
        background-position: 0% center;
    }
    50% {
        width: 100%;
        background-position: 100% center;
    }
    100% {
        width: 0%;
        background-position: 0% center;
    }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   HEADER - MEGA GRADIENT
   ============================================ */
.header {
    background: linear-gradient(180deg, #0a0f1a 0%, #152238 50%, #0a0f1a 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #dc143c, #0d3d7a, #dc143c, #0d3d7a, #dc143c) 1;
    box-shadow: 
        0 10px 40px rgba(220,20,60,0.3),
        0 0 80px rgba(13,61,122,0.2),
        inset 0 0 40px rgba(13,61,122,0.08);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(220,20,60,0.2) 25%,
        transparent 50%,
        rgba(13,61,122,0.2) 75%,
        transparent 100%);
    animation: slideBg 6s ease-in-out infinite;
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13,61,122,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

@keyframes glow-text {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(13,61,122,0.6)) drop-shadow(0 0 10px rgba(220,20,60,0.4)); }
    50% { filter: drop-shadow(0 0 15px rgba(13,61,122,0.9)) drop-shadow(0 0 25px rgba(220,20,60,0.6)); }
}

@keyframes glowPulse {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 
            0 0 20px rgba(220,20,60,0.6),
            0 0 40px rgba(13,61,122,0.4);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 
            0 0 40px rgba(220,20,60,0.9),
            0 0 60px rgba(13,61,122,0.7),
            0 0 80px rgba(13,61,122,0.5);
    }
}

@keyframes slideBg {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes floatText {
    0%, 100% { transform: translateY(0px); opacity: 0.9; }
    50% { transform: translateY(-8px); opacity: 1; }
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 
        0 0 30px rgba(220,20,60,0.9),
        0 0 50px rgba(13,61,122,0.7),
        0 0 70px rgba(220,20,60,0.5),
        0 10px 30px rgba(0,0,0,0.9);
    animation: slideDown 0.8s ease, glowPulse 3s ease-in-out infinite;
    background: linear-gradient(135deg, #0d3d7a 0%, #dc143c 50%, #0d3d7a 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.logo-img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    animation: slideDown 0.8s ease;
    filter: drop-shadow(0 0 20px rgba(220,20,60,0.6)) drop-shadow(0 0 40px rgba(13,61,122,0.4));
    z-index: 2;
    position: relative;
}

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

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: slideUp 0.8s ease 0.2s both, floatText 3s ease-in-out infinite 0.4s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #dc143c;
    text-shadow: 
        0 0 15px rgba(220,20,60,0.8),
        0 0 25px rgba(13,61,122,0.4);
    position: relative;
    z-index: 2;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: 2rem;
}

.section {
    background: linear-gradient(135deg, rgba(13,20,40,0.8) 0%, rgba(21,34,56,0.5) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(13,61,122,0.2);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.5),
        0 0 20px rgba(13,61,122,0.15),
        inset 0 0 20px rgba(13,61,122,0.05);
    animation: scaleIn 0.6s ease;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    backdrop-filter: blur(5px);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section:hover {
    transform: translateY(-8px);
    border-color: rgba(13,61,122,0.5);
    box-shadow: 
        0 16px 50px rgba(0,0,0,0.6),
        0 0 30px rgba(13,61,122,0.3),
        0 0 40px rgba(13,61,122,0.2),
        inset 0 0 30px rgba(13,61,122,0.1);
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--pink), var(--purple)) 1;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--red), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1rem;
}

/* ============================================
   FORMULARZ - MEGA STYLE
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 1rem;
    background: rgba(5,8,18,0.7);
    border: 2px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc143c;
    box-shadow: 
        0 0 0 4px rgba(220,20,60,0.2),
        0 0 20px rgba(220,20,60,0.3),
        inset 0 0 10px rgba(220,20,60,0.1);
    transform: translateY(-3px);
    background: rgba(5,8,18,0.9);
}

.full-width {
    grid-column: 1 / -1;
}

/* ============================================
   PRZYCISKI - EPIC
   ============================================ */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #dc143c 0%, #0d3d7a 50%, #dc143c 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 
        0 0 20px rgba(220,20,60,0.5),
        0 8px 24px rgba(13,61,122,0.3);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(220,20,60,0.7),
        0 0 40px rgba(13,61,122,0.5),
        0 16px 40px rgba(13,61,122,0.4);
    background-position: right center;
}

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

.btn-full {
    width: 100%;
}

.btn-secondary {
    background: var(--bg-dark);
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-secondary:hover {
    background: var(--red);
    color: white;
}

.btn-sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
}

.btn-cancel {
    background: linear-gradient(135deg, var(--red), #dc2626);
    color: white;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}

.btn-cancel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(239,68,68,0.5);
}

/* ============================================
   MESSAGES - ANIMATED
   ============================================ */
.messages {
    margin-bottom: 1rem;
}

.message {
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.5s ease;
    font-weight: 500;
}

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

.message.error {
    background: rgba(239,68,68,0.2);
    border: 2px solid var(--red);
    color: #fca5a5;
}

.message.success {
    background: rgba(74,222,128,0.2);
    border: 2px solid var(--green);
    color: #86efac;
}

.hidden {
    display: none !important;
}

/* ============================================
   TOAST NOTIFICATIONS - GÓRNY PRAWY RÓG
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    min-width: 300px;
    max-width: 400px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: slideInFromRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    position: relative;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(400px) rotate(10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
    to {
        opacity: 0;
        transform: translateX(400px) rotate(10deg);
    }
}

.toast.removing {
    animation: slideOutToRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.success {
    background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(34,197,94,0.1));
    border-color: var(--green);
    color: #86efac;
}

.toast.success .toast-icon {
    font-size: 1.5rem;
    color: var(--green);
}

.toast.error {
    background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(220,20,60,0.15));
    border-color: var(--red);
    color: #fca5a5;
}

.toast.error .toast-icon {
    font-size: 1.5rem;
    color: var(--red);
}

.toast.info {
    background: linear-gradient(135deg, rgba(13,61,122,0.2), rgba(13,61,122,0.1));
    border-color: #0d3d7a;
    color: #93c5fd;
}

.toast.info .toast-icon {
    font-size: 1.5rem;
    color: #0d3d7a;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toast-content {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
}

/* Progress bar na toast */
.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    border-radius: 0 0 10px 10px;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

.toast.removing::after {
    animation: none;
}

.success-message {
    background: linear-gradient(135deg, rgba(74,222,128,0.3), rgba(34,197,94,0.2));
    border: 3px solid var(--green);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 2rem;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.success-message h3 {
    color: var(--green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ============================================
   USER FORMS
   ============================================ */
.user-id-form {
    background: linear-gradient(135deg, rgba(13, 61, 122, 0.1), rgba(220, 20, 60, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid rgba(13, 61, 122, 0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 20px rgba(13, 61, 122, 0.1);
    transition: all 0.3s;
}

.user-id-form:hover {
    border-color: rgba(13, 61, 122, 0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 30px rgba(13, 61, 122, 0.2);
}

.user-id-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.user-id-form .form-group label {
    font-weight: 600;
    color: #dc143c;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
}

.input-group input {
    flex: 1;
    padding: 0.9rem;
    background: rgba(5,8,18,0.9);
    border: 2px solid rgba(13,61,122,0.3);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #dc143c;
    box-shadow: 0 0 0 4px rgba(220,20,60,0.2), 0 0 20px rgba(220,20,60,0.3);
    background: rgba(5,8,18,0.95);
}

.reservation-info {
    background: linear-gradient(135deg, var(--bg-darker), rgba(220,20,60,0.1));
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid #dc143c;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: #dc143c; }
    50% { border-color: #0d3d7a; }
}

.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    flex: 1;
}

.user-info p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.user-info strong {
    background: linear-gradient(135deg, #0d3d7a, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 700;
}

.info-box strong {
    color: var(--red);
    font-size: 1.3rem;
}

.schedule-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============================================
   SWIPE HINT - ELEGANCKI I WIDOCZNY HINT
   ============================================ */
.swipe-hint-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.swipe-hint-box {
    background: linear-gradient(135deg, rgba(220,20,60,0.15) 0%, rgba(13,61,122,0.12) 100%);
    border: 2px solid rgba(220,20,60,0.4);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 0 20px rgba(220,20,60,0.2),
        inset 0 0 15px rgba(220,20,60,0.08);
    animation: slideDown 0.6s ease, hintPulse 2.5s ease-in-out infinite 1s;
    position: relative;
    overflow: hidden;
}

.swipe-hint-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmerHint 3s infinite;
    pointer-events: none;
}

@keyframes shimmerHint {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes hintPulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0,0,0,0.3),
            0 0 20px rgba(220,20,60,0.2),
            inset 0 0 15px rgba(220,20,60,0.08);
        border-color: rgba(220,20,60,0.4);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(220,20,60,0.35),
            0 0 30px rgba(220,20,60,0.35),
            inset 0 0 20px rgba(220,20,60,0.12);
        border-color: rgba(220,20,60,0.6);
    }
}

.swipe-hint-text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.swipe-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc143c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.swipe-subtitle {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.swipe-arrows {
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    margin-top: 0.4rem;
}

.arrow-left,
.arrow-right {
    font-size: 3rem;
    color: #0d3d7a;
    font-weight: 900;
    animation-duration: 1.4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-left {
    animation-name: slideArrowLeft;
}

.arrow-right {
    animation-name: slideArrowRight;
}

@keyframes slideArrowLeft {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-18px); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideArrowRight {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(18px); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 1; }
}

.mobile-swipe-hint {
    display: none !important;
}

/* ============================================
   HARMONOGRAM GRID - MEGA RESPONSIVE
   ============================================ */
.schedule-grid-container {
    display: grid;
    grid-template-columns: 90px repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    scroll-behavior: smooth;
}

.schedule-grid-container::-webkit-scrollbar {
    height: 8px;
}

.schedule-grid-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.schedule-grid-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc143c, #0d3d7a);
    border-radius: 10px;
}

.schedule-grid-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #a00830, #0d3d7a);
}

.schedule-header {
    background: linear-gradient(135deg, #dc143c 0%, #0d3d7a 100%);
    padding: 1.2rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-header.time {
    background: var(--bg-card);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.schedule-cell {
    background: var(--bg-card);
    padding: 1rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.3s;
    border: 1px solid rgba(13,61,122,0.1);
}

.schedule-cell:hover {
    background: var(--bg-lighter);
}

.schedule-cell.time {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-dim);
    background: var(--bg-dark);
    font-size: 1.1rem;
}

/* ============================================
   KARTY ZAJĘĆ - KOLOROWE Z ANIMACJAMI
   ============================================ */
.class-card {
    padding: 1rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid rgba(13,61,122,0.3);
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.5s ease;
    backdrop-filter: blur(5px);
    background: rgba(13,20,40,0.5);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 0 10px rgba(13,61,122,0.05);
}

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

.class-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    transform: scale(0);
    transition: transform 0.5s;
}

.class-card:hover::before {
    transform: scale(1);
}

.class-card:hover:not(.full) {
    transform: translateY(-10px) scale(1.1);
    border-color: rgba(13,61,122,0.8);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        0 0 30px rgba(13,61,122,0.5),
        0 0 40px rgba(220,20,60,0.3),
        inset 0 0 15px rgba(13,61,122,0.2);
}

.class-card:active:not(.full) {
    transform: translateY(-3px) scale(1.04);
}

.class-card.color-purple {
    background: linear-gradient(135deg, rgba(13,61,122,0.4), rgba(13,61,122,0.2)) !important;
    border-color: #0d3d7a;
    box-shadow: 0 4px 16px rgba(13,61,122,0.2), inset 0 0 10px rgba(13,61,122,0.1);
}

.class-card.color-pink {
    background: linear-gradient(135deg, rgba(220,20,60,0.4), rgba(220,20,60,0.2)) !important;
    border-color: #dc143c;
    box-shadow: 0 4px 16px rgba(220,20,60,0.2), inset 0 0 10px rgba(220,20,60,0.1);
}

.class-card.color-yellow {
    background: linear-gradient(135deg, rgba(250,204,21,0.3), rgba(234,179,8,0.2));
    border-color: var(--yellow);
}

.class-card.color-blue {
    background: linear-gradient(135deg, rgba(13,61,122,0.3), rgba(13,61,122,0.2));
    border-color: #0d3d7a;
}

.class-card.color-orange {
    background: linear-gradient(135deg, rgba(251,146,60,0.3), rgba(249,115,22,0.2));
    border-color: var(--orange);
}

.class-card.color-green {
    background: linear-gradient(135deg, rgba(74,222,128,0.3), rgba(34,197,94,0.2));
    border-color: var(--green);
}

.class-card.reserved {
    background: linear-gradient(135deg, rgba(74,222,128,0.4), rgba(34,197,94,0.3));
    border-color: var(--green);
    animation: glowReserved 1.5s ease-in-out infinite;
}

@keyframes glowReserved {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(74,222,128,0.6), inset 0 0 10px rgba(74,222,128,0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px rgba(74,222,128,0.9), inset 0 0 15px rgba(74,222,128,0.3);
        transform: scale(1.02);
    }
}

/* ============================================
   CONFLICT - ZAJĘTY CZAS (NIE MOŻNA WYBRAĆ)
   ============================================ */
.class-card.conflict {
    background: linear-gradient(135deg, rgba(255,165,0,0.2), rgba(255,140,0,0.15)) !important;
    border-color: var(--orange);
    border-style: dashed;
    opacity: 0.65;
    cursor: not-allowed;
    animation: warnPulse 2s ease-in-out infinite;
    position: relative;
}

.class-card.conflict::after {
    content: '⚠️';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 1rem;
    opacity: 0.8;
}

@keyframes warnPulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(255,165,0,0.2), rgba(255,140,0,0.15));
        box-shadow: 0 0 10px rgba(255,165,0,0.4), inset 0 0 8px rgba(255,140,0,0.1);
    }
    50% {
        background: linear-gradient(135deg, rgba(255,165,0,0.3), rgba(255,140,0,0.25));
        box-shadow: 0 0 20px rgba(255,165,0,0.7), inset 0 0 12px rgba(255,140,0,0.2);
    }
}

.class-card.conflict:hover:not(.full) {
    transform: scale(0.98);
    opacity: 0.7;
}

.class-card.full {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.class-card-name {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.class-card-instructor {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.class-card-spots {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem;
    border-radius: 6px;
    background: rgba(0,0,0,0.3);
}

/* ============================================
   REZERWACJE - BEAUTIFUL CARDS
   ============================================ */
.reservations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.reservation-card {
    background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(34,197,94,0.1));
    border: 2px solid var(--green);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.6s ease;
    transition: all 0.3s;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(74,222,128,0.3);
}

.reservation-card-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.reservation-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.placeholder {
    text-align: center;
    color: var(--text-dim);
    padding: 3rem;
    font-style: italic;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, rgba(5,8,18,0.8) 0%, rgba(15,22,41,0.9) 100%);
    border-top: 2px solid rgba(0,212,255,0.2);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-dim);
    margin-top: 3rem;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.5), inset 0 1px 20px rgba(0,212,255,0.05);
}

/* ============================================
   ANIMACJE - MATRIX STYLE SERDUSZKA
   ============================================ */

/* ============================================
   SNOW EFFECT - LOSOWE SERDUSZKA JAK ŚNIEG
   ============================================ */
.snow-heart {
    position: fixed;
    pointer-events: none;
    z-index: 50;
    font-size: 1.5rem;
    animation: snowFall linear forwards;
    filter: drop-shadow(0 0 6px rgba(220,20,60,0.7));
    text-shadow: 0 0 6px rgba(220,20,60,0.8);
    opacity: 0.85;
}

@keyframes snowFall {
    0% {
        transform: translateY(-100px) rotateZ(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotateZ(360deg);
        opacity: 0;
    }
}

/* ============================================
   MATRIX STYLE - SPADAJĄCE SERDUSZKA
   ============================================ */
.matrix-heart {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    font-size: 2.5rem;
    animation: matrixFall linear forwards;
    filter: drop-shadow(0 0 10px rgba(220,20,60,0.8)) drop-shadow(0 0 20px rgba(220,20,60,0.6));
    text-shadow: 0 0 8px rgba(220,20,60,0.9), 0 0 15px rgba(220,20,60,0.7);
    opacity: 0.9;
    font-weight: 900;
}

@keyframes matrixFall {
    0% {
        transform: translateY(0) rotateZ(0deg) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotateZ(180deg) scale(0.5);
        opacity: 0;
    }
}


/* ============================================
   RODO CHECKBOX - EXPANDABLE DETAILS
   ============================================ */
.rodo-checkbox-wrapper {
    margin-bottom: 1.5rem;
}

.rodo-details {
    background: rgba(13,61,122,0.1);
    border: 2px solid rgba(13,61,122,0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.rodo-details[open] {
    background: rgba(13,61,122,0.15);
    border-color: rgba(13,61,122,0.4);
    box-shadow: 0 4px 16px rgba(13,61,122,0.15);
}

.rodo-details:hover {
    border-color: rgba(13,61,122,0.3);
}

.rodo-summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
    padding: 0.5rem;
    user-select: none;
    transition: all 0.3s ease;
}

.rodo-summary:hover {
    color: #dc143c;
}

.rodo-summary::marker {
    color: #dc143c;
}

.rodo-details-content {
    padding: 1rem 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
}

.rodo-details-content h4 {
    color: #0d3d7a;
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
}

.rodo-details-content p {
    margin: 0.5rem 0;
}

.rodo-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 1rem;
    background: rgba(13,61,122,0.15);
    border: 2px solid rgba(13,61,122,0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    user-select: none;
}

.rodo-checkbox-label:hover {
    border-color: rgba(13,61,122,0.6);
    background: rgba(13,61,122,0.25);
}

.rodo-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #dc143c;
}

.rodo-checkbox-label span {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

/* ============================================
   VOUCHER WARNING - PROMINENT MESSAGE
   ============================================ */
.voucher-warning {
    display: none !important;
    background: linear-gradient(135deg, rgba(220,20,60,0.2), rgba(13,61,122,0.15));
    border: 3px solid var(--red);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 
        0 8px 32px rgba(220,20,60,0.3),
        0 0 20px rgba(220,20,60,0.2),
        inset 0 0 20px rgba(220,20,60,0.1);
    animation: slideInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

.voucher-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmerWarn 3s infinite;
}

@keyframes shimmerWarn {
    0% { left: -100%; }
    100% { left: 100%; }
}

.voucher-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.voucher-text {
    flex: 1;
}

.voucher-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voucher-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    font-weight: 500;
}

.voucher-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.voucher-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.voucher-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.voucher-btn:hover::before {
    left: 100%;
}

.voucher-price {
    font-size: 1.8rem;
    display: block;
    font-weight: 900;
    letter-spacing: 1px;
}

.voucher-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.voucher-80 {
    background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,152,0,0.2));
    border-color: #ffc107;
    color: #ffc107;
}

.voucher-80:hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.5), rgba(255,152,0,0.3));
    border-color: #ffc107;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 8px 24px rgba(255,193,7,0.4),
        0 0 20px rgba(255,193,7,0.3);
}

.voucher-100 {
    background: linear-gradient(135deg, rgba(220,20,60,0.3), rgba(220,20,60,0.15));
    border-color: #dc143c;
    color: #dc143c;
}

.voucher-100:hover {
    background: linear-gradient(135deg, rgba(220,20,60,0.5), rgba(220,20,60,0.3));
    border-color: #dc143c;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 8px 24px rgba(220,20,60,0.4),
        0 0 20px rgba(220,20,60,0.3);
}

.voucher-120 {
    background: linear-gradient(135deg, rgba(76,175,80,0.3), rgba(76,175,80,0.15));
    border-color: #4caf50;
    color: #4caf50;
}

.voucher-120:hover {
    background: linear-gradient(135deg, rgba(76,175,80,0.5), rgba(76,175,80,0.3));
    border-color: #4caf50;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 8px 24px rgba(76,175,80,0.4),
        0 0 20px rgba(76,175,80,0.3);
}

.voucher-btn:active {
    transform: translateY(-2px) scale(1.04);
}

.voucher-warning.hidden {
    display: none !important;
}

/* ============================================
   PROFILE CARD - ELEGANCKI PROFIL UŻYTKOWNIKA
   ============================================ */
.profile-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(220,20,60,0.08) 0%, rgba(13,61,122,0.06) 100%);
    border: 1px solid rgba(220,20,60,0.2);
    border-radius: 14px;
    padding: 1.3rem 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    border-color: rgba(220,20,60,0.35);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Avatar - Ikona użytkownika */
.profile-avatar {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220,20,60,0.12);
    border: 2px solid rgba(220,20,60,0.25);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Zawartość profilu */
.profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

/* Szczegóły profilu - lista */
.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    background: rgba(13,61,122,0.05);
    border-radius: 10px;
    border-left: 2px solid #dc143c;
    transition: background 0.2s ease;
}

.detail-item:hover {
    background: rgba(13,61,122,0.1);
}

.detail-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-dim);
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    word-break: break-word;
    transition: all 0.4s ease, color 0.3s ease;
}

/* Animacja dla statusu płatności */
#profilePaymentStatus,
#profileArmbandStatus {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: statusPulse 0.6s ease;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Status Opłacone - zielony */
#profilePaymentStatus[style*="color: rgb(74, 222, 128)"],
#profilePaymentStatus[style*="color: #4ade80"] {
    background: rgba(74, 222, 128, 0.15);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3), inset 0 0 10px rgba(74, 222, 128, 0.1);
}

/* Status Oczekuje - pomarańczowy */
#profilePaymentStatus[style*="color: rgb(251, 191, 36)"],
#profilePaymentStatus[style*="color: #fbbf24"] {
    background: rgba(251, 191, 36, 0.15);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3), inset 0 0 10px rgba(251, 191, 36, 0.1);
    animation: statusPulseWarning 1.5s ease-in-out infinite;
}

/* Status Nie wydana - czerwony */
#profileArmbandStatus[style*="color: rgb(239, 68, 68)"],
#profileArmbandStatus[style*="color: #ef4444"] {
    background: rgba(239, 68, 68, 0.15);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3), inset 0 0 10px rgba(239, 68, 68, 0.1);
    animation: statusPulseWarning 1.5s ease-in-out infinite;
}

/* Status Wydana - zielony */
#profileArmbandStatus[style*="color: rgb(74, 222, 128)"],
#profileArmbandStatus[style*="color: #4ade80"] {
    background: rgba(74, 222, 128, 0.15);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3), inset 0 0 10px rgba(74, 222, 128, 0.1);
}

@keyframes statusPulseWarning {
    0%, 100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.3), inset 0 0 10px rgba(251, 191, 36, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.6), inset 0 0 15px rgba(251, 191, 36, 0.2);
    }
}

/* Animacja dla ikon statusów */
#paymentIcon,
#armbandIcon {
    transition: all 0.3s ease;
    display: inline-block;
}

#paymentIcon.updated,
#armbandIcon.updated {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
}

/* Przycisk wylogowania */
.btn-logout {
    padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, #dc143c, #a00830);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(220,20,60,0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-logout:hover {
    box-shadow: 0 5px 18px rgba(220,20,60,0.3);
}

.btn-logout:active {
    transform: scale(0.98);
}

/* Responsive dla profilu */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .profile-avatar {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 1.2rem;
    }
    
    .profile-details {
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    .btn-logout {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE - MOBILE OPTIMIZED
   ============================================ */
@media (max-width: 768px) {
    .swipe-hint-wrapper {
        display: flex !important;
    }
    
    .swipe-hint-box,
    .swipe-hint-box::before {
        animation: slideDown 0.6s ease, hintPulse 2.5s ease-in-out infinite 1s !important;
    }
    
    .arrow-left {
        animation: slideArrowLeft 1.4s ease-in-out infinite !important;
    }
    
    .arrow-right {
        animation: slideArrowRight 1.4s ease-in-out infinite !important;
    }
    
    .swipe-hint-box::before {
        animation: shimmerHint 3s infinite !important;
    }
    
    .mobile-swipe-hint {
        display: none !important;
    }
    
    .voucher-warning {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    .voucher-text h3 {
        font-size: 1.1rem;
    }
    
    .voucher-text p {
        font-size: 0.95rem;
    }
    
    .voucher-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .voucher-btn {
        padding: 1rem 0.7rem;
    }
    
    .voucher-price {
        font-size: 1.3rem;
    }
    
    .voucher-label {
        font-size: 0.7rem;
    }
    
    /* WYŁĄCZ WSZYSTKIE ANIMACJE NA MOBILE */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .astronaut,
    .loader-text,
    .heart-item,
    .falling-heart,
    .floating-heart-loader,
    .matrix-heart,
    .heart-burst,
    .snow-heart {
        animation: none !important;
    }
    
    .logo {
        animation: none !important;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: var(--text);
    }
    
    .loader,
    .loader-bg,
    .section {
        animation: none !important;
    }
    
    .btn-primary:hover,
    .section:hover {
        transform: none !important;
    }
    .logo {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-group input {
        width: 100%;
    }
    
    .info-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
    }
    
    .schedule-grid-container {
        grid-template-columns: 80px repeat(4, 1fr);
        gap: 1px;
        font-size: 0.85rem;
        min-width: min-content;
    }
    
    .schedule-header {
        padding: 0.8rem 0.3rem;
        font-size: 0.8rem;
        word-break: break-word;
    }
    
    .schedule-cell {
        padding: 0.5rem;
        min-height: 110px;
    }
    
    .class-card {
        padding: 0.7rem;
    }
    
    .class-card-name {
        font-size: 0.85rem;
    }
    
    .class-card-instructor {
        font-size: 0.75rem;
    }
    
    .user-id-form .form-group {
        flex-direction: column;
    }
    
    .reservations-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, rgba(220,20,60,0.1) 0%, rgba(13,61,122,0.08) 100%);
    border: 2px solid rgba(220,20,60,0.3);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220,20,60,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveBackground 30s linear infinite;
    pointer-events: none;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    max-width: 500px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #dc143c 0%, #0d3d7a 50%, #dc143c 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px rgba(220,20,60,0.5),
        0 8px 24px rgba(13,61,122,0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-button::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;
    z-index: 0;
}

.contact-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(220,20,60,0.7),
        0 0 40px rgba(13,61,122,0.5),
        0 16px 40px rgba(13,61,122,0.4);
    background-position: right center;
}

.contact-button:active {
    transform: translateY(-1px) scale(1.02);
}

.contact-button:active::before {
    width: 300px;
    height: 300px;
}

.contact-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.contact-email {
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .contact-button {
        width: 100%;
        justify-content: center;
    }
    
    .schedule-grid-container {
        grid-template-columns: 60px repeat(4, 1fr);
        font-size: 0.75rem;
        min-width: min-content;
    }
    
    .schedule-header {
        padding: 0.5rem 0.2rem;
        font-size: 0.65rem;
        word-break: break-word;
    }
    
    .schedule-cell {
        padding: 0.3rem;
        min-height: 85px;
    }
    
    .class-card {
        padding: 0.5rem;
    }
    
    .class-card-name {
        font-size: 0.75rem;
    }
    
    .class-card-instructor {
        font-size: 0.65rem;
    }
    
    .class-card-spots {
        font-size: 0.7rem;
    }
}
