/* KONRAD TUFF.DEV — Pure Vibrant CSS */
:root {
    --bg-dark: #060609;
    --bg-surface: #101016;
    --bg-card: #14141d;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent-gold: #f59e0b;
    --accent-red: #dc2626;
    --accent-cyan: #06b6d4;
    --accent-violet: #8b5cf6;
    --font-heading: 'Cinzel', serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body.tuff-body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(220, 38, 38, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.14) 0%, transparent 45%);
}

a { color: inherit; text-decoration: none; }

@keyframes tuffFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(-0.8deg); }
    50% { transform: translateY(-10px) rotate(0.8deg); }
}

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

.floating-card {
    animation: tuffFloatSlow 4.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.floating-card:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.03) !important;
    border-color: var(--accent-gold);
    box-shadow: 0 12px 38px rgba(245, 158, 11, 0.35), 0 0 28px rgba(220, 38, 38, 0.3);
}

.side-guardians { display: none; }
@media (min-width: 1460px) {
    .side-guardians { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 15; }
    .guardian-badge {
        position: absolute; width: 138px; background: rgba(15, 15, 22, 0.94);
        border: 2px solid rgba(245, 158, 11, 0.55); border-radius: 8px; padding: 0.5rem;
        box-shadow: 0 0 24px rgba(220, 38, 38, 0.25); text-align: center;
    }
    .guard-thumb { width: 100%; height: 90px; object-fit: cover; object-position: top; border-radius: 5px; margin-bottom: 0.35rem; }
    .guardian-badge strong { display: block; font-size: 0.72rem; font-family: var(--font-heading); color: #fff; }
    .guardian-badge small { font-size: 0.58rem; color: var(--accent-gold); font-weight: 800; }
    .g-pos-0 { top: 120px; left: 16px; }
    .g-pos-1 { top: 140px; right: 16px; border-color: rgba(220, 38, 38, 0.6); }
    .g-pos-2 { bottom: 120px; left: 16px; border-color: rgba(6, 182, 212, 0.6); }
    .g-pos-3 { bottom: 130px; right: 16px; border-color: rgba(139, 92, 246, 0.6); }
}

.tuff-marquee-wrap {
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.25);
    background: linear-gradient(90deg, #130b14, #0c0c12, #150e0a);
    border-radius: 10px;
    padding: 1rem 0;
    margin: 0 0 2rem 0;
}

.tuff-marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: tuffMarqueeScroll 28s linear infinite;
}

