@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Lexend+Deca:wght@400;700&family=Geologica:wght@700;800;900&display=swap");

:root {
  --bg-dark: #161619;
  --bg-medium: #1d1d20;
  --bg-light: #2a2a2e;
  --border-color: #38383f;
  --text-primary: #e4e4e7;
  --text-secondary: #a0a0a9;
  --accent-primary: #9a03aa;
  --accent-secondary: #70027a;
  --purple: #70027a;
  --purple-light: #9a03aa;
  --light-gray: #a8a8a8;
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Lexend Deca', sans-serif;
  --font-headings: 'Geologica', sans-serif;
  --transition-speed: 0.4s;
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* --- EKRAN ŁADOWANIA --- */
.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    visibility: visible;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    animation: pulse 2s infinite ease-in-out;
}

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

.loading-text-wrapper {
    margin-top: 25px;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--light-gray);
    text-align: center;
    min-height: 2em;
    text-transform: uppercase;
}

#loading-message {
    display: inline-block;
    opacity: 1;
}

#loading-message::after {
    content: '_';
    animation: blink-cursor 0.7s infinite;
    margin-left: 2px;
    color: var(--purple-light);
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* TŁO WIDEO */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #0b0c10;
}

/* Zastepcze tlo gdy wideo nie jest ladowane (telefon / oszczedzanie danych) */
.video-background.no-video {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(154, 3, 170, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(112, 2, 122, 0.22) 0%, transparent 55%),
        #0b0c10;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(22, 22, 25, 0.6) 0%, rgba(22, 22, 25, 0.95) 100%);
}

/* NAWIGACJA */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1000;
    transition: all var(--transition-speed) ease-in-out;
    background: transparent;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(13, 13, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.85rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    flex: 1;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: #e7e7e7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 999px;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link:hover, .nav-link.active {
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: none;
    background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
}

.nav-toggle { 
    display: none; 
    font-size: 1.5rem; 
    cursor: pointer;
    color: white;
}

/* LICZNIKI GRACZY */
.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.status-right { margin-left: auto; }

.player-count-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 140px;
    height: 56px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.22s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    flex-wrap: nowrap;
}

.player-count-container:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
}

.player-count-container[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
}

.player-count-icon {
    font-size: 1.05rem;
    color: var(--purple-light);
    text-shadow: 0 0 4px rgba(112, 2, 122, 0.35);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    transition: background-color 0.5s;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 0.85; }
}

.player-count-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1.1;
    gap: 2px;
}

#player-count-label, #player-count-label-soon {
    font-size: 0.68rem;
    color: #dcdcdc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-count-numbers {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 700;
    color: white;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.count-separator { margin: 0 1px; }

#player-count {
    font-size: 1.32rem;
    line-height: 1;
}

.count-separator, #max-players {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-gray);
    line-height: 1;
}

.trend-arrow {
    font-size: 1rem;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    transform: translateY(5px);
}

