/* ======== style.css ======== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Quicksand", sans-serif;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  background-color: #000; /* Base background - tweak if you prefer */
  overflow-x: hidden; /* Prevents horizontal scrollbars */
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  
}

/* Removed unused .quicksand-fl class */

/* === GENERAL === */
a {
  color: #bc9849; /* Example link color - adjust as needed */
  text-decoration: none;
}
a:hover {
  color: #d8a73c;
}

img {
  max-width: 100%; /* Make images responsive by default */
  height: auto;
  display: block; /* Prevents extra space below images */
  border: none; /* Replaces border="0" */
}

/* === NAVIGATION === */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* Hamburger Toggle Button Styling (Hidden by default on desktop) */
.nav-toggle {
  display: none; /* Hide on desktop */
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10000; /* Ensure it's above other header content */
}
.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo {
  /* Removed font styles, assuming logo is just the image now */
}

.nav-logo-img { /* Added class for the logo image */
    width: 300px; /* Replaces inline width */
    /* Removed margin: 0px; as it's likely handled by flexbox alignment */
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center; /* Vertically align items like the Discord icon */
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
  transition: color 0.3s;
  display: flex; /* Helps align icons if text is added later */
  align-items: center;
}

.nav-links a:hover {
  color: #fff;
}

.nav-discord-icon { /* Added class for the Discord icon */
    width: 18px; /* Replaces inline width */
    height: auto; /* Maintain aspect ratio */
    /* Removed margin: 0px; */
    vertical-align: middle; /* Alternative alignment if needed */
}


/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  background-color: #111; /* fallback */
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Keep video contained */
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto; /* Allow intrinsic aspect ratio */
  height: auto; /* Allow intrinsic aspect ratio */
  transform: translate(-50%, -50%);
  z-index: 0; /* Behind content */
  object-fit: contain; /* Contain the video */

}

.hero .hero-content {
  position: relative; /* Ensure it's above the video */
  z-index: 1;
  max-width: 1000px; /* Updated to 1000px as requested */
  margin: 0 auto; /* Center horizontally */
  padding: 2rem;
}

.hero-panels {
  display: flex; /* Make panels side-by-side */
  justify-content: space-between; /* Put space between panels */
  align-items: center; /* Vertical alignment */
  gap: 40px; /* Space between panels (adjust as needed) */
  width: 100%; /* Take full width of parent */
}

.logo-panel, .discord-panel {
  max-width: calc(50% - 20px); /* Each takes half width minus some space */
  height: auto;
}

/* Add these CSS rules to your style.css file */

/* Make the link take on the proper sizing properties */
.discord-link {
  display: block;
  max-width: calc(50% - 20px);
  flex-basis: calc(50% - 20px);
}

/* Allow the image inside to be full width of its parent link */
.discord-link .discord-panel {
  max-width: 100%;
  width: 100%;
}

.hero h1 { /* Use if you switch hero image to text */
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h2 { /* Style for the "Moon Guard (US)" text */
  font-size: 1.5rem; /* Adjust size as needed */
  font-weight: normal; /* Lighter weight if desired */
  /* Reduce or remove margin-top as image now has margin-bottom */
  margin-top: 0; /* Was 1rem */
}

.hero p { /* Style for potential intro text */
  font-size: 1.2rem;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 1; /* Above video */
}

.scroll-down:hover {
  opacity: 1;
}

/* === TILING BACKGROUND SECTION (About Intro) === */

/* Main Section Container */
.tiling-bg-section {
  width: 100%;
  min-height: 50vh;
  background-color: #1a1a1a;
  background-image: url('images/stonewall_tile_01.png');
  background-repeat: repeat;
  background-position: center -140px;
  background-size: auto 140%;
  display: flex; /* Keep flex */
  /* align-items: flex-start; */ /* From */
  align-items: center;     /* To: Center direct children vertically */
  justify-content: center; /* Keep centering horizontally */
  /* NO padding here - padding moves to wrapper */
  box-sizing: border-box;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0px -10px 15px -5px rgba(0, 0, 0, 0.7),
              0px 10px 15px -5px rgba(0, 0, 0, 0.7);
}

/* Top Border (Pseudo-element on main section) */
.tiling-bg-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%;
  height: 25px; /* Border visual height */
  background-image: url('images/stonewall_tile_01.png');
  background-repeat: repeat-x;
  background-position: top center;
  /* No background-size here */
  z-index: 0; /* Behind everything else inside */
}

