/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #222;
    background: #100f0f; /* Dark background for the whole page */
    overflow: auto;
}

/* Navbar Styling */
.navbar {
    background: rgba(33, 32, 32, 0.25); /* Dark gradient background */
    color: #fff;
    display: flex;n
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    margin-top: 20px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 1000;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Soft shadow */
}

.navbar .logo img {
    width: 62px; /* Adjust logo size */
    height: auto;
    transition: transform 0.3s ease; /* Smooth transition */
}

.navbar .logo img:hover {
    transform: rotate(-5deg) scale(0.8); /* Rotate slightly and scale up */
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    align-items: center; /* Ensures vertical alignment */
}

.nav-links li {
    display: flex;
    align-items: center;
}

.navbar .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-links li a:hover {
    color: #1B6AC8;
    transform: scale(1.1);
}

.navbar .social-icons {
    display: flex;
    gap: 15px;
}

.navbar .social-icons a {
    color: #fff;
    font-size: 1.5em; /* Adjust icon size */
    transition: color 0.3s ease;
}

.navbar .social-icons a:hover {
    color: #1B6AC8; /* Hover effect for icons */
    transform: rotate(-5deg) scale(0.8); /* Rotate slightly and scale up */
}

/* Hero Section Styling */
.hero {
    display: flex;
    justify-content: center; /* Center content */
    align-items: center;
    color: #fff;
    padding: 60px 40px;
}

.hero-text {
    flex: 1;
    max-width: 40%; /* More centered text */
    padding: 20px;
    margin-right: 100px;
    word-wrap: break-word;
}

.hero h1 {
    font-size: 3em; /* Larger heading */
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3em; /* Larger paragraph */
    margin-top: 10px;
    color: rgba(227, 225, 223, 0.78);
}

.hero-image img {
    max-height: 400px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Initial shadow */
    border: 3px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    clip-path: polygon(25% 0, 75% 0, 100% 15%, 100% 85%, 75% 100%, 25% 100%, 0 85%, 0 15%); /* Symmetric cuts */
}

/* Ember Stats Section */
.ember-stats {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    color: white;
}

.stats-item {
    text-align: center;
    margin: 0 15px;
    line-height: 0.5;
}

.stats-item h2 {
    font-size: 2.5em; /* Large number size */
    font-weight: 700;
}

.stats-item p {
    font-size: 1.2em;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Rules Section Styling */
.rules {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 60px 40px;
    margin-top: 40px;
}

.rules-content {
    flex: 1;
    max-width: 60%;
    text-align: left;
    background: rgba(33, 32, 32, 0.25);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.rules h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #1B6AC8;
    padding-bottom: 10px;
}

.rule {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(33, 32, 32, 0.25);
    border-radius: 5px;
}

.rule h2 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.rule p, .rule ul {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: rgba(227, 225, 223, 0.78);
}

.rule ul {
    list-style-type: disc;
    padding-left: 20px;
}

.rule ul li {
    margin-bottom: 8px;
}

.latest-news-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Spacing between elements */
    flex-wrap: wrap;
    text-align: center;
}

.news-title {
    display: flex;
    justify-content: center;
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.news-title a {
    color: white;
    text-decoration: none;
}

.separator {
    font-size: 1.2em;
    color: white;
}



/* Mobile Styles */
@media (max-width: 768px) {
    .navbar, .hero, .ember-stats, .rules {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-text, .hero-image, .stats-item, .rules-content {
        max-width: 100%;
        padding: 10px;
    }

    /* General Styles */
    body {
        padding: 0 10px;
    }

    /* Navbar Styling */
    .navbar {
        display: block;
        text-align: center;
        width: 100%;
        padding: 10px;
        margin-top: 0;
    }

    .navbar .nav-links, .navbar .social-icons {
        display: none; /* Initially hide */
    }

    .navbar .toggle-menu {
        display: block;
        cursor: pointer;
        font-size: 1.5em;
        color: #fff;
    }

    /* Hero Section Styling */
    .hero {
        flex-direction: column; /* Stack text and image vertically */
        padding: 20px 10px;
    }

    .hero-text, .hero-image {
        text-align: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 1.5em; /* Reduce font size for smaller screens */
    }

    .hero p {
        font-size: 1em;
    }

    .hero-image img {
        max-height: 200px;
    }

    /* Ember Stats and Rules Sections */
    .ember-stats, .rules {
        flex-direction: column; /* Stack items for smaller screens */
        text-align: center;
        padding: 20px 0;
    }

    .stats-item h2, .rules h1 {
        font-size: 1.5em;
    }

    .stats-item p, .rule p {
        font-size: 0.9em;
    }

    .rules-content {
        padding: 15px;
    }
}

/* Add these styles for the transition effects */
#content {
    transition: opacity 0.5s ease-in-out; /* Adjust transition time if needed */
    opacity: 1;
}

#content.fade-out {
    opacity: 0; /* Fully transparent */
}

#content.fade-in {
    opacity: 1; /* Fully opaque */
}

/* Define the scrollbar */
::-webkit-scrollbar {
    width: 4px; /* Set a width for the scrollbar */
}

/* Style for the scrollbar track (background) */
::-webkit-scrollbar-track {
    background: transparent; /* Set to transparent or a desired background color */
    border-radius: 2px;
}

/* Style for the scrollbar thumb (draggable part) */
::-webkit-scrollbar-thumb {
    background-color: rgb(27, 106, 200, 0.5); /* Matching blue color */
    border-radius: 2px;
}

/* Hover effect for the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: rgb(27, 106, 200, 0.8); /* Slightly darker opacity for hover */
}