.trend-arrow.visible { opacity: 1; transform: translateY(0); }
.trend-arrow.up { color: #2ecc71; text-shadow: 0 0 8px #2ecc71; }
.trend-arrow.down { color: #e74c3c; text-shadow: 0 0 8px #e74c3c; }

/* Status SOON */
.player-count-container.soon-status .live-indicator {
    background-color: #e74c3c;
    animation: soonDot 1.6s ease-in-out infinite;
}

.player-count-container.soon-status #player-count-label-soon {
    color: #e74c3c;
}

.player-count-container.soon-status {
    cursor: default;
    flex: 0 0 auto;
    min-width: 140px;
}

.player-count-container.soon-status .player-count-icon {
    color: var(--light-gray);
}

.player-count-container.soon-status:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.player-count-container.soon-status .player-count-numbers span {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

/* RESPONSIVE NAV */
@media (max-width: 992px) {
    .nav-toggle { display: block; z-index: 1001; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .player-count-container { display: none; }
    .status-left, .status-right { display: none; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-medium); }
::-webkit-scrollbar-thumb { background: var(--accent-secondary); border-radius: 10px; }

/* === STRONA PRZEWODNIKA === */
#guide-page {
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* HERO SECTION */
.guide-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
}

.guide-hero .hero-content {
    max-width: 800px;
}

.guide-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.2vw, 3rem);
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    min-height: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.guide-hero .cursor {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.guide-hero p {
    font-size: 1.15rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.scroll-hint:hover {
    color: var(--accent-primary);
}

.scroll-hint i {
    font-size: 1.5rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* === SEKCJA KROKÓW === */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 5% 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Pojedynczy krok */
.step {
    background: rgba(29, 29, 32, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 56, 63, 0.9);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.step:hover {
    transform: translateY(-5px);
}

/* Kolory kroków */
.step.blue { border-left: 4px solid #3b82f6; }
.step.blue:hover { border-color: #3b82f6; }
.step.blue .step-icon { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); }
.step.blue .step-icon i { color: #3b82f6; }
.step.blue .step-number { color: #3b82f6; }

.step.yellow { border-left: 4px solid #fbbf24; }
.step.yellow:hover { border-color: #fbbf24; }
.step.yellow .step-icon { background: rgba(251, 191, 36, 0.15); border-color: rgba(251, 191, 36, 0.3); }
.step.yellow .step-icon i { color: #fbbf24; }
.step.yellow .step-number { color: #fbbf24; }

.step.purple { border-left: 4px solid #8b5cf6; }
.step.purple:hover { border-color: #8b5cf6; }
.step.purple .step-icon { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.3); }
.step.purple .step-icon i { color: #8b5cf6; }
.step.purple .step-number { color: #8b5cf6; }

.step.green { border-left: 4px solid #10b981; }
.step.green:hover { border-color: #10b981; }
.step.green .step-icon { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
.step.green .step-icon i { color: #10b981; }
.step.green .step-number { color: #10b981; }

/* Nagłówek kroku */
.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.05);
}

.step-icon i {
    font-size: 1.8rem;
}

.step-title {
    flex: 1;
}

.step-number {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}

.step-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Treść kroku */
.step-body {
    padding: 30px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.step-body.center {
    text-align: center;
}

.step-body p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.step-body strong {
    color: white;
}

.step-body ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.step-body li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.step-body li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    top: 2px;
}

.step-body ol {
    margin: 1.5rem 0;
    padding-left: 25px;
}

.step-body ol li {
    padding-left: 10px;
    margin-bottom: 12px;
}

.step-body ol li::before {
    content: none;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-primary);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(154, 3, 170, 0.4);
}

.btn-discord {
    background: #5865F2;
}

.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.3rem;
    border-radius: 12px;
    margin: 25px 0;
}

/* Metoda zapasowa */
.backup-method {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: inline-block;
}

.backup-method strong {
    color: var(--light-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.backup-method p {
    margin: 0;
    font-size: 1rem;
}

.congrats {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white !important;
}

/* Ostatni krok - wyróżnienie */
.final-step {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(29, 29, 32, 0.9));
}

/* Footer */
.guide-footer {
    text-align: center;
    padding: 40px 5%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === POPUP KONTAKTOWY === */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.contact-container {
    width: 90%;
    max-width: 550px;
    background: var(--bg-light, #1d1d20);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.contact-popup.active .contact-container {
    transform: scale(1);
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.contact-header h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
}

.contact-header h2 i {
    color: var(--accent-primary);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
}

.close-btn:hover {
    color: white;
    transform: rotate(90deg);
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-icon.ticket {
    background: #5865F2;
    color: white;
}

.contact-info h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-link:hover {
    transform: scale(1.05);
    background: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(154, 3, 170, 0.5);
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}

/* === SYSTEM TABÓW (STYL JAK SIDE-SWITCHER Z PODAŃ) === */
.hidden {
    display: none !important;
}

.tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5% 10px;
    scroll-margin-top: 90px;
    display: flex;
    justify-content: center;
}

.tabs-nav {
    display: inline-flex;
    gap: 4px;
    background: rgba(20, 20, 24, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.tab-label-main {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.tab-label-sub {
    display: none;
}

.tab-btn:hover {
    color: white;
}

.tab-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(154, 3, 170, 0.22) 0%, rgba(154, 3, 170, 0.08) 100%);
    color: #d8b4fe;
    border: 1px solid rgba(154, 3, 170, 0.45);
    box-shadow: 0 0 20px rgba(154, 3, 170, 0.3);
    text-shadow: 0 0 8px rgba(154, 3, 170, 0.5);
}

.tab-btn.active i {
    color: var(--accent-primary);
}

.tab-btn.active .tab-label-main {
    color: var(--purple-light);
}

/* === SEKCJA PODSTAW RP === */
.basics-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 5% 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Intro sekcji */
.basics-intro {
    text-align: center;
    padding: 50px 30px 20px;
}

.basics-intro-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(154,3,170,0.25), rgba(112,2,122,0.12));
    border: 1px solid rgba(154,3,170,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-primary);
    margin: 0 auto 24px;
}

.basics-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: white;
    margin-bottom: 14px;
}

.basics-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* Pojedyncza sekcja podstaw */
.basics-section {
    background: rgba(29, 29, 32, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 56, 63, 0.9);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.basics-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Nagłówki sekcji - różne kolory */
.basics-section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.basics-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    border: 1px solid;
    transition: transform 0.3s;
}

.basics-section:hover .basics-icon {
    transform: scale(1.08);
}

/* Kolory nagłówków */
.basics-section-header.orange .basics-icon { background: rgba(251,146,60,0.15); border-color: rgba(251,146,60,0.35); color: #fb923c; }
.basics-section-header.orange .basics-tag { color: #fb923c; }
.basics-section-header.orange { border-left: 4px solid #fb923c; }

.basics-section-header.blue .basics-icon { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.35); color: #3b82f6; }
.basics-section-header.blue .basics-tag { color: #3b82f6; }
.basics-section-header.blue { border-left: 4px solid #3b82f6; }

.basics-section-header.red .basics-icon { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.35); color: #ef4444; }
.basics-section-header.red .basics-tag { color: #ef4444; }
.basics-section-header.red { border-left: 4px solid #ef4444; }

.basics-section-header.purple .basics-icon { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.35); color: #8b5cf6; }
.basics-section-header.purple .basics-tag { color: #8b5cf6; }
.basics-section-header.purple { border-left: 4px solid #8b5cf6; }

.basics-section-header.green .basics-icon { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.35); color: #10b981; }
.basics-section-header.green .basics-tag { color: #10b981; }
.basics-section-header.green { border-left: 4px solid #10b981; }

.basics-section-header.gold .basics-icon { background: rgba(234,179,8,0.15); border-color: rgba(234,179,8,0.35); color: #eab308; }
.basics-section-header.gold .basics-tag { color: #eab308; }
.basics-section-header.gold { border-left: 4px solid #eab308; }

.basics-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.basics-section-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Treść sekcji */
.basics-body {
    padding: 28px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.basics-body p {
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.basics-body strong {
    color: white;
}

.basics-body ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.basics-body ul li {
    position: relative;
    padding-left: 30px;
}

.basics-body ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    top: 2px;
}

.basics-body ol {
    margin: 1.5rem 0;
    padding-left: 25px;
}

.basics-body ol li {
    padding-left: 10px;
    margin-bottom: 12px;
}

.basics-body ol li::before {
    content: none;
}

/* Podświetlenie info */
.basics-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(154,3,170,0.1);
    border: 1px solid rgba(154,3,170,0.3);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 18px 0;
}

.basics-highlight.warning {
    background: rgba(234,179,8,0.08);
    border-color: rgba(234,179,8,0.3);
}

.basics-highlight i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.basics-highlight.warning i {
    color: #eab308;
}

.basics-highlight p {
    margin: 0;
    font-size: 0.98rem;
}

/* Grid 2 kolumny */
.basics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
}

/* Karty */
.basics-card {
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s;
}

.basics-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: white;
}

.basics-card-header i {
    font-size: 1.2rem;
}

.basics-card p {
    margin: 0;
    font-size: 0.95rem;
}

.ic-card { border-left: 3px solid #3b82f6; }
.ic-card .basics-card-header i { color: #3b82f6; }
.ooc-card { border-left: 3px solid #10b981; }
.ooc-card .basics-card-header i { color: #10b981; }
.rdm-card { border-left: 3px solid #ef4444; }
.rdm-card .basics-card-header i { color: #ef4444; }
.vdm-card { border-left: 3px solid #f97316; }
.vdm-card .basics-card-header i { color: #f97316; }

/* Przykłady dobry/zły */
.basics-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.example {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid;
}

.example.bad {
    background: rgba(239,68,68,0.07);
    border-color: rgba(239,68,68,0.25);
}

.example.bad > i {
    color: #ef4444;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.example.good {
    background: rgba(16,185,129,0.07);
    border-color: rgba(16,185,129,0.25);
}

.example.good > i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.example div strong {
    display: block;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.example div p {
    margin: 0;
    font-size: 0.96rem;
}

/* Tworzenie postaci */
.character-tips {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
}

.char-tip {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s, background 0.3s;
}

.char-tip:hover {
    background: rgba(16,185,129,0.06);
    border-color: rgba(16,185,129,0.2);
}

.char-tip-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(16,185,129,0.35);
    line-height: 1;
    flex-shrink: 0;
    min-width: 36px;
    transition: color 0.3s;
}

.char-tip:hover .char-tip-num {
    color: #10b981;
}

.char-tip strong {
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
}

.char-tip p {
    margin: 0;
    font-size: 0.95rem;
}

/* Złota zasada */
.basics-golden {
    background: linear-gradient(135deg, rgba(234,179,8,0.07), rgba(29,29,32,0.9));
}

.golden-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 2rem;
    }
    
    .guide-hero p {
        font-size: 1rem;
    }

    .tabs-wrapper {
        padding: 0 4% 10px;
    }

    .tab-btn {
        padding: 9px 14px;
        font-size: 0.78rem;
        gap: 6px;
    }
    
    .steps-container {
        padding: 40px 4% 80px;
        gap: 25px;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .step-header h2 {
        font-size: 1.2rem;
    }
    
    .step-body {
        padding: 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-container {
        padding: 30px 20px;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
    }

    .basics-grid {
        grid-template-columns: 1fr;
    }

    .basics-section-header {
        flex-direction: column;
        text-align: center;
        padding: 18px;
        gap: 12px;
    }

    .basics-body {
        padding: 20px;
    }

    .char-tip {
        flex-direction: column;
        gap: 10px;
    }

    .golden-cta {
        flex-direction: column;
    }

    .golden-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