/* Bottom Border (Pseudo-element on main section) */
.tiling-bg-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 35px; /* Border visual height */
  background-image: url('images/stonewall_tile_01.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  /* No background-size here */
  z-index: 0; /* Behind everything else inside */
}


/* Gradient Layer (Covers entire section, sits above borders) */
.gradient-overlay-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* Above borders (0), below content wrapper (2) */
    pointer-events: none;
    overflow: hidden;
}

/* Left Gradient (Pseudo-element on gradient layer) */
.gradient-overlay-layer::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 30%; /* Adjust */
    background: url('images/gradient_l.png') left center / cover no-repeat;
}

/* Right Gradient (Pseudo-element on gradient layer) */
.gradient-overlay-layer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 30%; /* Adjust */
    background: url('images/gradient_r.png') right center / cover no-repeat;
}


/* Content Wrapper (Centers the actual content vertically/horizontally) */
.tiling-bg-content-wrapper {
    position: relative; /* Keep relative */
    z-index: 2;       /* Keep above gradients */
    width: 100%;      /* Fill available width */
    /* display: flex; */ /* <<< REMOVE Flex */
    /* align-items: center; */ /* <<< REMOVE */
    /* justify-content: center; */ /* <<< REMOVE */
    /* ADD Padding here */
    padding-top: calc(25px + 2rem);
    padding-bottom: calc(35px + 2rem);
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

/* Actual Content Block */
.tiling-bg-section .content.about-content {
  max-width: 800px;
  width: 90%; /* Or 100% if padding is ONLY on wrapper */
  position: relative;
  z-index: 2;
  padding: 0;
  background-color: transparent;
  text-align: center;
  /* Remove auto vertical margins */
  /* margin-top: auto; */
  /* margin-bottom: auto; */
  margin-left: auto; /* Keep horizontal centering */
  margin-right: auto;
}

/* Book Image (Pseudo-element on actual content block) */
.tiling-bg-section .content.about-content::after {
    content: '';
    position: absolute;
    bottom: -100px;  /* Adjust */
    right: -400px;   /* Adjust */
    width: 650px;   /* Adjust */
    height: 474px;  /* Adjust */
    background-image: url('images/book.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -3; /* <<< BEHIND the parent .content.about-content */
    pointer-events: none;
}


/* Title Image Styles */
.tiling-bg-section .about-title-img {
  height: auto; /* Let height be auto */
  /* Explicit Width if desired, remove max-width/width % */
  width: 335px; /* <<< Set explicit width */
  max-width: 100%; /* Prevent overflow if container is too narrow */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  display: block;
}

/* Description Text Styles */
.tiling-bg-section .about-description {
    font-size: 1.3rem; /* Your desired size */
	font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.0); /* Your desired shadow */
    line-height: 1.6;
    color: #eee;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* === PARALLAX SECTION === */
.parallax-section {
  position: relative;
  width: 100%;
  /* Consider min-height instead of fixed height for flexibility */
  min-height: 600px;
  background: url('images/placard_bg.png') center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem; /* Added more padding */
}

.parallax-section .content.recruitment-content {
  max-width: 800px;     /* Max width of the box */
  width: 90%;
  min-height: 375px;    /* Min height of the box */
  background: rgba(0, 0, 0, 0.6); /* Overlay color/opacity */
  padding: 1.5rem;        /* Inner padding (adjust if needed) */
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centers content vertically if box has extra space */
  box-sizing: border-box;
}

/* Styles for the NEW Recruitment Content */
.recruitment-title-img { /* This is recruiting.png */
  max-width: 100%; /* Adjust size of the title graphic */
  height: auto;
  margin-bottom: 1.5rem; /* Space below title */
}

.recruitment-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2rem;
}

.recruitment-checkusout {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.recruitment-links {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align tops of logos */
  gap: 30px; /* Space between logos */
  flex-wrap: wrap;
  width: 100%;
  max-width: 800px; /* Adjust max width for the logo row */
}

.recruitment-links a {
  display: block;
  transition: transform 0.2s ease-in-out;
  text-align: center;
}

.recruitment-links a:hover {
  transform: scale(1.1);
}

.recruitment-links img {
  /* Set a desired DISPLAY height, width will adjust automatically */
  height: 100px; /* <<< ADJUST desired display height for logos */
  width: auto;  /* <<< Let width adjust based on height */
  max-width: 100%; /* Prevent overflow within the link */
  margin: 0 auto;
  display: block;
}

/* === SEPARATOR SECTION (Between Recruitment and Raid) === */

#recruitment-raid-separator {
  width: 100%;
  height: 195px; /* Match the height of your sep-bricks.png */
  background-image: url('images/sep-bricks.png');
  background-repeat: repeat-x; /* Tile horizontally */
  background-position: center center; /* Center the tile */
  background-size: auto 100%; /* Fit the height, tile width */
  position: relative; /* For positioning pseudo-elements */
  overflow: hidden; /* Contain the gradients */
  /* Add box-shadow similar to tiling-bg-section for consistency? Optional */
  box-shadow: 0px -10px 15px -5px rgba(0, 0, 0, 0.7), /* Outer shadow top */
              0px 10px 15px -5px rgba(0, 0, 0, 0.7); /* Outer shadow bottom */
  z-index: 1; /* Ensure it's above default content flow if needed */
  
}

/* Left Gradient Overlay */
#recruitment-raid-separator::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 30%; /* Same width as your other gradients */
  background: url('images/gradient_l.png') left center / cover no-repeat;
  z-index: 2; /* Above the brick background */
  pointer-events: none;
}

