:root {
    --primary-color: #A808FF;
    --secondary-color: #2D2D2D;
    --text-color: #222222;
    --background-color: #FFFFFF;
    --accent-color: #A808FF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background: radial-gradient(ellipse at center, #f5f3fa 0%, #fff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--background-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.header .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.header .btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 20px;
}

.badge-link, .section-badge {
    background: #f5f3fa;
    color: var(--primary-color);
    box-shadow: none;
    border: 1.5px solid #e5d6f7;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 16px;
    margin-bottom: 18px;
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #222222;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 36px;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.form-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e5d6f7;
    border-radius: 8px;
    font-size: 16px;
    background: #faf7ff;
}

.hero-image {
    margin-top: 40px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(168,8,255,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
}

.gamepad-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.gamepad-bg-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gamepad-anim {
    position: absolute;
    opacity: 0.18;
    filter: blur(0.5px) drop-shadow(0 2px 8px #a808ff22);
    animation: rotateGamepad linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.gamepad-anim img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes rotateGamepad {
    0% { transform: rotate(var(--start-rotate, 0deg)) scale(1); }
    100% { transform: rotate(calc(360deg + var(--start-rotate, 0deg))) scale(1); }
}

.gamepad-bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

/* Games Section */
.games {
    background: linear-gradient(180deg, #f8f9fa 60%, #f5f3fa 100%);
    padding: 80px 0 60px;
}

.games .section-title {
    font-size: 28px;
    font-weight: 900;
    color: #222;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.games .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #a97cff 0%, #a808ff 100%);
    border-radius: 2px;
    margin: 18px auto 0 auto;
}

.games-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 0;
}

.game-logo {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(80, 60, 120, 0.10);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 100px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.game-logo:hover {
    box-shadow: 0 8px 32px rgba(168,8,255,0.13);
    transform: translateY(-4px) scale(1.04);
}

.game-logo img {
    max-width: 120px;
    max-height: 60px;
    filter: none;
    opacity: 0.95;
}

@media (max-width: 900px) {
    .games-grid {
        flex-direction: column;
        gap: 32px;
    }
    .game-logo {
        min-width: 120px;
        min-height: 60px;
        padding: 18px 16px;
    }
    .game-logo img {
        max-width: 90px;
        max-height: 40px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(34, 31, 31, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: var(--primary-color);
}

.features-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 60, 120, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
}

/* Family Section */
.family {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.family-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.family-image {
    position: relative;
}

.family-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 60, 120, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
}

/* Challenge Section */
.challenge {
    padding: 80px 0;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.challenge-card {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 60, 120, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-description {
    color: #666;
}

/* Community Section */
.community {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.community-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 60, 120, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(120deg, #f5f3fa 60%, #e9d6fa 100%);
    color: #222;
    text-align: center;
    border-radius: 32px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(168,8,255,0.08);
}

.cta-title {
    color: var(--primary-color);
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.cta-buttons .btn-secondary:hover {
    background-color: #7a05c7;
}

/* Footer */
.footer {
    padding: 48px 0 32px 0;
    background: linear-gradient(90deg, #2D1836 0%, #1a1024 100%);
    color: #e0d8f7;
    border-top: 2px solid rgba(168,8,255,0.10);
    font-size: 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-eu {
    flex: 2;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eu-text {
    margin-bottom: 10px;
    opacity: 0.85;
    color: #e0d8f7;
    font-size: 14px;
}

.eu-image {
    max-width: 160px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(80,60,120,0.10);
    padding: 4px 8px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-link {
    color: #e0d8f7;
    opacity: 0.85;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, opacity 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    opacity: 0.7;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-content,
    .family-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-images {
        order: -1;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .newsletter-form,
    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-links {
        align-items: flex-start;
    }

    .copyright {
        text-align: left;
    }

    .section-title {
        font-size: 24px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .container {
        padding: 0 16px;
    }

    .gamepad-anim {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .nav {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

a:focus, button:focus, .btn:focus, .nav-link:focus {
    outline: 3px solid #A808FF;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #e9d6fa;
}
.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: #fff;
    color: #A808FF;
    padding: 10px 18px;
    z-index: 2000;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 2px 8px #a808ff22;
    transition: left 0.2s;
}
.skip-link:focus {
    left: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--background-color);
        padding: 80px 20px 20px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.3s ease;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-link:hover,
    .nav-link.active {
        border-bottom: 1px solid var(--primary-color);
    }

    .header-content {
        justify-content: space-between;
    }
}

/* Dodaj overlay dla menu mobilnego */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .nav-overlay {
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }
} 