:root {
    --bg-main: #050505;
    --text-white: #FFFFFF;
    --text-grey: #808080;
    --red-primary: #E60000;
    --red-hover: #FF1A1A;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

.kako-hero {
    margin-top: 3.5vw;
    position: relative;
    width: 100vw;
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 0% 0%, rgba(230, 0, 0, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(255, 64, 129, 0.1) 0%, transparent 40%);
    overflow: hidden;
}

/* Tło statyczne, delikatne */
.kako-hero__bg-fx {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(236, 230, 230, 0.027) 0%, rgba(5, 5, 5, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.kako-hero__container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80vw;
}

/* --- BADGE --- */
.kako-badge {
    background: rgba(18, 18, 18, 0.8);
    border: 0.1vw solid #2C2C2C;
    padding: 0.6vw 1.5vw;
    border-radius: 10vw;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 0.27vw var(--text-white);
    gap: 0.8vw;
    margin-bottom: 2vw;
}

.kako-badge__text {
    color: var(--text-white);
    font-size: 0.9vw;
    font-weight: 600;
    letter-spacing: 0.1vw;
    text-transform: uppercase;
}

.kako-badge__dot {
    width: 0.6vw;
    height: 0.6vw;
    background-color: var(--red-hover);
    border-radius: 50%;
    box-shadow: 0 0 1vw var(--red-hover);
    animation: pulse 2s infinite;
}

/* --- TYTUŁ (GLITCH CIĄGŁY) --- */
.kako-hero__title {
    font-size: 7vw;
    line-height: 0.9;
    font-weight: 900;
    color: var(--text-white);
    margin: 0 0 2vw 0;
    letter-spacing: -0.2vw;
}

.kako-hero__title--highlight {
    color: var(--red-primary);
    position: relative;
    display: inline-block;
    animation: glitch 1.8s infinite;
}
.kako-hero__title--highlight2 {
    color: var(--red-primary);
    position: relative;
    display: inline-block;
    animation: glitch 3.6s infinite;
}

/* --- OPIS (TYPEWRITER) --- */
.kako-hero__description {
    font-size: 1.2vw;
    color: var(--text-grey);
    max-width: 50vw;
    min-height: 4vw;
    margin: 0 auto 3vw auto;
    line-height: 1.6;
    text-align: center;
}

.cursor {
    display: inline-block;
    width: 0.2vw;
    height: 1.2vw;
    background-color: var(--red-primary);
    margin-left: 0.2vw;
    vertical-align: middle;
    animation: blink 1s infinite;
}

/* --- BUTTONS --- */
.kako-actions {
    display: flex;
    gap: 1.5vw;
    justify-content: center;
    margin-bottom: 4vw;
}

.kako-btn {
    padding: 1vw 2.0vw; 
    font-size: 1.1vw;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.6vw;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8vw;
}

.kako-btn__icon {
    width: 1.4vw;
    height: 1.4vw;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-discord { fill: currentColor; }
.icon-sheet { stroke: currentColor; }

/* --- PRIMARY BUTTON (PULSUJĄCY) --- */
.kako-btn--primary {
    background-color: var(--red-primary);
    color: white;
    position: relative;
    z-index: 1;
    animation: button-pulse-red 2s infinite;
}

.kako-btn--primary:hover {
    background-color: var(--red-hover);
    animation: none;
    transform: translateY(0.31px) scale(1.02);
    box-shadow: 0 0 25px rgba(230, 0, 0, 0.8);
}

.kako-btn--primary:hover .icon-sheet {
    transform: translate(0.2vw, -0.2vw);
}

/* --- SECONDARY BUTTON (DISCORD WIGGLE) --- */
.kako-btn--secondary {
    background-color: transparent;
    border: 0.1vw solid #2C2C2C;
    color: white;
}

.kako-btn--secondary:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: var(--text-grey);
    transform: scale(1.05);
}

.kako-btn--secondary:hover .icon-discord {
    animation: wiggle 0.5s ease-in-out infinite;
}

/* --- VIP BUTTON --- */
.kako-btn--vip {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #FFD700; 
    border: 1px solid rgba(255, 215, 0, 0.3); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 5px;
}

.kako-btn--vip:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 215, 0, 0.3);
    color: #FFF; 
}