/* Right Gradient Overlay */
#recruitment-raid-separator::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 30%; /* Same width as your other gradients */
  background: url('images/gradient_r.png') right center / cover no-repeat;
  z-index: 2; /* Above the brick background */
  pointer-events: none;
}

.separator-center-image {
    position: absolute;             /* Position relative to the separator div */
    top: 55%;                       /* Move top edge to the middle */
    left: 50%;                      /* Move left edge to the middle */
    transform: translate(-50%, -50%); /* Shift back by half its own width/height */
    width: 300px;                   /* Fixed width */
    height: 100px;                   /* Fixed height */
    z-index: 3;                     /* Place it above the gradients (z-index 2) */
    pointer-events: none;           /* Prevent mouse interaction */
}

/* === END SEPARATOR SECTION === */


/* === SPLIT CONTENT SECTION === */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 400px;
  background-color: #111;
  position: relative; /* Add if not already present, good practice for stacking context */
  z-index: 0;       /* Ensure it's below the separator (which is z-index: 1) */

  /* Add the inset top shadow */
  box-shadow: inset 0px 10px 15px -8px rgba(0, 0, 0, 0.7)
			  inset 0 -15px 20px -10px rgba(0, 0, 0, 0.75);

  /* Adjust values as needed */

}

.content-split .split-left,
.content-split .split-right {
  /* No padding needed directly on split-left */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden; /* Optional: Hide potential background overflow */
}

.split-content-inner {
  width: 100%; /* Allow shrinking */
  max-width: 480px; /* Adjust text column width if needed */
  /* Ensure no margin: auto; here */
  margin-left: auto; /* Explicitly align left */
  margin-right: 10rem;
  position: relative;
  z-index: 2;
}

.split-left {
  position: relative;
  z-index: 1;
  background-image: url('images/raid_bg_summonstone.jpg');
  background-repeat: no-repeat;
  background-position: -500px calc(50% + 100px);
  background-size: cover;
  background-attachment: fixed;
  background-color: #1a1a1a;
  padding: 3rem;
  
}

.split-left::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* === NEW: Raid Info Schedule Details Styling === */

.split-left .split-content-inner {
  /* Ensure text alignment is centered if not already inherited */
  text-align: left;
  /* Add some padding below the "Raid Info" title image */
   
}

.schedule-details {
    margin-top: 1.5rem; /* Space below the Raid Info title h3 */
    line-height: 1.6; /* Base line height for readability */
}

/* === NEW: Raid Info Title Images & Pole Graphic === */

/* Style the new title images */
.schedule-title-img,
.server-title-img {
    display: block; /* Make them block elements for margin control */
    max-width: 214px; /* Adjust max-width as needed */
    width: 100%;    /* Allow shrinking */
    height: auto;   /* Maintain aspect ratio */
    margin-bottom: 0.75rem; /* Space below the title image */
}

.server-title-img {
    margin-top: 1.5rem; /* Space above the server title image */
}

/* Add relative positioning to the container for the pole */
.schedule-details {
    position: relative; /* Needed for absolute positioning of the pole */
    padding-left: 40px; /* Add padding to prevent text overlapping the pole */
                        /* Adjust this value based on pole width/position */
}

