:root {
    --bg-main: #0a0e17;
    --bg-card: #121824;
    --green: #10b981;
    --red: #ef4444;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: #1e293b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px;
    overflow-x: hidden;
    transition: background 0.1s ease;
}

/* Klasa aktywowana przyciskiem - Tęczowe Spazmy */
body.spazm-mode {
    animation: epileptic-rainbow 0.5s infinite alternate;
}

@keyframes epileptic-rainbow {
    0% { background-color: #ff0000; filter: hue-rotate(0deg); }
    33% { background-color: #00ff00; filter: hue-rotate(120deg); }
    66% { background-color: #0000ff; filter: hue-rotate(240deg); }
    100% { background-color: #ff00ff; filter: hue-rotate(360deg); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(10, 14, 23, 0.8);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    z-index: 100;
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.status-indicator {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid #ff00ff;
    color: #ff00ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    animation: blink 1s infinite;
}

/* Hero Section */
.hero {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.cringe-badge {
    background: linear-gradient(90deg, rgba(255,0,0,0.2), rgba(0,255,0,0.2), rgba(0,0,255,0.2));
    border: 2px dashed #ff00ff;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 35px;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.rainbow-text {
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slide-bg 3s linear infinite;
    background-size: 400% 100%;
}

@keyframes slide-bg {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Cytat Estakada */
.massive-quote {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 3px 3px #ff0000, -3px -3px #0000ff;
    margin: 30px 0;
    transform: rotate(-2deg);
    animation: wiggle 0.5s infinite alternate;
}

@keyframes wiggle {
    0% { transform: rotate(-2deg) scale(1); }
    100% { transform: rotate(2deg) scale(1.05); }
}

/* Dashboard Grid */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.02);
    border-color: #ff00ff;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 45px;
}

/* PROFIL JUBILATA */
.profile-audit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-images-container {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    justify-content: space-around;
}

.profile-img-wrapper {
    flex: 1;
    max-width: 30%;
    text-align: center;
    border: 2px dashed #00ff00;
    border-radius: 10px;
    padding: 10px;
    background-color: rgba(0, 255, 0, 0.05);
}

.profile-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px #ff00ff);
}

.img-caption {
    font-family: 'Comic Sans MS', cursive;
    font-size: 0.85rem;
    color: #00ff00;
    margin: 0;
}

.thumbs-up-img {
    height: 150px;
}

/* Custom Card Displays */
.counter-display {
    font-size: 3rem;
    font-weight: 900;
    color: #00ff00;
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Comic Sans MS', monospace;
    text-shadow: 0 0 10px #00ff00;
}

.display-box {
    background-color: rgba(0, 0, 0, 0.8);
    border: 3px double #ff0000;
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ff0000;
    margin-bottom: 24px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 5px #ff0000;
}

.terminal-box {
    background-color: #000;
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #00ff00;
    height: 110px;
    overflow-y: auto;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.full-width-card {
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 20px 0 28px 0;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "🚧";
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.95);
}

.rainbow-btn {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    background-size: 300% 300%;
    animation: slide-bg 2s infinite linear;
    color: white;
    text-shadow: 1px 1px 2px black;
    border: 2px solid white;
}

.danger-btn {
    background-color: #ff0000;
    color: #ffffff;
    box-shadow: 0 0 15px #ff0000;
    animation: blink 0.5s infinite alternate;
}

@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.7; }
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
}

/* JS Interactive Floating Text */
.floating-effect {
    position: fixed;
    pointer-events: none;
    font-weight: 900;
    font-size: 2rem;
    font-family: 'Comic Sans MS', cursive;
    text-shadow: 2px 2px 0 #000;
    animation: floatAndSpin 1s forwards ease-out;
    z-index: 10000;
}

@keyframes floatAndSpin {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateY(-150px) rotate(360deg) scale(2); opacity: 0; }
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #121824;
    border: 5px dashed #ff00ff;
    border-radius: 16px;
    padding: 40px;
    max-width: 540px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 100px rgba(255, 0, 255, 0.8);
    transform: scale(0.5) rotate(-10deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1) rotate(0deg);
}

.blink-text {
    animation: blink-fast 0.2s infinite;
}

@keyframes blink-fast {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}