:root {
    --purple: #471e9e;
    --green: #609d1b;
    --light-green: #85cc36;
    --white: #ffffff;
    --black: #000000;
    --grey: #f0f8ff;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #ffffff;
    background: url('../images/gx.gif') repeat;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Main Content Styles */
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

.header-text h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #609d1b;
}

.header-container {
    text-align: center;
    margin-top: 100px;
    padding-top: 20px;
}

.home-banner {
    width: 60%;
    height: auto;
}

.intro, .features, .why-join, .get-started {
    padding: 20px;
    margin-bottom: 20px;
}

.intro h2, .features h2, .why-join h2, .get-started h2 {
    color: #609d1b; 
}

section p {
    color: #ffffff;
}

/* YouTube Videos */
.youtube-videos {
    padding: 20px;
    text-align: center;
}

.youtube-videos .video {
    margin-bottom: 20px;
}

.iframe-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

iframe {
    width: 100%;
    height: 315px;
    margin-bottom: 10px;
}

.multi-iframe iframe {
    width: 48%;
}

/* Header Text */
.header-text {
    text-align: center;
    margin-top: 100px; 
}

.header-text h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}

/* Section Styles */
.history-img {
    max-width: 80%;
    height: auto;
    border-radius: 8px; 
}

.section {
    background-color: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
}

.section h2 {
    font-size: 28px;
    color: #85cc36;
    margin-bottom: 15px;
}

.section p {
    font-size: 16px;
    color: #000;
    margin-bottom: 15px;
}

.important-person {
    font-weight: bold;
    color: #e41d03;
}

/* List Styles */
.event-list {
    list-style-type: none;
    margin-left: 20px;
}

.event-list li {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
}

.event-list li i {
    color: #85cc36;
    margin-right: 10px;
}

/* Testimonials */
blockquote {
    font-size: 18px;
    font-style: italic;
    background-color: #609d1b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #fff;
}

.testimonial-author {
    font-weight: bold;
    color: #fff;
}

.uniform-title-img {
    display: block;
    margin: 20px auto;
    max-width: 80%;
    margin-top: 100px;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    margin: 20px 0;
}

.uniform-section {
    margin: 40px 0;
}

.uniform-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #471e9e;
}

.uniform-img-small {
    max-width: 50%;
    display: block;
    margin: 0 auto;
}

.uniform-img-large {
    max-width: 80%;
    display: block;
    margin: 0 auto;
}

.note-text {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 30px;
    color: #609d1b;
}


.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.rank-list-img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.intro-text {
    text-align: center;
    font-size: 18px;
    color: #fff;
}