/* Style and position the pole graphic */
.schedule-details::before {
    content: '';
    position: absolute;
    left: -45px;        /* Adjust to position horizontally (negative = outside) */
    top: 50%;           /* Center vertically */
    transform: translateY(-50%); /* Fine-tune vertical centering */
    width: 90px;        /* Adjust width of the pole image */
    height: 322px;      /* Adjust height of the pole image */
    background-image: url('images/pole.png');
    background-size: contain; /* Or 'cover' or specific size */
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;        /* Place behind the text content */
    pointer-events: none; /* Prevent interaction */
}


.server-title {
    margin-top: 1.5rem; /* Extra space above SERVER: */
}

/* Style the Detail Text (Days, Time, Server Name) */
.schedule-days,
.schedule-time,
.server-name {
    font-size: 1.3rem; /* Adjust size */
	font-weight: 700;
    color: #d0d0d0; /* Approximate silver/grey color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Standard shadow */
    margin-bottom: 0.25rem; /* Less space between detail lines */
}

.schedule-time {
    margin-bottom: 0; /* No space below the time before the next title */
}

/* === END: Raid Info Schedule Details Styling === */

.split-right {
  padding: 3rem;
  position: relative; /* Added for consistency */
  z-index: 1; /* Added for consistency */
  background-color: #222; /* Fallback color */
  background-image: url('images/prog_bg_undermine.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.content-split h3 {
  margin-bottom: 0;
}
.content-split h3 img {
    display: block;         /* CHANGE to block */
    width: auto;            /* ADD: Use natural width */
    height: auto;           /* ADD: Use natural height */
    max-width: 100%;        /* KEEP: Safety net - prevent overflow IF image is wider than container */
                            /* If it still looks blurry, the image file might need higher resolution */
                            /* or the container is forcing it to shrink. */
   
    margin-bottom: 0.5rem;  /* Keep desired space below */
}

.content-split p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Styles for Raider.IO and WoWProgress widgets */
.raid-progress-widgets {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 5px;       /* Adjust gap as needed */
  align-items: flex-start;
  margin-top: 1rem; /* Keep top margin */
  padding-bottom: 10px;
 
}

.raiderio-widget {
    vertical-align: top; /* <<< ADD THIS */
    /* Add other styles specific to this div if needed */
    /* e.g., flex-shrink: 0; might prevent shrinking issues */
    flex-shrink: 0;
	margin-top: -32px;
}

.raiderio-widget iframe {
    max-width: 100%; /* Safety for small screens */
    border: none;
    overflow: hidden;
    display: block; /* Good practice */
	width: 550px;
    height: 312px;
}

.wowprogress-widget {
    display: inline-block;
    padding: 10px;
    background: url('images/stone_bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 8px;
	vertical-align: top;
}
.wowprogress-widget img {
    max-width: 300px;
    height: auto;
    display: block;
}



/* === CALL TO ACTION SECTION === */
.call-to-action {
  width: 100%;
  background: #111;
  text-align: center; /* Keep center alignment */
  background-image: url('images/stonewall_tile_02.png');
  background-repeat: repeat; /* Tile both horizontally and vertically */
  background-position: top center; /* Center the pattern */
  background-size: auto;
  position: relative;   /* Needed for positioning pseudo-elements */
  overflow: hidden; 
}

/* Left Gradient Overlay for CTA */
.call-to-action::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 30%; /* Same width as your other gradients */
  background: url('images/gradient_l.png') left center / cover no-repeat;
  z-index: 1; /* Above background (default 0), below content (2) */
  pointer-events: none;
}

/* Right Gradient Overlay for CTA */
.call-to-action::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 30%; /* Same width as your other gradients */
  background: url('images/gradient_r.png') right center / cover no-repeat;
  z-index: 1; /* Above background (default 0), below content (2) */
  pointer-events: none;
}

/* Style the Discord link */
.cta-discord-link {
  display: inline-block; /* Allows centering via text-align */
  transition: transform 0.3s ease; /* Add hover effect */
  max-width: 100%; /* Prevent link stretching excessively */
  position: relative; /* Needed for z-index */
  z-index: 2;
}

.cta-discord-link:hover {
  transform: scale(1.03); /* Slight scale on hover */
}

/* Style the Discord image */
.cta-discord-img {
  display: block; /* Ensure it behaves like a block inside the link */
  max-width: 400px; /* Set a max-width for the image if needed */
  width: 100%;     /* Make image responsive within the link */
  height: auto;
  margin: 0 auto; /* Not strictly needed if link is inline-block & centered */
}

