@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
    --bg-color: #0a0a0a;
    --surface: #171717;
    --primary: #dc2626;
    --primary-hover: #dc2626;
    --text-main: #fafafa;
    --text-muted: #a3a3a3;
    --border-color: #262626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0a0a0a !important;
    position: relative;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

body:not(.profile-body)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 0%, rgba(250, 250, 250, 0.05) 0%, transparent 55%),
        radial-gradient(circle at 85% 100%, rgba(239, 68, 68, 0.15) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   1. (INDEX, LOGIN, REG)
   ========================================= */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.hero {
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- MAIN BUTTONS --- */
.btn {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary { background-color: var(--primary); color: white; box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
.btn-secondary { background-color: var(--surface); color: white; border: 1px solid #333; }
.btn-secondary:hover { background-color: #222; border-color: var(--primary); transform: translateY(-2px); }

/* --- LOG / REG --- */
.form-container {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 80px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #222;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.error { background-color: rgba(229, 9, 20, 0.2); color: #ff4d4d; border: 1px solid #ff4d4d; }
.success { background-color: rgba(46, 204, 113, 0.2); color: #2ecc71; border: 1px solid #2ecc71; }

/* --- SHOW / HIDE password --- */
.password-wrapper {
    position: relative;
    display: block;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.toggle-password:hover {
    color: var(--text-main);
}

/* Overlay */
.screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.screen-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.screen-overlay h2 {
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   2. DASHBOARD
   ========================================= */
.dashboard-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar {
    width: 280px;
    background-color: transparent;
    border-right: 1px solid #1a1a1a;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace; 
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 50px;
    padding-left: 15px;
}

.sidebar-logo span { color: var(--primary); }

.sidebar-nav { display: flex; flex-direction: column; gap: 8px; }

.nav-item {
    display: flex; align-items: center; gap: 15px; padding: 12px 15px;
    color: var(--text-main); text-decoration: none; font-size: 1rem;
    border-radius: 8px; transition: all 0.2s ease; font-weight: bold;
}

.nav-item:hover, .nav-item.active { background-color: rgba(229, 9, 20, 0.08); }
.nav-num { color: var(--primary); font-weight: bold; }
.nav-separator { color: var(--primary); font-size: 0.8rem; margin: 30px 0 15px 15px; letter-spacing: 2px; }

.dashboard-content {
    flex: 1; padding: 50px; overflow-y: auto; font-family: 'Inter', sans-serif; 
}

.dashboard-header { margin-bottom: 40px; border-bottom: 1px solid #1a1a1a; padding-bottom: 20px; }

body.dashboard-body { display: block; overflow: hidden; }

.settings-row { display: flex; gap: 20px; margin-bottom: 25px; }

/* ----------------------------------------------------------- */
/* --- NOWE KARTY (UI-CARD) DLA CAŁEGO DASHBOARDU --- */
/* ----------------------------------------------------------- */
.ui-card {
    background: #141414;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #222;
    margin-bottom: 25px;
    transition: border-color 0.3s ease;
    flex: 1;
}

.ui-card:hover { border-color: #333; }

.ui-card-title {
    display: block; 
    margin-bottom: 25px; 
    color: var(--text-main); 
    font-size: 1.1rem;
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    border-bottom: 1px solid #1a1a1a; 
    padding-bottom: 12px;
}

.ui-label {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ui-sub-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.readonly-input-box {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.open-link-btn {
    color: #666;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    font-size: 1.2rem;
}
.open-link-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.ui-action-btn {
    background: #1a1a1a;
    color: #eee;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.2s;
    font-weight: bold;
    display: block; width: 100%; box-sizing: border-box;
}
.ui-action-btn:last-child {
    margin-bottom: 0;
}
.ui-action-btn:hover {
    background: #222;
    border-color: #333;
    transform: translateY(-2px);
}

/* Wnętrza kart (Inputs) */
.input-container {
    display: flex; gap: 0; align-items: center; background: #0a0a0a; 
    padding: 4px 4px 4px 14px; border-radius: 10px; border: 1px solid #262626; 
    margin-bottom: 20px; transition: border-color 0.3s ease;
}
.input-container:focus-within { border-color: var(--primary); }
.input-container input {
    flex: 1; background: transparent; border: none; color: white; 
    font-size: 0.95rem; outline: none; font-weight: bold; padding: 7px 10px;
}
.btn-action {
    padding: 7px 16px; border-radius: 7px; font-size: 0.85rem; font-weight: bold;
    cursor: pointer; border: none; transition: 0.3s; white-space: nowrap; margin-left: 10px;
}
.btn-save-big {
    width: 100%; padding: 18px; font-size: 1.1rem; margin-top: 10px;
    border-radius: 10px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; border: none; font-weight: bold; background: var(--primary); color: #fff;
}
.btn-save-big:hover { background: var(--primary-hover); }

textarea.form-control { resize: vertical; min-height: 100px; }
.current-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); margin-bottom: 10px; display: block; }
.file-upload-btn { background-color: #222; border: 1px solid #333; color: white; padding: 10px 15px; border-radius: 6px; cursor: pointer; }
.file-upload-input { display: none; }
.file-upload-wrapper { display: flex; align-items: center; gap: 15px; margin-top: 5px; margin-bottom: 20px;}
.color-palette { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; margin-bottom: 20px;}
.color-radio { display: none; }
.color-swatch { width: 35px; height: 35px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease; }
.color-radio:checked + .color-swatch { border-color: #fff; transform: scale(1.15); box-shadow: 0 0 12px rgba(255,255,255,0.2); }

/* --- NOTIFY --- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }
.toast {
    background: #5e070d; color: #fff; padding: 16px 25px;
    border: 1px solid var(--primary); border-left: 6px solid var(--primary); 
    border-radius: 8px; box-shadow: 0 10px 40px rgba(229, 9, 20, 0.3); 
    position: relative; overflow: hidden; 
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-width: 320px; font-weight: bold;
}
.toast-progress {
    position: absolute; bottom: 0; left: 0; height: 3px; background: #ff4d4d; 
    width: 100%; animation: progressShrink 3s linear forwards;
}
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes progressShrink { from { width: 100%; } to { width: 0%; } }

/* =========================================
   3. PUBLIC PROFILE
   ========================================= */
.profile-container {
    width: 100%;
    max-width: 420px;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
    margin-top: 40px;
    margin-bottom: 40px;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
    padding: 50px 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}
.profile-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); box-shadow: 0 0 20px rgba(0,0,0,0.4); margin-bottom: 20px; transition: transform 0.3s ease; }
.profile-avatar:hover { transform: scale(1.05); }
.profile-name { font-size: 1.8rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.profile-bio { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.5; white-space: pre-wrap; }

/* BOX - PUBLIC PROFILE */
.btn-brand-default {
    background-color: #e50914 !important; color: #ffffff !important; border: none; padding: 10px 20px;
    border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center;
    justify-content: center; gap: 8.5px; font-weight: bold; transition: background 0.3s ease;
}
.btn-brand-default:hover { background-color: #b80710 !important; }
.promo-box-external {
    width: 90%; max-width: 360px; background: rgba(18, 18, 18, 0.336); backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px;
    padding: 20px 30px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); margin-bottom: 40px; display: flex;
    flex-direction: column; align-items: center; gap: 12px; animation: fadeIn 1s ease-out; margin-top: -15px;
}
.promo-box-external p { color: var(--text-main); font-size: 0.95rem; font-weight: 700; margin: 0; letter-spacing: 0.5px; }
.btn-discord { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 12px; font-weight: 900; box-shadow: 0 8px 20px rgba(59, 241, 99, 0.25); text-decoration: none; color: #fff; }
.discord-info { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 1px; }
.discord-info strong { color: var(--primary); }
.links-container { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.link-icon { color: var(--text-main); font-size: 1.3rem; transition: color 0.3s ease, transform 0.3s ease; text-decoration: none; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.link-icon:hover { color: var(--primary); transform: translateY(-5px) scale(1.1); }
.branding { color: #ffffff; font-size: 0.85rem; font-weight: 700; text-decoration: none; opacity: 0.8; transition: opacity 0.3s; display: inline-block; margin-top: auto; }
.branding:hover { opacity: 1; }
.branding span { color: #e50914 !important; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.platform-selector { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 35px !important; background: #0d0d0d; padding: 15px; border-radius: 12px; border: 1px solid #262626; }
.platform-option input[type="radio"] { display: none; }
.platform-option i { font-size: 2.2rem; color: #444; cursor: pointer; transition: all 0.3s ease; padding: 12px; border-radius: 10px; border: 2px solid transparent; }
.platform-option i:hover { color: var(--text-main); transform: translateY(-3px); }
.platform-option input[type="radio"]:checked + i { color: var(--primary); border-color: var(--primary); background: rgba(229, 9, 20, 0.1); transform: scale(1.1); box-shadow: 0 10px 20px rgba(229, 9, 20, 0.2); }

/* PREMIM */
.glow-magic { animation: magicGlow 2s infinite alternate ease-in-out; }
@keyframes magicGlow { 0% { text-shadow: 0 0 10px rgba(192, 132, 252, 0.5), 0 0 20px rgba(192, 132, 252, 0.3); filter: hue-rotate(0deg); } 100% { text-shadow: 0 0 15px rgba(232, 121, 249, 0.8), 0 0 30px rgba(232, 121, 249, 0.5); filter: hue-rotate(45deg); } }
.glow-fire { animation: fireGlow 1.5s infinite alternate; }
@keyframes fireGlow { 0% { text-shadow: 0 2px 10px rgba(255, 0, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.4); } 100% { text-shadow: 0 1px 15px rgba(255, 0, 0, 0.8), 0 -2px 25px rgba(255, 165, 0, 0.6); } }
.glow-lightning { animation: lightningGlow 0.4s infinite alternate; }
@keyframes lightningGlow { 0%, 100% { text-shadow: 0 0 5px rgba(59, 130, 246, 0.5); } 50% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.9), 0 0 40px rgba(96, 165, 250, 0.8); } }

.particle-magic, .particle-fire, .particle-lightning, .particle-regular { position: relative; display: inline-block; padding: 0 15px; }
.particle-magic::before, .particle-magic::after { content: '✨'; position: absolute; pointer-events: none; animation: floatMagic 2s infinite ease-in-out; }
.particle-magic::before { top: -10px; left: -10px; font-size: 1rem; animation-delay: 0s; }
.particle-magic::after { bottom: -5px; right: -15px; font-size: 1.3rem; animation-delay: 1s; }
@keyframes floatMagic { 0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.7; } 50% { transform: translateY(-8px) scale(1.2) rotate(15deg); opacity: 1; } }
.particle-fire::before, .particle-fire::after { content: '🔥'; position: absolute; pointer-events: none; animation: burnFire 1s infinite alternate ease-in-out; }
.particle-fire::before { top: -15px; left: -10px; font-size: 1.1rem; animation-delay: 0.3s; }
.particle-fire::after { bottom: -5px; right: -10px; font-size: 1.4rem; animation-delay: 0s; }
@keyframes burnFire { 0% { transform: scale(0.9) translateY(0) rotate(-5deg); opacity: 0.8; } 100% { transform: scale(1.1) translateY(-4px) rotate(5deg); opacity: 1; filter: brightness(1.2); } }
.particle-lightning::before, .particle-lightning::after { content: '⚡'; position: absolute; pointer-events: none; animation: zapLightning 0.5s infinite alternate ease-in-out; }
.particle-lightning::before { top: -15px; left: -15px; font-size: 1.2rem; animation-delay: 0.1s; }
.particle-lightning::after { bottom: -10px; right: -15px; font-size: 1.2rem; animation-delay: 0.4s; }
@keyframes zapLightning { 0% { transform: scale(0.9) rotate(-10deg); opacity: 0.5; } 100% { transform: scale(1.1) rotate(10deg); opacity: 1; filter: drop-shadow(0 0 10px blue); } }
.particle-regular::after { content: attr(data-regular-emoji); position: absolute; top: -5px; right: -25px; font-size: 1.3rem; animation: floatRegular 2.5s infinite ease-in-out; pointer-events: none; text-shadow: none !important; }
@keyframes floatRegular { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(10deg); } }

#oneko { background-image: url('https://cdn.jsdelivr.net/gh/adryd325/oneko.js@main/oneko.gif') !important; }

/* ----------------------------------------------------------- */
/* Stylizacja Modali (Okienek) */
/* ----------------------------------------------------------- */
.auth-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.auth-modal.active {
    opacity: 1;
    pointer-events: all;
}
.auth-modal-content {
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.auth-modal.active .auth-modal-content {
    transform: translateY(0);
}
.auth-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.auth-modal-close:hover {
    color: #fff;
}
.auth-modal h3 {
    margin-bottom: 10px;
    color: #fff;
    font-weight: 900;
}
.auth-modal p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.4;
}
.auth-modal .form-control {
    background: #0a0a0a !important;
    border: 1px solid #222 !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 8px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    box-sizing: border-box;
}
.auth-modal .form-control:focus {
    border-color: var(--primary) !important;
    outline: none;
}
.auth-modal .btn-submit {
    background: #eee;
    color: #111;
    border: none;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
}

.auth-modal .btn-submit:hover {
    background: #fff;
}

.step-2 { display: none; }

/* --- POPRAWKI DLA STRONY GŁÓWNEJ --- */
/* --- POPRAWKI DLA STRONY GŁÓWNEJ --- */
body.home-body {
    overflow: hidden !important; /* Całkowicie blokujemy domyślny scroll strony */
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* NOWE PUDEŁKO, KTÓRE MA EFEKT PRZESKOKU */
.snap-wrapper {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.snap-wrapper::-webkit-scrollbar { 
    width: 0px; 
    display: none; 
}

.home-hero-section {
    height: 100vh; /* Sztywno równe 100% okna */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative; 
    scroll-snap-align: start; /* Przyciągaj do góry */
    scroll-snap-stop: always;
}

.home-hero-content {
    max-width: 800px;
    width: 100%;
}

.home-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.home-hero-content h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.home-hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.scroll-down-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* =========================================
   4. HOME PAGE - CREATORS SECTION
   ========================================= */
.creators-section {
    height: 100vh; /* Sztywno równe 100% okna */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    scroll-snap-align: start; /* Przyciągaj do góry */
    scroll-snap-stop: always;
}

.creators-title {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    margin-top: -120px; 
    text-align: center;
}

.creators-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
}

.creator-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 20px;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.creator-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    background: rgba(30, 30, 30, 0.85);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.creator-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 2px solid transparent;
    transition: border 0.3s ease;
    overflow: hidden; /* <--- DODAJ TO, żeby zdjęcie było idealnym kółkiem */
}

.creator-card:hover .creator-avatar {
    border-color: var(--text-main);
}

.creator-info {
    text-align: center;
}

.creator-info h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.creator-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creator-info p2 {
    color: #d4d4d4;
    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   WYCIĄGNIĘTE Z DASHBOARD I PROFILE
   ========================================= */

/* --- DASHBOARD ELEMENTS --- */
.ui-card, .ui-label, .sidebar, .ui-action-btn, .premium-option { user-select: none; }
input, textarea { user-select: text; }

.color-picker-box { position: relative; display: flex; align-items: center; background: #0a0a0a; border: 1px solid #222; border-radius: 8px; padding: 12px 15px; cursor: pointer; transition: border-color 0.2s; margin-top: 10px; user-select: none; overflow: hidden; }
.color-picker-box:hover { border-color: #333; }
.color-picker-input-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; }
.color-circle-preview { width: 20px; height: 20px; border-radius: 50%; margin-right: 12px; border: 1px solid #333; z-index: 1; }
.color-hex-text { color: #fff; font-family: monospace; font-size: 0.95rem; flex-grow: 1; z-index: 1; }
.color-edit-icon { color: #666; font-size: 0.9rem; z-index: 1; }

.premium-box { display: flex; align-items: center; justify-content: center; background: #0a0a0a; border: 1px solid #222; border-radius: 12px; width: 60px; height: 60px; transition: all 0.2s ease; }
.premium-option input:checked + .premium-box { border-color: var(--primary); background: rgba(220, 38, 38, 0.1); box-shadow: 0 0 15px rgba(220, 38, 38, 0.4), inset 0 0 10px rgba(220, 38, 38, 0.2); transform: scale(1.05); z-index: 2; }
.premium-option:hover .premium-box { border-color: #444; }

.auth-modal-close { position: absolute; top: 15px; right: 20px; color: #888; font-size: 2.2rem; line-height: 1; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.auth-modal-close:hover { color: #fff; transform: scale(1.2); }

.floating-save-bar { position: fixed; bottom: 30px; left: calc(280px + (100vw - 280px) / 2); transform: translateX(-50%) translateY(150px); background: #141414; border: 1px solid #333; padding: 15px 25px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 1000; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 90%; max-width: 750px; }
.floating-save-bar.visible { transform: translateX(-50%) translateY(0); }
.floating-save-bar .unsaved-text { color: #fff; font-weight: bold; font-size: 0.95rem; }

/* --- PROFILE ELEMENTS --- */
::-webkit-scrollbar { width: 0px; background: transparent; display: none; }
body.profile-body { -ms-overflow-style: none; scrollbar-width: none; overflow-x: hidden; }

.glow-magic { text-shadow: 0 0 10px #d946ef, 0 0 20px #d946ef, 0 0 40px #d946ef !important; }
.glow-fire { text-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444, 0 0 40px #ef4444 !important; }
.glow-lightning { text-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6, 0 0 40px #3b82f6 !important; }

#welcomeOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); z-index: 999999; display: flex; justify-content: center; align-items: center; color: #fff; cursor: pointer; transition: opacity 0.4s ease; user-select: none; }
#welcomeOverlay .enter-text { font-size: 1.1rem; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; animation: pulseText 1.5s infinite; }
@keyframes pulseText { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.custom-audio-player { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 15px; padding: 18px; width: 100%; margin-top: 15px; margin-bottom: 25px; }
.song-title { color: #eee; font-size: 0.8rem; font-weight: 800; text-align: center; margin-bottom: 12px; white-space: nowrap; overflow: hidden; }
.timeline-container { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 10px; cursor: pointer; position: relative; margin-bottom: 15px; }
.timeline-progress { height: 100%; background: var(--primary); width: 0%; border-radius: 10px; }
.player-controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 15px; }
.player-controls i { color: #fff; font-size: 1.1rem; cursor: pointer; transition: 0.2s; }
.player-controls i:hover { color: var(--primary); transform: scale(1.1); }
.player-controls .dummy-btn { opacity: 0.2; cursor: default; }
.volume-container { display: flex; align-items: center; gap: 12px; justify-content: center; width: 85%; margin: 0 auto; }
.volume-container i { color: #555; font-size: 0.75rem; }
.volume-slider { -webkit-appearance: none; width: 100%; height: 3px; background: rgba(255,255,255,0.1); border-radius: 5px; outline: none; cursor: pointer; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; background: #fff; border-radius: 50%; cursor: pointer; transition: 0.2s; }