* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    background: #111;
}

header h1 {
    font-size: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
}

nav a:hover {
    color: #00ff88;
}

.hero {
    text-align: center;

    min-height: 600px;
    padding: 120px 20px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.45)
        ),
        url("image/background.jpg.jpeg");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
button {
    background: #00ff88;
    color: #000;

    border: none;
    padding: 14px 25px;

    font-size: 16px;
    font-weight: bold;

    border-radius: 5px;

    cursor: pointer;
}

button:hover {
    background: #00cc6a;
}

section:not(.hero) {
    padding: 60px 8%;
}

/* LEAGUE SECTION */

.league {
    padding: 70px 20px;
    text-align: center;
}

.league h2 {
    margin-bottom: 30px;
    font-size: 32px;
}


/* LEAGUE CARD */

.league-card {
    width: 100%;
    max-width: 550px;

    margin: 0 auto;

    padding: 40px 30px;

    background: rgba(23, 23, 23, 0.75);

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.league-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.league-card p {
    margin: 15px 0;
    font-size: 17px;
}

.league-card a {
    display: inline-block;
    margin-top: 20px;
}

/* REGISTRATION PAGE */

.registration {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px 30px;

    background: #171717;

    border-radius: 12px;
}

.registration h2 {
    text-align: center;
    margin-bottom: 10px;
}

.registration > p {
    text-align: center;
    margin-bottom: 30px;
    color: #aaa;
}

.registration form {
    display: flex;
    flex-direction: column;
}

.registration label {
    margin-bottom: 8px;
    margin-top: 18px;

    font-weight: bold;
}

.registration input,
.registration select {
    padding: 14px;

    background: #222;

    border: 1px solid #444;

    border-radius: 6px;

    color: white;

    font-size: 16px;
}

.registration input:focus,
.registration select:focus {
    outline: none;
    border-color: #00ff88;
}

.registration button {
    margin-top: 30px;
}


/* SUCCESS MESSAGE */

.success-message {
    display: none;

    text-align: center;

    margin-top: 30px;

    padding: 30px;

    background: #10251b;

    border-radius: 10px;
}

.success-message h2 {
    margin-bottom: 15px;
}

.success-message p {
    margin: 10px 0;
    color: #ccc;
}


/* DISCORD BUTTON */

.discord-button {
    display: inline-block;

    margin-top: 20px;

    padding: 14px 25px;

    background: #5865F2;

    color: white;

    text-decoration: none;

    font-weight: bold;

    border-radius: 6px;
}

.discord-button:hover {
    background: #4752c4;
}