/* === END CALL TO ACTION SECTION === */



/* === FOOTER === */
footer {
  background: #0a0a0a; /* Very dark grey */
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem; /* Slightly larger */
  color: #aaa; /* Lighter grey for contrast */
  border-top: 1px solid #222; /* Subtle top border */
}

/* ============================================ */
/* ===         MOBILE STYLES (<= 768px)     === */
/* ============================================ */

@media (min-width: 769px) {
  .raid-progress-widgets {
    flex-wrap: nowrap;   /* Prevent items from wrapping */
    overflow-x: auto;    /* Add horizontal scrollbar ONLY if needed */

    /* Optional: Style the scrollbar (browser support varies) */
    /* Simple webkit scrollbar styling example */
    /*
    &::-webkit-scrollbar {
        height: 8px;
    }
    &::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }
    &::-webkit-scrollbar-thumb {
        background-color: rgba(188, 152, 73, 0.6); // Semi-transparent gold
        border-radius: 4px;
        border: 2px solid transparent;
        background-clip: content-box;
    }
    &::-webkit-scrollbar-thumb:hover {
        background-color: rgba(216, 167, 60, 0.8); // Lighter gold on hover
    }
    */
  }
}


@media (max-width: 768px) {

    /* --- Mobile Navigation --- */
    nav.main-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
    }
    .nav-logo { margin-bottom: 0; }
    .nav-logo-img { width: 260px; }
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px;
        height: 100vh; background-color: rgba(10, 10, 10, 0.95); z-index: 9998;
        transition: right 0.4s ease-in-out; padding-top: 5rem;
        box-shadow: -5px 0px 15px rgba(0,0,0,0.3);
    }
    .nav-links.active { right: 0; }
    .nav-links ul { flex-direction: column; gap: 1.5rem; width: 100%; align-items: center; display: flex; padding: 0; margin: 0; }
    .nav-links li { width: 80%; text-align: center; }
    .nav-links a { padding: 0.75rem 0; justify-content: center; font-size: 1.1rem; width: 100%; color: #ddd; display: flex; }
    .nav-links a:hover { color: #fff; background-color: rgba(255, 255, 255, 0.1); }
    .nav-toggle.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
    .nav-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- Hero Section --- */
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-panels { flex-direction: column; gap: 20px; align-items: center;}
    .logo-panel, .discord-panel { max-width: 80%; }
    .discord-link { max-width: 80%; }

    /* --- Tiling/About Section --- */
    .tiling-bg-content-wrapper {
         padding-top: calc(25px + 1.5rem);
         padding-bottom: calc(35px + 1.5rem);
         padding-left: 1rem;
         padding-right: 1rem;
         /* Ensure flex centering is applied if needed */
         display: flex;
         align-items: center;
         justify-content: center;
    }
    .tiling-bg-section .content.about-content {
         /* Ensure vertical centering works */
         margin-top: auto;
         margin-bottom: auto;
    }
    .tiling-bg-section .content.about-content::after { display: none; } /* Hide book */
    .gradient-overlay-layer::before,
    .gradient-overlay-layer::after {
        /* Option 1: Hide */
         /* display: none; */
        /* Option 2: Reduce Width */
         width: 20%;
		 background-size: 100% 100%;
     }

    /* --- Parallax/Recruitment Section --- */
    .parallax-section {
         background-attachment: scroll; /* Disable parallax */
         padding: 3rem 1rem;
    }
    .parallax-section .content.recruitment-content {
         padding: 1.5rem;
         min-height: auto;
         width: 95%;
         max-width: 500px;
    }
    .recruitment-title-img { max-width: 80%; margin-bottom: 1rem; }
    .recruitment-subtitle { font-size: 1.1rem; margin-bottom: 1.5rem; }
    .recruitment-checkusout { font-size: 0.9rem; margin-bottom: 1rem; }
    .recruitment-links { gap: 15px 20px; max-width: 100%; }
    .recruitment-links img { height: 60px; }

 #recruitment-raid-separator::before,
    #recruitment-raid-separator::after {
        width: 20%; /* Reduce gradient width */
    }
    .separator-center-image {
        /* REMOVED: display: none; */

        /* ADD sizing rules for mobile */
        max-width: 200px; /* Adjust max-width as desired (e.g., 60% of original 300px) */
        width: 60%;       /* Or use a percentage width */
        height: auto;     /* Maintain aspect ratio */
        /* Keep positioning, may need slight top adjustment if separator height changes */
        /* top: 50%; /* Usually fine, but adjust if needed */
        /* transform: translate(-50%, -50%); */ /* Keep */
        /* z-index: 3; */ /* Keep */
        /* pointer-events: none; */ /* Keep */
    }
    /* Optional: Reduce separator height */
    #recruitment-raid-separator {
         height: 150px; /* Example: Reduced height */
         background-size: auto 150px; /* Match reduced height */
    }
	
    /* Optional: Reduce separator height */
    /* #recruitment-raid-separator { height: 100px; background-size: auto 100px; } */


    /* --- Split Content Section --- */
    .content-split {
         grid-template-columns: 1fr; /* <<< MAKE COLUMNS STACK */
    }
    .content-split .split-left,
    .content-split .split-right {
         padding: 2rem 0.5rem;
         background-attachment: scroll; /* Disable parallax */
         min-height: auto;
		 background-position: center center !important; 
    }
	
	/* --- Center "Current Progress" Title Image on Mobile --- */
    .content-split .split-right h3 img {
      margin-left: auto;   /* Add auto left margin */
      margin-right: auto;  /* Add auto right margin */
      /* Keep any existing margin-bottom if needed */
      margin-bottom: 0.5rem; /* Already present in your code, ensure it stays */
    }
    /* --- End Center Title --- */
	
    /* Left Column Content */
    .split-content-inner {
         padding: 0; /* Remove desktop padding */
         max-width: 100%; /* Allow full width */
         margin-left: auto; /* Center container */
         margin-right: auto;
         text-align: center; /* Center text/images inside */
		 width: fit-content; 
    }
    .schedule-details {
         padding-left: 0; /* Remove desktop padding for pole */
		 text-align: center;
		 margin-top: 1.5rem;
    }
	
    .schedule-details::before {
         display: none; /* Hide pole graphic */
    }
    .schedule-title-img,
    .server-title-img {
         margin-left: auto; /* Center title images */
         margin-right: auto;
         max-width: 160px; /* Smaller images */
		 position: relative; /* Allows positioning relative to its normal spot */
         left: 10px; 
    }
	
	.content-split .split-left h3 {
        margin: 0 0 1rem 0; /* Reset margin, add bottom margin */
		margin-left: auto;  /* <<< ADD/ENSURE Mobile margin is AUTO */
        margin-right: auto; /* <<< ADD/ENSURE Mobile margin is AUTO */
    }
	
	.content-split .split-left h3 img {
        margin-left: auto;  /* Center the block image */
        margin-right: auto; /* Center the block image */
        /* max-width: 90%; */ /* Adjust if needed */
    }
	
	
    /* Right Column Widgets */
    .raid-progress-widgets {
         flex-direction: column; /* Stack widgets vertically */
         align-items: center; /* Center widgets */
         overflow-x: hidden; /* Ensure no horizontal scroll on mobile stack */
         padding-bottom: 0; 
    }
	
	 /* --- EXPLICITLY HIDE RIO WIDGET ON MOBILE --- */
    .raiderio-widget-wrapper {
        display: none;
    }
    /* --- END HIDE RIO WIDGET --- */
		
    .raiderio-widget iframe {
         display: block;
         width: 100%;  /* Fill .raiderio-widget */
         height: 100%; /* Fill .raiderio-widget */
         border: none;
         margin: 0;
         /* REMOVE width/height/transform from iframe itself */
    }

    .wowprogress-widget {
         margin: 0 auto; /* Center widget */
         display: block; /* Make link block for margin auto */
    }


    /* --- CTA Section --- */
    .call-to-action {
        padding: 1rem 0.5rem;
    }
	.call-to-action::before,
    .call-to-action::after {
        /* Option 1: Hide completely */
        /* display: none; */

        /* Option 2: Reduce width (like other sections) */
         width: 20%;
		 background-size: 100% 100%;
    }
   

} /* === END OF @media (max-width: 768px) === */


/* ============================================ */
/* ===       SMALL MOBILE STYLES (<= 480px) === */
/* ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 90%; /* Slightly reduce base font size */
    }
    .nav-logo-img {
        width: 220px; /* Even smaller logo */
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1rem;
    }
     .hero .hero-content img { /* Assuming this was intended for panels */
        width: auto; /* Let max-width control */
        max-width: 80%;
    }

    /* Any specific overrides for <480px if needed */

} /* === END OF @media (max-width: 480px) === */