/* ==========================================
   ZMIENNE CSS - kolory i podstawowe wartości
   ========================================== */
:root {
	--cyan: #00D4FF;
	--blue: #0066FF;
	--violet: #8B00FF;
	--magenta: #D600FF;
	--dark: #0a0a0f;
	--darker: #05050a;
}

/* ==========================================
   RESET I PODSTAWOWE STYLE
   ========================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: #0a0a0f;
	color: #fff;
	overflow-x: hidden;
}

/* ==========================================
   NAVBAR - nawigacja górna
   ========================================== */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(10, 10, 15, 0.95);
	backdrop-filter: blur(20px);
	z-index: 1000;
	padding: 1.2rem 5%;
	border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.nav-container {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 1rem;
	z-index: 1001;
}

.logo img {
	height: 65px;
	filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

/* Menu główne */
.nav-menu {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	align-items: center;
}

.nav-menu a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s;
}

.nav-menu a:hover {
	color: var(--cyan);
}

/* Language switcher - przełącznik języków */
.language-switcher {
	position: relative;
}

.lang-current {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.2rem;
	background: rgba(0, 212, 255, 0.1);
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 700;
	font-size: 0.85rem;
}

.lang-current:hover {
	background: rgba(0, 212, 255, 0.15);
	border-color: var(--cyan);
}

.lang-flag {
	font-size: 1.2rem;
}

.lang-arrow {
	font-size: 0.7rem;
	color: var(--cyan);
	transition: transform 0.3s;
}

.language-switcher.active .lang-arrow {
	transform: rotate(180deg);
}

.lang-dropdown {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	background: rgba(10, 10, 15, 0.98);
	backdrop-filter: blur(20px);
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 10px;
	padding: 0.5rem 0;
	min-width: 150px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.language-switcher.active .lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-option {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.8rem 1.2rem;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 600;
	font-size: 0.9rem;
}

.lang-option:hover {
	background: rgba(0, 212, 255, 0.1);
	color: var(--cyan);
}

.lang-option.active {
	background: rgba(0, 212, 255, 0.15);
	color: var(--cyan);
}

.lang-separator {
	color: rgba(255, 255, 255, 0.3);
}

/* CTA button w nav */
.nav-cta {
	background: linear-gradient(135deg, var(--cyan), var(--blue));
	color: #000;
	padding: 0.7rem 1.8rem;
	border-radius: 5px;
	font-weight: 700;
}

.nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* ==========================================
   HAMBURGER MENU - tylko mobile
   ========================================== */
.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	z-index: 1001;
	padding: 10px;
}

.hamburger span {
	width: 28px;
	height: 3px;
	background: var(--cyan);
	border-radius: 3px;
	transition: all 0.3s;
	box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Animacja hamburgera do X */
.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   HERO SECTION - sekcja główna z tłem
   ========================================== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 80px;
	padding: 4rem 5%;
	overflow: hidden;
	background: linear-gradient(135deg, #0a0e27 0%, #0d1829 50%, #0a0e27 100%);
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=1800&q=80') center/cover;
	opacity: 0.35;
	filter: brightness(0.5);
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 14, 39, 0.7) 70%, rgba(10, 14, 39, 0.95) 100%);
}

/* Gwiazdki tło animowane */
.stars {
	position: absolute;
	width: 100%;
	height: 100%;
}

.star {
	position: absolute;
	width: 2px;
	height: 2px;
	background: #fff;
	border-radius: 50%;
	animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
	0%, 100% { opacity: 0.2; }
	50% { opacity: 1; }
}

/* Kosmiczne efekty świetlne */
.cosmic-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.4;
	animation: float 20s infinite ease-in-out;
}

.glow-1 {
	width: 600px;
	height: 600px;
	background: var(--cyan);
	top: -200px;
	left: -200px;
}

.glow-2 {
	width: 500px;
	height: 500px;
	background: var(--violet);
	bottom: -150px;
	right: -150px;
	animation-delay: -5s;
}

.glow-3 {
	width: 400px;
	height: 400px;
	background: var(--blue);
	top: 50%;
	left: 50%;
	animation-delay: -10s;
}

@keyframes float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(50px, -50px) scale(1.1); }
	66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Zawartość hero */
.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 1100px;
}

.hero-badge {
	display: inline-block;
	padding: 0.5rem 1.5rem;
	background: rgba(0, 212, 255, 0.1);
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 2rem;
	color: var(--cyan);
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 5.5rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--violet) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
	font-size: clamp(1rem, 3vw, 1.4rem);
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 3rem;
	line-height: 1.6;
}

