/* Reset ustawień */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* KOLORYSTYKA GAMINGOWA - NIEBIESKA */
    --bg-color: #0f0f0f;       /* Bardzo ciemne tło */
    --card-bg: #1a1a1a;        /* Tło kart */
    
    /* ZMIANA KOLORU NA NIEBIESKI (Electric Blue) */
    --main-accent: #00aaff;    
    
    --text-color: #ffffff;
    --text-secondary: #cccccc;
	--font-headers: 'Chakra Petch', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Nawigacja */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.logo {
    font-family: var(--font-headers);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.highlight {
    color: var(--main-accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--main-accent);
    text-shadow: 0 0 10px var(--main-accent);
}

.btn-nav {
    background-color: var(--main-accent);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-nav:hover {
    background-color: #fff;
    box-shadow: 0 0 15px var(--main-accent);
}

/* Styl dla ikonki YouTube w stopce */
.yt-icon {
    width: 35px;       /* Zmieniłem na 35px - idealny, mały rozmiar */
    height: auto;      /* Automatycznie dopasuje wysokość, żeby nie spłaszczyć ikony */
    vertical-align: middle;
    transition: transform 0.3s, filter 0.3s;
}

.yt-icon:hover {
    transform: scale(1.2); /* Lekkie powiększenie po najechaniu */
    filter: drop-shadow(0 0 10px #00aaff); /* Niebieska neonowa poświata */
    cursor: pointer;
}

.socials {
    margin-top: 15px; /* Mały odstęp od tekstu praw autorskich */
}

/* Przycisk Muzyki */
#music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--main-accent);
    color: var(--main-accent);
    padding: 10px 20px;
    font-family: var(--font-headers);
    cursor: pointer;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

#music-btn:hover {
    background: var(--main-accent);
    color: #000;
    box-shadow: 0 0 15px var(--main-accent);
}

/* Ukrywamy odtwarzacz wizualnie, ale zostawiamy go w kodzie */
#player-wrapper {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hero Section */
header {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Tło - filtr niebieski */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,20,40,0.8)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'); 
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-family: var(--font-headers);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.neon-text {
    color: var(--main-accent);
    text-shadow: 0 0 20px var(--main-accent);
}

.btn-main {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--main-accent);
    color: var(--main-accent);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-main:hover {
    background: var(--main-accent);
    color: #000;
    box-shadow: 0 0 30px var(--main-accent);
}

/* Sekcje ogólne */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

h2 {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Siatka wideo */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #333;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--main-accent);
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}

.thumbnail {
    background: #333;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.3s;
}

.video-card:hover .thumbnail img {
    opacity: 1;
}

.play-icon {
    position: absolute;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px #000;
}

.video-card h3 {
    padding: 20px;
    font-size: 1.2rem;
}

.video-card a {
    display: block;
    padding: 15px;
    background: #222;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.video-card a:hover {
    background: var(--main-accent);
    color: #000;
}

/* O mnie */
.about-section {
    background: #141414;
    border-top: 1px solid #333;
    padding: 60px 0;
}


.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Kluczowe dla 4 kafelków */
    gap: 20px;       /* Mniejszy odstęp, żeby się zmieściły */
    margin-top: 40px;
}

/* Opcjonalnie: żeby na telefonie były po 2 w rzędzie */
@media (max-width: 600px) {
    .stat-box {
        width: 45%; 
        margin-bottom: 10px;
    }
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--main-accent);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    background: #050505;
    border-top: 2px solid var(--main-accent);
}

.socials a {
    color: var(--main-accent);
    margin: 0 10px;
    text-decoration: none;
}

/* Responsywność (Mobile) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }
    .nav-links {
        margin-top: 20px;
        flex-direction: column;
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}