/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #e0e0e0; /* Jasny tekst dla ciemnego tła */
    background-color: #1a1a2e; /* Ciemne tło */
    overflow-x: hidden; /* Zapobiega poziomemu scrollowaniu */
}

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

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif; /* Futurystyczny font dla nagłówków */
    color: #00bcd4; /* Jasnoniebieski/cyjan */
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.5); /* Lekka poświata */
}

p {
    margin-bottom: 15px;
}

a {
    color: #2196f3; /* Niebieski link */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: #00bcd4; /* Cyjanowy przycisk */
    color: #1a1a2e; /* Ciemny tekst na przycisku */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.btn:hover {
    background: #0097a7; /* Ciemniejszy cyjan */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.6);
}

/* Header */
header {
    background: rgba(10, 10, 20, 0.9); /* Prawie czarne, lekko przeźroczyste tło */
    padding: 15px 0;
    border-bottom: 2px solid #00bcd4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo h1 {
    margin: 0;
    font-size: 2.8em;
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 30px;
}

header nav ul li a {
    color: #e0e0e0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

header nav ul li a:hover {
    color: #00bcd4;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/ender-game-hero.jpg') no-repeat center center/cover; /* Zastąp własną grafiką */
    color: #fff;
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    border-bottom: 3px solid #00bcd4;
    box-shadow: inset 0 -10px 20px rgba(0, 188, 212, 0.2);
}

#hero h2 {
    font-size: 3.8em;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cfd8dc;
}

/* Sections */
section {
    padding: 80px 0;
    background-color: #1a1a2e;
    margin-bottom: 0; /* Brak marginesów między sekcjami */
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
    position: relative;
    z-index: 1;
}

section:nth-of-type(even) {
    background-color: #2c2c4a; /* Lekko jaśniejsze tło dla parzystych sekcji */
}

section h3 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: #2196f3;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.7);
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    background: #23233b;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.4);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.7));
}

.feature-item h4 {
    color: #2196f3;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(33, 150, 243, 0.7);
}

.feature-item p {
    color: #bdbdbd;
}

/* Community Section */
#community {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/battle-room-bg.jpg') no-repeat center center/cover; /* Zastąp własną grafiką */
    padding: 100px 0;
    color: #fff;
    border-top: 3px solid #2196f3;
    border-bottom: 3px solid #2196f3;
}

#community h3 {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.community-highlight {
    background: rgba(0,0,0,0.7);
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
    border: 2px solid #00bcd4;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

.community-highlight p {
    font-style: italic;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.community-highlight span {
    font-weight: bold;
    font-size: 1.1em;
    color: #2196f3;
}


/* Contact Form */
#contact form {
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 40px;
    background-color: #2c2c4a;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #00bcd4;
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="subject"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #00bcd4;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #1a1a2e;
    color: #e0e0e0;
    box-shadow: inset 0 1px 5px rgba(0, 188, 212, 0.2);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="subject"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: inset 0 1px 5px rgba(33, 150, 243, 0.5), 0 0 8px rgba(33, 150, 243, 0.8);
}

.form-group textarea {
    resize: vertical;
}

#contact .contact-info {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #00bcd4;
    color: #cfd8dc;
}

#contact .contact-info p strong {
    color: #00bcd4;
}

/* Footer */
footer {
    background: #0d0d1a; /* Bardzo ciemne tło */
    color: #9e9e9e;
    text-align: center;
    padding: 30px 0;
    border-top: 2px solid #00bcd4;
}

footer p {
    margin: 0;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    #hero h2 {
        font-size: 3em;
    }
    #hero p {
        font-size: 1.2em;
    }
    section h3 {
        font-size: 2.5em;
    }
    .feature-item h4 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 20px;
        text-align: center;
    }

    header nav ul li {
        margin: 0 15px;
    }

    #hero {
        padding: 80px 0;
        min-height: 450px;
    }

    #hero h2 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.1em;
    }

    section {
        padding: 60px 0;
    }

    section h3 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .feature-item {
        padding: 25px;
    }

    #contact form {
        padding: 30px;
    }

    .community-highlight p {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 2.2em;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    #hero {
        padding: 50px 0;
        min-height: 350px;
    }

    #hero h2 {
        font-size: 1.8em;
    }

    #hero p {
        font-size: 0.9em;
    }

    section {
        padding: 40px 0;
    }

    section h3 {
        font-size: 1.8em;
    }

    .feature-item h4 {
        font-size: 1.4em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .community-highlight p {
        font-size: 1.1em;
    }

    #contact form {
        padding: 20px;
    }
}
