/* 1. Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
html, body {
    width: 100%;
    overflow-x: hidden; /* Prevents the horizontal scroll */
    margin: 0;
    padding: 0;
}

@media (max-width: 600px) {
    /* Make the logo bigger on small screens */
    .main-banner {
        position: fixed;
        top: 0 !important; /* Force it to the absolute edge */
        left: 0;
        margin-top: 0;    /* Remove any top margin inherited from desktop */
        z-index: 1000;
    }

    .banner-logo-img {
        height: 80px; 
    }

    summary {
        font-size: 18px;
        padding: 20px 15px; /* Bigger tap target for thumbs */
    }
    .content{
        padding-top: 180px;
    }

    /* Make the rule text inside larger */
    .rule-content {
        font-size: 16px;
    }

    /* Banner buttons text size */
    .nav-btn {
        font-size: 14px;
        padding: 15px 5px;
    }

    .links-container { 
        display: flex;
        justify-content: space-around;
        padding: 20px 0;
    }

    .social-logo-img {
        height: auto !important;       /* Control the size here */
        width: 100% !important;
        
    }

}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Force body to be at least the height of the screen */
    margin: 0;
}

/* 2. The Floating Banner */
.main-banner {
   position: fixed;
    top: 0;      /* Force it to the absolute top */
    left: 0;     /* Force it to the absolute left */
    width: 100%;
    margin: 0;   /* Remove any accidental margins */
    z-index: 9999;
    height: 200px; /* Increased height for logo + buttons */
    background-color: rgba(33, 33, 33, 0.95); /* Slight transparency */
    backdrop-filter: blur(5px); /* Blurs content behind the banner */
    color: white;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}
.banner-content {
    width: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.logo {
    font-size: 24px;
    letter-spacing: 2px;
    padding-bottom: 20px;
    padding-top: 20px;
    color: #00d4ff;
}

/* 4. Button Styling */
.banner-buttons {
    display: flex;        /* Put buttons side-by-side */
    width: 100%;          /* Stretch container to full width */
    justify-content: center; /* Horizontal center */
    align-items: center;
}

/* The Buttons themselves */
.nav-btn {
    flex: 1;
    padding: 20px;   /* Vertical height for the buttons */
    cursor: pointer;
    background: #222;
    color: white;
    border: none;
    border-top: 1px solid #444; 
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}



.nav-btn:hover {
    background-color: whitesmoke;
    color: #000;
}

.content {
    flex: 1; 
    padding-top: 220px; /* Space for your floating banner */
    padding-left: 20px;
    padding-right: 20px;
}
.banner-logo-img {
    height: 100px;       /* Control the size here */
    width: auto;        /* Prevents squishing */
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.banner-logo-img:hover {
    transform: scale(1.05); /* Makes it pop slightly when hovered */
}

a.nav-btn {
    text-decoration: none; 
}
.links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 200px;
}
.links {
    display: flex;
    justify-content: center;
}
.social-logo-img {
    padding: 10px;
    height: 150px;       /* Control the size here */
    width: auto;        /* Prevents squishing */
    display: flex;
    justify-content: center; /* Keep them bunched together in the center */

    transition: transform 0.3s ease; /* Smooth hover effect */
}
.social-logo-img:hover {
    transform: scale(1.1); /* Makes it pop slightly when hovered */
}

.RLS-logo {
    width: auto;        /* Prevents squishing */
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    background-color: #222;
}
.RLS-logo-img {
    height: 250px;       /* Control the size here */
    width: auto;        /* Prevents squishing */
    display: inline-block;
    margin: 0 10px;
    padding: 10px;
    transition: transform 0.3s ease; /* Smooth hover effect */

}
.rule-section {
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    background-color: #222;
    color: whitesmoke;
    list-style: none; 
}

summary::before {
    content: "▶ ";
    display: inline-block;
    transition: transform 0.2s;
}

/* Rotates the arrow when the section is open */
details[open] summary::before {
    transform: rotate(90deg);
}

.rule-content {
    padding: 20px;
    line-height: 1.6;
    color: #333;
    border-top: 1px solid #eee;
}

.rule-content ul {
    padding-left: 20px;
}
.header-container{
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.rules-header{
    display: flex;
    justify-content: center;
    padding: 10px;
}
.tutorial-container{
    display: flex;
    justify-content: center;
    padding: 10px;
}
.welcome-text-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    font-size: 20px;
    text-align: center;
}
.downloads-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.download-btn {
    background-color: #00d4ff; /* A bright "Action" color */
    color: #222;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.2s;
}

.download-btn:hover {
    transform: scale(1.05);
}