
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #1d1d1d;
    line-height: 1.6;

    scroll-behavior: smooth;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: #c70000;
}
h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}
h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: #ca0000;
    color: #ffffff;
    border: none;
}
.btn-primary:hover {
    background-color: #3ba000;
}
.btn-secondary {
    background-color: transparent;
    color: #d93030;
    border: 1px solid #a70404;
    margin-left: 10px;
}
.btn-secondary:hover {
    background-color: #ffffff;
}
.btn-dark {
    background-color: #000000;
    color: #fff;
}
.btn-dark:hover {
    background-color: #555;
}


.header {
    background-color: #141414;
    padding: 15px 0;
    color: #fff;
    border-bottom: 1px solid #e00000;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: block;
}
.header-logo img {
    height: 20px; 
    width: auto;
    display: block;
}
.header-nav {
    display: flex; 
    align-items: center;
}
.header-nav a {
    color: #ccc;
    margin-left: 20px;
    font-weight: 500;
}
.header-nav a:hover {
    color: #fff;
}
.btn-header-download {
    margin-left: 20px;
}


.hero {
    background-image: url('../assets/main-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.808);
    z-index: 1; 
}
.hero-content {
    max-width: 1200px; 
    position: relative; 
    z-index: 2;
    color: #ffffff;
}
.hero-content h1 {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}
.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}
.hero-info {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    font-size: 0.9em;
}
.hero-info div {
    flex: 1;
}
.hero-info h4 {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: #ffffff;
}
.hero-info p {
    margin: 0;
    color: #eeeeee;
}


.features {
    padding: 60px 0;
}
.features-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
.feature-item {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}
.feature-item p {
    margin: 0;
    color: #555;
}


.tournaments {
    padding: 60px 0;
}
.tournaments-grid {
    display: flex;
    gap: 30px;
}
.tournament-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}
.tournament-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}
.tournament-card p {
    flex-grow: 1;
    color: #555;
    margin-bottom: 20px;
}


.how-to-start {
    padding: 60px 0;
    background-color: #fff;
}
.how-to-start ol {
    padding-left: 20px;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1em;
}
.how-to-start li {
    margin-bottom: 15px;
}


.footer {
    background-color: #2a2a2e;
    color: #aaa;
    padding: 40px 0;
    font-size: 0.9em;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left {
    display: flex;
    align-items: center;
}
.footer-18plus {
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #aaa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.footer-links a {
    color: #ccc;
    margin-left: 15px;
}
.footer-links a:hover {
    color: #fff;
}


.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    position: relative;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 101;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    left: 0;
    transition: all 0.25s ease-in-out;
}


.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 11px; }
.menu-icon span:nth-child(3) { top: 22px; }


.menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}
.menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -30px;
}
.menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}



@media (max-width: 800px) {
    

    h1 { font-size: 2.1em; }
    h2 { font-size: 1.8em; }
    .container {

        padding: 0 15px;
    }


    .menu-icon {
        display: block;
    }


    */
    .btn-header-download {
        display: none; 
    }

    .header-nav {

        display: none; 
        

        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #333;
        flex-direction: column;
        padding: 10px 0;
        border-top: 1px solid #444;
        z-index: 100;
    }
    
 
    .menu-toggle:checked ~ .header-nav {
        display: flex;
    }

    .header-nav a {

        margin: 0;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #444;
    }
    .header-nav a:last-child {
        border-bottom: none;
    }


    .hero {
        padding: 40px 0;
        text-align: center;
    }
    .hero-content {

        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .hero-info {

        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }


    .features-grid,
    .tournaments-grid {
        flex-direction: column;
        gap: 20px;
    }

    .features,
    .tournaments,
    .how-to-start {
        padding: 40px 0;
    }
    
    .how-to-start ol {
        padding-left: 25px;
    }
    

    .footer .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-left {
        flex-direction: column;
        gap: 15px;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer-links a {
        margin-left: 0;
    }
}