/* --- STATYSTYKI --- */
.kako-stats {
    display: flex;
    align-items: center;
    gap: 4vw;
    padding-top: 2vw;
    border-top: 0.1vw solid #2C2C2C;
}

.kako-stats__item {
    display: flex;
    flex-direction: column;
}

.kako-stats__number {
    font-size: 3vw;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.kako-stats__label {
    font-size: 0.7vw;
    color: var(--text-grey);
    font-weight: 700;
    letter-spacing: 0.2vw;
    text-transform: uppercase;
    margin-top: 0.5vw;
}

.kako-stats__separator {
    width: 0.1vw;
    height: 3vw;
    background-color: #2C2C2C;
}

/* --- ANIMACJE --- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    2% { transform: translate(-0.1vw, 0.1vw); }
    4% { transform: translate(-0.1vw, -0.1vw); }
    6% { transform: translate(0.1vw, 0.1vw); }
    8% { transform: translate(0.1vw, -0.1vw); }
    10% { transform: translate(0); }
    100% { transform: translate(0); }
}

@keyframes button-pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(230, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(2vw);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Fix */
@media (max-width: 1200px) {
    .kako-hero__title { font-size: 8vw; }
    .kako-hero__description { max-width: 70vw; font-size: 1.5vw; }
    .kako-btn { padding: 1.2vw 2.5vw; font-size: 1.3vw; }
    .kako-stats { gap: 5vw; }
    .kako-stats__number { font-size: 4vw; }
    .kako-stats__label { font-size: 1vw; }
}

@media (max-width: 900px) {
    .kako-hero { height: auto; min-height: 80vh; padding: 120px 0 60px; }
    .kako-hero__container { width: 90vw; }
    .kako-badge { padding: 10px 25px; border-radius: 50px; margin-bottom: 30px; border: 1px solid #2C2C2C; }
    .kako-badge__dot { width: 8px; height: 8px; }
    .kako-badge__text { font-size: 12px; letter-spacing: 1px; }
    .kako-hero__title { font-size: 12vw; line-height: 1; margin-bottom: 25px; }
    .kako-hero__description { font-size: 16px; max-width: 95vw; min-height: 50px; margin-bottom: 40px; }
    .kako-actions { flex-direction: column; width: 100%; max-width: 400px; margin: 0 auto 50px auto; gap: 15px; }
    .kako-btn { width: 100%; padding: 18px 20px; font-size: 15px; border-radius: 12px; justify-content: center; }
    .kako-btn__icon { width: 20px; height: 20px; }
    .kako-stats { width: 100%; justify-content: center; gap: 30px; padding-top: 30px; }
    .kako-stats__number { font-size: 32px; }
    .kako-stats__label { font-size: 11px; letter-spacing: 2px; }
    .kako-stats__separator { display: none; }
}

@media (max-width: 480px) {
    .kako-hero { padding: 100px 0 40px; }
    .kako-badge { padding: 8px 20px; margin-bottom: 20px; }
    .kako-badge__text { font-size: 10px; }
    .kako-hero__title { font-size: 14.5vw; } 
    .kako-hero__description { font-size: 14px; line-height: 1.5; min-height: 60px; }
    .kako-actions { gap: 12px; max-width: 100%; padding: 0 10px; }
    .kako-btn { padding: 15px 10px; font-size: 14px; }
    .kako-stats { gap: 20px; flex-wrap: wrap; } 
    .kako-stats__number { font-size: 28px; }
    .kako-stats__label { font-size: 10px; }
}