.hero-cta {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Przyciski globalne */
.btn {
	padding: 1rem 2.5rem;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s;
	font-size: 0.9rem;
	border: none;
	cursor: pointer;
	display: inline-block;
}

.btn-primary {
	background: linear-gradient(135deg, var(--cyan), var(--blue));
	color: #000;
	box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--cyan);
	color: var(--cyan);
}

/* ==========================================
   SEKCJE - wspólne style dla wszystkich sekcji
   ========================================== */
.section {
	padding: 5rem 5%;
	max-width: 1600px;
	margin: 0 auto;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	background: linear-gradient(135deg, var(--cyan), var(--violet));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.see-more {
	color: var(--cyan);
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
	transition: all 0.3s;
}

.see-more:hover {
	transform: translateX(5px);
}

/* ==========================================
   STATS - sekcja ze statystykami
   ========================================== */
.stats-section {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 0, 255, 0.05));
	border-radius: 20px;
	padding: 4rem 3rem;
	margin: 3rem 0;
	border: 2px solid rgba(0, 212, 255, 0.1);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 3rem;
	text-align: center;
}

.stat-item {
	position: relative;
}

.stat-big-number {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 900;
	background: linear-gradient(135deg, var(--cyan), var(--violet));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

.stat-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ==========================================
   GAMES GRID - siatka gier
   ========================================== */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
}

.game-card {
	position: relative;
	background: rgba(255, 255, 255, 0.02);
	border: 2px solid rgba(0, 212, 255, 0.1);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s;
	cursor: pointer;
}

.game-card:hover {
	transform: translateY(-10px);
	border-color: var(--cyan);
	box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.game-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: all 0.3s;
}

.game-card:hover .game-image {
	transform: scale(1.1);
}

.game-info {
	padding: 1.5rem;
}

.game-badges {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.badge {
	padding: 0.3rem 0.8rem;
	background: rgba(0, 212, 255, 0.15);
	border-radius: 5px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--cyan);
	text-transform: uppercase;
}

.badge-soon {
	background: rgba(255, 102, 0, 0.15);
	color: #ff6600;
}

.game-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	color: #fff;
}

.game-description {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.game-tech {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tech-badge {
	padding: 0.2rem 0.6rem;
	background: rgba(139, 0, 255, 0.15);
	border-radius: 3px;
	font-size: 0.7rem;
	color: var(--violet);
}

/* ==========================================
   FEATURES - sekcja z funkcjami/możliwościami
   ========================================== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.feature-card {
	padding: 2rem;
	background: rgba(255, 255, 255, 0.02);
	border: 2px solid rgba(0, 212, 255, 0.1);
	border-radius: 15px;
	transition: all 0.3s;
}

.feature-card:hover {
	border-color: var(--cyan);
	background: rgba(0, 212, 255, 0.05);
	transform: translateY(-5px);
}

.feature-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.feature-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.8rem;
	color: var(--cyan);
}

.feature-description {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

/* ==========================================
   FAQ - sekcja z pytaniami
   ========================================== */
.faq-container {
	max-width: 900px;
	margin: 0 auto;
}

.faq-item {
	background: rgba(255, 255, 255, 0.02);
	border: 2px solid rgba(0, 212, 255, 0.1);
	border-radius: 10px;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: all 0.3s;
}

.faq-item.active {
	border-color: var(--cyan);
}

.faq-question {
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 1.1rem;
	transition: all 0.3s;
}

.faq-question:hover {
	color: var(--cyan);
}

.faq-icon {
	font-size: 1.5rem;
	color: var(--cyan);
	transition: transform 0.3s;
}

.faq-item.active .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

.faq-answer-content {
	padding: 0 1.5rem 1.5rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
}

/* ==========================================
   NEWSLETTER - zapis do newslettera
   ========================================== */
.newsletter-box {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 0, 255, 0.1));
	border: 2px solid rgba(0, 212, 255, 0.2);
	border-radius: 20px;
	padding: 3rem;
	text-align: center;
}

.newsletter-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
}

