/* --- Globalne --- */
body {
    margin: 0;
    color: #e0e0e0;
    background: url('files/tlo1.jpg') no-repeat center center fixed;
    background-size: cover;
    scroll-behavior: smooth;
}

/* Import czcionki z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Globalna zmiana czcionki */
* {
    font-family: 'Press Start 2P', cursive !important;
}

/* --- Pasek nawigacyjny --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    padding: 20px 0;
    z-index: 100;
}

nav .menu {
    display: flex;
    gap: 30px;
    text-align: center;
}

nav .menu a {
    color: #ff6f00;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

nav .menu a:hover {
    transform: scale(1.2);
    text-decoration: underline;
    color: #ffa000;
    cursor: pointer;
}

/* --- Ekran powitalny --- */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #111, #333);
    z-index: 10;
    opacity: 1;
    transition: opacity 1s ease;
}

#welcome-text {
    font-size: 2em;
    color: white;
    text-align: center;
    animation: pulse 2s infinite alternate;
    user-select: none;
}

@keyframes pulse {
    1% { transform: scale(1.1); }
    50% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* --- Home Screen --- */
#home-screen {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

#home-screen.visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- Sekcja O mnie --- */
header {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding-top: 120px; 
    text-align: center;
}

header h1 { 
    font-size: 3em; 
    color: #ff6f00; 
    margin: 10px 0; 
    transition: transform 0.3s ease;
    cursor: pointer;
}

header h1:hover {
    transform: scale(1.2);
}

header p {
    font-size: 1.2em; 
    color: #ccc; 
    max-width: 700px;
    background-color: rgba(0,0,0,0.6); 
    padding: 15px; 
    border-radius: 10px;
    transition: transform 0.3s ease;
}

header p:hover {
    transform: scale(1.05);
}

/* --- Przyciski animowane --- */
.buttons, .buttons2, .buttons3 {
    margin-top: 20px;
    text-align: center;
}

/* --- Przyciski animowane --- */
.buttons { margin-top:20px; }
.buttons button {
    background-color:#ff6f00; border:none; color:#fff; padding:12px 25px; margin:10px;
    font-size:1em; border-radius:5px; cursor:pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.buttons button:hover { transform:translateY(-3px); box-shadow:0 5px 15px rgba(255,111,0,0.5); }

/* --- Kolejne Przyciski animowane 2--- */
.buttons2 { margin-top:20px;  text-align: center;} 
.buttons2 button {
    background-color:#ff6f00; border:none; color:#fff; padding:12px 25px; margin:10px;
    font-size:1em; border-radius:5px; cursor:pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.buttons2 button:hover { 
    transform:translateY(-3px);
    background: linear-gradient(90deg, #ff6f00, #ee934d, #ff6f00);
    box-shadow:0 5px 15px rgba(255,111,0,0.5);
    transform: scale(1.1);
    animation: shine 4s linear infinite;}


/* --- Kolejne Przyciski animowane 3--- */
.buttons3 { margin-top:20px;  text-align: center;} 
.buttons3 button {
    background-color:#ff6f00; border:none; color:#fff; padding:12px 25px; margin:10px;
    font-size:1em; border-radius:5px; cursor:pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite alternate; 
}
.buttons3 button:hover { 
    transform:translateY(-3px);
    background: linear-gradient(90deg, #ff6f00, #ee934d, #ff6f00);
    box-shadow:0 5px 15px rgba(255,111,0,0.5);
    transform: scale(1.1);
    animation: shine 1s linear infinite;}   

/* --- Dokumenty --- */
.dokumenty {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dokumenty:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* --- Avatar unoszący się --- */
.avatar-float {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.avatar-float img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6f00;
    transition: transform 0.3s ease;
}

.avatar-float img:hover {
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Sekcje --- */
section { 
    padding: 80px 20px; 
    max-width: 1000px; 
    margin: auto; 
}

section h2 { 
    color: #ff6f00; 
    border-bottom: 2px solid #ff6f00; 
    display: inline-block; 
    margin-bottom: 20px; 
}

/* Sekcje z tłem pod tekstem */
.section-bg { 
    background-color: rgba(0,0,0,0.6); 
    padding: 20px; 
    border-radius: 10px; 
}

/* --- Wykresy słupkowe --- */
.chart-container { margin-top: 40px; }

.bar {
    background-color: #5c5b5a;
    height: 40px;
    margin: 15px 0;
    border-radius: 15px;
    text-align: left;
    padding-left: 10px;
    line-height: 40px;
    color: #fff;
    transition: transform 0.3s, background 0.3s;
}

.bar:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #6e6d6d, #2a2b2b, #525151);
    background-size: 200% 100%;
    animation: shine 6s linear infinite;
}

/* --- Karty / Projekty --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Karty */
.card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(31,31,31,0.9);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
    font-weight: bold;
    font-size: 1.1em;
}

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

/* Tekst w karcie z animacją błysku */
.card-text {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff, #2a2b2b, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
}

/* Animacja błysku */
@keyframes shine {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Przycisk po prawej stronie */
.card-button {
    margin-left: auto; /* przesuwa przycisk na prawą stronę */
    padding: 8px 20px;
    background-color: #ff6f00;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.card-button:hover {
    background-color: darkorange;
}



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


/* Karty */
.podniebny {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(31,31,31,0.9);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
    font-weight: bold;
    font-size: 1.1em;
}

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

/* Tekst w karcie z animacją błysku */
.podniebny-text {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff, #2a2b2b, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
}

/* Animacja błysku */
@keyframes shine {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Przycisk po prawej stronie */
.podniebny-button {
    margin-left: auto; /* przesuwa przycisk na prawą stronę */
    padding: 8px 20px;
    background-color: #ff6f00;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.podniebny-button:hover {
    background-color: darkorange;
}



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


.game-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
}

/* --- Stopka --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #1f1f1f;
    color: #888;
}

/* --- Responsywność --- */
@media(max-width:600px){
    nav .menu a { margin-left: 10px; }
    header h1 { font-size: 2em; }
    .buttons button, .buttons2 button, .buttons3 button { padding: 10px 20px; font-size: 0.9em; }
}

/* --- Animacja błysku --- */
@keyframes shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.game-logo {
    width: 40px;  /* wielkość logo */
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
}

h1 {
  font-size: 70px;
  font-weight: bold;
  color: #00ffcc; /* bazowy kolor */
  background: linear-gradient(90deg, #ff6f00, #ffffff, #ff6f00);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* dla Webkita */
  background-clip: text;
  color: transparent;
  animation: shine 3s linear infinite;
}