.section-divider {
    margin: 20px 0;
    border-top: 2px solid #85cc36;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* Relations Section */
.relations {
    padding: 100px 20px;
}

.relations-container {
    text-align: center; 
}

.relations-title-img {
    max-width: 88%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.relations-img {
    height: auto;
    margin: 60px 0 40px;
}

.relations-img.servers-img {
    width: 50%; 
    max-width: 400px;
    height: auto; 
    display: block;
    margin: 20px auto; 
}

.relations-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; 
}

.relations-section {
    flex: 1;
    padding: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.relations-section p {
    margin: 10px auto;
}

.relations-section img {
    max-width: 100%; 
    height: auto;
    margin-bottom: 10px;
}

.relations-list {
    list-style-type: none;
    margin-left: 0; 
    padding: 0;
    text-align: center; 
}

.relations-list li {
    margin: 5px 0;
}

.relations-list li.help-force {
    color: #007bff; 
    font-weight: bold;
}

.relations-list li.secret-service {
    color: #ff0000; 
    font-weight: bold;
}

.relations-list li.swat {
    color: #28a745; 
    font-weight: bold;
}

/* Rank Sections */
.rank-list-img {
    width: 80%; 
    max-width: 600px;
    height: auto; 
    display: block;
    margin: 100px auto 20px auto; 
}

.rank-section, .common-roles, .team-martians, .ambassador-mars,
.team-titans, .exclusive-roles, .ambassador-titans {
    background: rgba(72, 72, 72, 0.15); 
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 5px solid #85cc36; 
}

.rank-section h2, .common-roles h2, .team-martians h2, .ambassador-mars h2,
.team-titans h2, .exclusive-roles h2, .ambassador-titans h2 {
    font-size: 1.6rem;
    color: #85cc36;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid #85cc36;
    display: inline-block;
}

.rank-list, .common-roles ul, .team-martians ul, .ambassador-mars ul, .team-titans ul,
.exclusive-roles ul, .ambassador-titans ul {
    list-style: none;
    padding: 0;
    padding-left: 20px;
}

.rank-list li, .common-roles li, .team-martians ul li, .ambassador-mars ul li,
.team-titans ul li, .exclusive-roles ul li, .ambassador-titans ul li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

/* Add stars before ALL roles */
.rank-list li::before, .common-roles li::before, .team-martians ul li::before, 
.ambassador-mars ul li::before, .team-titans ul li::before, 
.exclusive-roles ul li::before, .ambassador-titans ul li::before {
    content: "★";
    color: #85cc36;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Staff Section */
.staff-list-img {
    width: 80%; 
    max-width: 600px;
    height: auto; 
    display: block;
    margin: 100px auto 20px auto; 
}

.staff-section {
    max-width: 60%;
    margin: 50px auto 0;
    padding-top: 20px;
    text-align: center;
}

.staff-section h1 {
    margin-top: 100px;
    color: #609d1b;
    font-weight: bold; 
}

.staff-section p {
    margin-top: 10px; 
}

.staff-member {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 6px; 
    margin: 5px auto; 
    background-color: rgba(255, 255, 255, 0.08);
    max-width: 100%;
    width: 80%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.staff-member img {
    max-width: 80%;
    height: auto; 
    border-radius: 8px;
    margin-bottom: 5px; 
}

.staff-role h2 {
    background-color: #609d1b;
    color: #fff;
    padding: 6px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
    font-size: 1.2rem;
}

.staff-member h3 {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #fff; 
}

.staff-member p {
    font-size: 0.8rem;
    color: #ddd;
}

.staff-role {
    margin: 0 auto 30px; 
    padding: 20px; 
    border-radius: 8px;
    background-color: rgba(71, 30, 158, 0.9);
    text-align: center; 
    max-width: 75%; 
}

.note {
    margin-top: 20px;
    font-style: italic;
    font-size: 1.2em; 
    font-weight: bold;
    color: #ffffff; 
    -webkit-text-stroke: 1px #85cc36;
    text-shadow: 0px 0px 5px rgba(133, 204, 54, 0.8); 
    text-align: center;
    padding: 10px; 
    background-color: rgba(0, 0, 0, 0.6); 
    border-radius: 5px;
    display: inline-block;
}

.hide {
    display: none;
}

.center {
    text-align: center;
}

/* Hall Images */
.section-header {
    margin-top: 150px; 
}

.hall-img {
    display: block;
    max-width: 80%;
    height: auto; 
    margin: 20px auto;
}

/* Hall List Images */
.hall-list img {
    max-width: 50px;
    height: auto;
    margin-right: 10px;
}

.legend-section {
    display: block; 
    max-width: 100%;
    height: auto; 
    margin: 0 auto 10px;
}

.legend-item, .art-creation {
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px; 
    margin: 0 auto;
}

.legend-img,
.art-img {
    max-width: 100%;
    height: auto; 
    border-radius: 5px; 
    margin-bottom: 10px; 
}

.legend-content {
    margin-top: 10px; 
}

.hall-lists {
    margin-top: 30px; 
}

.hall-list {
    display: flex; 
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; 
}

.hall-list img {
    max-width: 400px;
    height: auto; 
    margin-right: 10px; 
}

.legend-content h2 {
    color: #ffffff; 
}

/* Post Container */
.post-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.panel-heading {
    background-color: #f1e2b3;
    padding: 15px;
    color: #333;
}

.panel-title {
    margin: 0;
    font-size: 1.2rem;
}

.panel-body {
    padding: 20px;
}

.panel-text {
    font-size: 1rem;
    color: #212121;
    text-align: center;
}

.panel-footer {
    padding: 15px;
    text-align: center;
}

.btn-primary {
    background-color: #609d1b;
    border-color: #609d1b;
}

.btn-primary:hover {
    background-color: #85cc36;
    border-color: #85cc36;
}

/* Modal Styles */
.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
}

.modal-header {
    background-color: #471e9e;
    color: #fff;
    padding: 15px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px;
    text-align: center;
}

.modal-footer .btn-secondary {
    background-color: #609d1b;
    border-color: #609d1b;
}

/* Image Styles */
img.img-responsive {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #471e9e;
    color: white;
    text-align: center;
    padding: 5px 0; 
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

footer p {
    margin: 0; 
    line-height: 30px;
}

@media screen and (max-width: 700px) {
    .main-content {
        width: 100%;
        padding: 10px;
        overflow-x: hidden;
    }
    .history-img {
        max-width: 80%;
    }

    .rank-list-img {
        max-width: 60%; 
    }

    .staff-list-img {
        max-width: 80%;
    }

    .staff-role {
        max-width: 50%;
    }
    
    .staff-member {
        padding: 3px;
        max-width: 80%;
        width: 80%;
    }

    .staff-role h2 {
        font-size: 0.9rem;
        padding: 4px;
    }

    .staff-member h3 {
        font-size: 0.75rem;
    }

    .staff-member p {
        font-size: 0.7rem;
    }

    .staff-member img {
        max-width: 60%;
    }

    .note {
        font-size: 1em;
        padding: 8px; 
    }

    .hall-img {
        max-width: 30%;
    }
    
    .hall-list p {
        font-size: 0.8rem;
        text-align: center; 
        line-height: 1.4; 
        padding: 0 5px; 
    }

    .legend-content {
        font-size: 0.8rem;
    }

    .legend-content h2 {
        font-size: 1rem;
    }

  }
  
  /* Mobile (Small Screens) */
  @media screen and (max-width: 600px) {
    body {
      background-color: olive;
    }
  
    .container {
      flex-direction: column; 
    }
  
    .main-content {
      padding: 10px;
    }
  
    .column {
      width: 100%;
    }
  
    /* Hide elements on small screens */
    .hidden-on-small {
      display: none;
    }

    .multi-iframe iframe {
        width: 100%;
    }

    .note {
        font-size: 0.9em; 
    }
  }
  