.newsletter-title {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.newsletter-text {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

.newsletter-form {
	display: flex;
	gap: 1rem;
	max-width: 500px;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: center;
}

.newsletter-input {
	flex: 1;
	min-width: 250px;
	padding: 1rem 1.5rem;
	background: rgba(0, 0, 0, 0.3);
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 8px;
	color: #fff;
	font-size: 1rem;
}

.newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
	outline: none;
	border-color: var(--cyan);
}

/* ==========================================
   TEAM - sekcja z zespołem
   ========================================== */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.team-card {
	background: rgba(255, 255, 255, 0.02);
	border: 2px solid rgba(0, 212, 255, 0.1);
	border-radius: 15px;
	padding: 2.5rem;
	text-align: center;
	transition: all 0.3s;
}

.team-card:hover {
	border-color: var(--cyan);
	transform: translateY(-10px);
	box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.team-icon {
	font-size: 4rem;
	margin-bottom: 1.5rem;
}

.team-name {
	font-size: 1.8rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
	color: var(--cyan);
}

.team-role {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--violet);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.team-description {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

/* ==========================================
   OPEN SOURCE - sekcja z projektami OS
   ========================================== */
.opensource-box {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 0, 255, 0.05));
	border: 2px solid rgba(0, 212, 255, 0.2);
	border-radius: 20px;
	padding: 3rem;
	text-align: center;
}

.opensource-icon {
	font-size: 5rem;
	margin-bottom: 1.5rem;
}

.opensource-title {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 1rem;
	color: var(--cyan);
}

.opensource-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.stats-row {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.stat {
	text-align: center;
}

.stat-value {
	font-size: 2.5rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--cyan), var(--violet));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

/* ==========================================
   FOOTER - stopka
   ========================================== */
.footer {
	background: rgba(5, 5, 10, 0.8);
	border-top: 2px solid rgba(0, 212, 255, 0.2);
	padding: 3rem 5% 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1600px;
	margin: 0 auto 2rem;
}

.footer-brand h3 {
	font-size: 1.8rem;
	font-weight: 900;
	color: var(--cyan);
	margin-bottom: 1rem;
}

.footer-brand p {
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-btn {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 212, 255, 0.1);
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 8px;
	font-size: 1.3rem;
	text-decoration: none;
	transition: all 0.3s;
}

.social-btn:hover {
	background: rgba(0, 212, 255, 0.2);
	border-color: var(--cyan);
	transform: translateY(-3px);
}

.footer-col h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--cyan);
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 0.8rem;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: all 0.3s;
}

.footer-col a:hover {
	color: var(--cyan);
	padding-left: 5px;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.9rem;
}

/* ==========================================
   MEDIA QUERIES - responsywność mobilna
   ========================================== */

/* Tablet i mniejsze */
@media (max-width: 1024px) {
	.nav-menu {
		gap: 1.5rem;
	}

	.section {
		padding: 4rem 4%;
	}
}

/* Mobile breakpoint */
@media (max-width: 768px) {
	/* Hamburger widoczny na mobile */
	.hamburger {
		display: flex;
	}

	/* Menu mobilne - overlay fullscreen */
	.nav-menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		background: rgba(10, 10, 15, 0.98);
		backdrop-filter: blur(30px);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		transition: left 0.4s ease;
		padding: 2rem;
	}

	/* Menu otwarte */
	.nav-menu.active {
		left: 0;
	}

	/* Linki w menu mobile większe */
	.nav-menu a {
		font-size: 1.3rem;
	}

	/* Language switcher w menu mobile */
	.language-switcher {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.lang-current {
		width: auto;
	}

	/* Hero sekcja mobile */
	.hero {
		margin-top: 70px;
		padding: 3rem 5%;
		min-height: 90vh;
	}

	.hero-badge {
		font-size: 0.75rem;
		padding: 0.4rem 1rem;
	}

	.hero-cta {
		flex-direction: column;
		gap: 1rem;
	}

	.btn {
		width: 100%;
		text-align: center;
	}

	/* Sekcje na mobile */
	.section {
		padding: 3rem 5%;
	}

	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Stats grid mobile */
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Games grid mobile */
	.games-grid {
		grid-template-columns: 1fr;
	}

	/* Features grid mobile */
	.features-grid {
		grid-template-columns: 1fr;
	}

	/* Newsletter mobile */
	.newsletter-box {
		padding: 2rem 1.5rem;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-input {
		width: 100%;
		min-width: unset;
	}

	/* Team grid mobile */
	.team-grid {
		grid-template-columns: 1fr;
	}

	/* Stats row mobile */
	.stats-row {
		flex-direction: column;
		gap: 2rem;
	}

	/* Footer mobile */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Navbar padding mobile */
	.navbar {
		padding: 1rem 5%;
	}

	.logo img {
		height: 35px;
	}
}

/* Bardzo małe ekrany */
@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.stat-big-number {
		font-size: 2rem;
	}

	.game-info {
		padding: 1rem;
	}

	.feature-card {
		padding: 1.5rem;
	}

	.team-card {
		padding: 1.5rem;
	}

	.opensource-box {
		padding: 2rem 1.5rem;
	}
}