.marquee-item {
    min-width: 235px;
    background: #151520;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.marquee-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; object-position: top; border: 1px solid rgba(245, 158, 11, 0.6); flex-shrink: 0; }
.marquee-item strong { display: block; font-family: var(--font-heading); font-size: 0.9rem; }
.marquee-item small { color: var(--text-muted); font-size: 0.72rem; }
.char-badge-mini { font-size: 0.62rem; font-weight: 800; color: var(--accent-cyan); letter-spacing: 0.08em; display: block; }

.gradient-text {
    background: linear-gradient(90deg, #fbbf24, #ef4444, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aliases-row { display: flex; flex-wrap: wrap; gap: 0.6rem; font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }
.alias-cyan { color: var(--accent-cyan); }
.alias-gold { color: var(--accent-gold); }
.alias-red { color: var(--accent-red); }

.order-guards-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem;
}
.mini-guard {
    background: #14141f; border: 1px solid rgba(245, 158, 11, 0.55);
    border-radius: 8px; padding: 0.4rem 0.75rem 0.4rem 0.45rem;
    display: flex; align-items: center; gap: 0.55rem; text-align: left;
}
.mini-guard-img { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; object-position: top; border: 1px solid var(--accent-gold); }
.mini-guard strong { font-size: 0.76rem; font-family: var(--font-heading); color: #fff; }
.tier-guard-chip {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    font-size: 0.7rem; font-weight: 800; color: var(--accent-gold);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25); padding-bottom: 0.5rem; margin-bottom: 0.85rem;
}
.tier-avatars { display: flex; align-items: center; }
.tier-avatar-img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; object-position: top; border: 2px solid var(--accent-gold); margin-left: -6px; }

.discord-banner {
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.45), rgba(139, 92, 246, 0.35));
    border: 2px solid rgba(99, 102, 241, 0.65);
    border-radius: 8px; padding: 1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem;
}
.discord-banner.large { margin: 0 auto 2.5rem auto; max-width: 820px; padding: 1.5rem; }
.discord-label { display: block; font-size: 0.72rem; font-weight: 800; color: #a5b4fc; letter-spacing: 0.08em; }
.discord-handle { font-size: 1.2rem; color: var(--accent-gold); font-family: monospace; word-break: break-all; }

.tuff-navbar {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem; background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100;
}
.tuff-brand { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 900; white-space: nowrap; }
.tuff-brand span { color: var(--accent-gold); }
.tuff-navlinks { display: flex; gap: 1.5rem; }
.tuff-navlinks a { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.tuff-navlinks a:hover { color: #fff; }

.tuff-btn-primary {
    display: inline-block; padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, #dc2626, #d97706);
    color: #fff; font-weight: 800; font-size: 0.85rem; text-transform: uppercase;
    border-radius: 5px; border: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
}
.tuff-btn-secondary {
    display: inline-block; padding: 0.55rem 1rem; background: #181822;
    color: #fff; border: 1px solid var(--border-color); font-size: 0.82rem; font-weight: 600; border-radius: 5px; white-space: nowrap;
}
.tuff-btn-outline {
    display: inline-block; padding: 0.65rem 1.4rem; border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fff; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; border-radius: 5px;
}
.full-width { width: 100%; }

/* Container Flex Ordering (Desktop vs Mobile) */
.tuff-container {
    max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem;
    display: flex; flex-direction: column;
}
#o-mnie { order: 1; }
#postacie { order: 2; }
#social-media { order: 3; }
#oferta-www { order: 4; }
#pytania-do-mnie { order: 5; }

.tuff-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.tuff-kicker { font-size: 0.75rem; letter-spacing: 0.14em; font-weight: 800; color: var(--accent-gold); display: block; margin-bottom: 0.75rem; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 0.75rem; }
.hero-tagline { font-size: 1.1rem; color: #e4e4e7; font-weight: 500; margin-bottom: 0.75rem; }
.hero-bio { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-image-card { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid rgba(245, 158, 11, 0.55); }
.hero-img { width: 100%; height: 460px; object-fit: cover; object-position: top; display: block; }
.hero-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(6,6,9,0.95), transparent); }
.quote-text { display: block; font-style: italic; font-size: 0.95rem; margin-bottom: 0.3rem; }
.quote-author { font-size: 0.8rem; color: var(--accent-gold); font-weight: 700; }

.tuff-section { margin-bottom: 4rem; }
.section-header { margin-bottom: 1.75rem; }
.section-header h2 { font-family: var(--font-heading); font-size: clamp(1.75rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.section-header p { color: var(--text-muted); }

.socials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.social-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; transition: all 0.2s ease; min-width: 0; }
.social-card:hover { border-color: var(--accent-cyan); transform: translateY(-3px); }
.social-icon-wrapper { width: 46px; height: 46px; border-radius: 8px; background: #232332; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.platform-letter { font-family: var(--font-heading); font-weight: 900; font-size: 1.35rem; color: var(--accent-gold); }
.social-details { flex-grow: 1; min-width: 0; }
.social-tag { font-size: 0.7rem; color: var(--accent-cyan); font-weight: 800; display: block; }
.social-title { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-url { font-size: 0.8rem; color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-metric { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }

.characters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.character-card { background: linear-gradient(145deg, #16121e, #0d0d14); border: 2px solid rgba(245, 158, 11, 0.35); padding: 1.35rem; border-radius: 10px; position: relative; display: flex; flex-direction: column; }
.char-img-wrap { position: relative; height: 210px; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.1); }
.char-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.char-badge-overlay { position: absolute; bottom: 0.5rem; left: 0.5rem; background: rgba(0,0,0,0.82); color: var(--accent-gold); font-size: 0.65rem; font-weight: 800; padding: 0.25rem 0.55rem; border-radius: 4px; border: 1px solid rgba(245, 158, 11, 0.45); }
.char-badge { font-size: 0.68rem; font-weight: 800; color: var(--accent-gold); margin-bottom: 0.35rem; }
.char-name { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.2rem; }
.char-universe { font-size: 0.8rem; color: var(--accent-cyan); margin-bottom: 0.9rem; }
.char-quote { font-style: italic; font-size: 0.9rem; color: #e4e4e7; border-left: 2px solid var(--accent-red); padding-left: 0.9rem; margin-bottom: 1.15rem; flex-grow: 1; }
.char-stats { display: flex; flex-direction: column; gap: 0.55rem; }
.stat-bar { font-size: 0.75rem; color: var(--text-muted); }
.bar-fill { height: 4px; background: var(--accent-gold); border-radius: 2px; margin-top: 3px; }
.bar-fill.red { background: var(--accent-red); }

.tuff-offer-box { background: radial-gradient(circle at 50% 0%, #2a1222 0%, var(--bg-surface) 75%); border: 2px solid rgba(245, 158, 11, 0.55); padding: 2.5rem 1.25rem; border-radius: 12px; }
.offer-container { max-width: 1000px; margin: 0 auto; }
.offer-badge { text-align: center; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent-gold); margin-bottom: 0.75rem; }
.offer-title { font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.7rem); text-align: center; margin-bottom: 1rem; }
.offer-desc { text-align: center; max-width: 700px; margin: 0 auto 2rem auto; color: var(--text-muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 8px; }
.pricing-card.featured { border: 2px solid var(--accent-gold); }
.tier-name { font-size: 0.8rem; font-weight: 800; color: var(--accent-cyan); display: block; margin-bottom: 0.5rem; }
.tier-price { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 900; color: var(--accent-gold); margin-bottom: 1rem; }
.tier-features { list-style: none; font-size: 0.85rem; color: #d4d4d8; }
.tier-features li { margin-bottom: 0.4rem; }

.contact-box { background: var(--bg-card); border: 1px solid var(--border-color); padding: 1.75rem; border-radius: 8px; max-width: 800px; margin: 0 auto; width: 100%; }
.contact-box h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 1.25rem; text-align: center; }
.tuff-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: #0c0c12; border: 1px solid var(--border-color); padding: 0.75rem; border-radius: 5px; color: #fff; font-family: inherit; }

/* Questions Section */
.tuff-questions-box { background: linear-gradient(145deg, #0b131e, #120d19); border: 2px solid rgba(6, 182, 212, 0.45); border-radius: 12px; padding: 2rem 1.25rem; }
.questions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.questions-list h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 1rem; color: var(--accent-cyan); }
.question-item { background: #0b0b12; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 1rem; margin-bottom: 0.85rem; }
.q-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.q-meta strong { color: var(--accent-cyan); }
.q-text { font-weight: 600; margin-bottom: 0.5rem; }
.q-answer { font-size: 0.88rem; color: #fde68a; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.5rem; }
.q-answer strong { color: var(--accent-gold); font-family: var(--font-heading); }
.empty-note { color: var(--text-muted); font-size: 0.9rem; }

/* Responsive Mobile Admin Panel Styles */
.admin-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; overflow-x: auto; padding-bottom: 0.35rem; }
.admin-tab-link { padding: 0.55rem 0.9rem; background: #181822; border: 1px solid var(--border-color); border-radius: 5px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.admin-tab-link.active { border-color: var(--accent-gold); color: var(--accent-gold); }
.admin-list-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 1rem; background: #14141d; border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 0.65rem; }

.alert { padding: 0.9rem; border-radius: 5px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(16, 185, 129, 0.15); border: 1px solid #10b981; color: #34d399; }
.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #f87171; }

.tuff-footer { border-top: 1px solid var(--border-color); padding: 2rem 1.25rem; background: #050508; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 0.75rem; }

/* MOBILE ORDER: Hero (1) -> Zaproszenie #oferta-www (2) -> Postacie (3) -> Social Media (4) -> Pytania (5) */
@media (max-width: 900px) {
    .tuff-hero, .form-row, .pricing-grid, .questions-grid { grid-template-columns: 1fr; }
    .discord-banner { flex-direction: column; text-align: center; }
    .tuff-navlinks { display: none; }
    .tuff-navbar { padding: 0.85rem 1rem; }
    #o-mnie { order: 1; }
    #oferta-www { order: 2; }
    #postacie { order: 3; }
    #social-media { order: 4; }
    #pytania-do-mnie { order: 5; }
}
