﻿*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --gold:#E8B930; --gold-dark:#c49a1a; --navy-deep:#060e1a; --navy-1:#0a1628; --navy-2:#0d1f3c;
  --text-primary:#e8edf3; --text-secondary:rgba(200,215,230,0.7); --text-muted:rgba(160,190,220,0.4);
  --glass:rgba(10,22,40,0.65); --glass-border:rgba(232,185,48,0.15);
}

nav { position:fixed;
 top:0;
 left:0;
 right:0;
 z-index:100;
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:0 32px;
 height:56px;
 background:rgba(10,22,40,0.92);
 backdrop-filter:blur(12px);
 border-bottom:1px solid rgba(232,185,48,0.08);
 z-index: 40;
 }
.nav-logo {
 display:flex;
 align-items:center;
 gap:0;
 text-decoration:none;
 flex-direction:column;
 line-height:1;
 }
.nav-logo-smw {
 font-family:'Oswald',sans-serif;
 font-weight:400;
 font-size:24px; color:var(--gold);
 letter-spacing:3px;
 text-shadow:0 2px 8px rgba(0,0,0,0.5);
 }
.nav-logo-sub {
 font-family:'Barlow Condensed',sans-serif; font-weight:500;
 font-size:10px;
 color:#a8c4e0;
 letter-spacing:2.5px;
 text-transform:uppercase;
 margin-top:1px;
 }
.nav-logo-little {
 font-family:'Barlow Condensed',sans-serif; font-weight:200;
 font-size:12px;
 color:#a8c4e0;
 letter-spacing:2.5px;
 margin-top:3px;
 }
.nav-links {
 display:flex;
 gap:3px;
 list-style:none;
 }
.nav-links a {
 font-family:'Barlow Condensed',sans-serif;
 font-weight:500;
 font-size:14px;
 letter-spacing:2px;
 text-transform:uppercase;
 color:var(--text-secondary);
 text-decoration:none;
 padding:8px 14px;
 transition:color 0.3s;
 }
.nav-links a:hover {
 color:white;
 }
.nav-links a.active {
 color:var(--gold);
 }
.gold-accent {
 position:fixed;
 left:0; top:0;
 bottom:0; width:4px;
 z-index:9999;
 background:linear-gradient(180deg,var(--gold),var(--gold-dark),var(--gold)); opacity:0.6;
 }

.ticker-wrap {
    width: 100%;
    overflow: hidden; /* Hides text outside the box */
    background:rgba(10,22,40,0.92);
    border-bottom:2px solid var(--gold);
    height: 40px;
    top: 55px;
    white-space: nowrap;
    position: fixed;
    z-index: 9;
}

.ticker-content {
   font-family:'Barlow Condensed',sans-serif;
   font-weight:500;
   font-size:24px;
   display: inline-block;
   padding-left: 100%;
   color: var(--text-primary);
   animation: marquee 30s linear infinite;
}

  @keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
  }

@media (prefers-reduced-motion: reduce) {
  .ticker-content {
    animation: none;
    padding-left: 0;
    white-space: normal;
  }
}

.ticker-content:hover {
  animation-play-state: paused;
}

a { 
	color: #a8c4e0;
	text-decoration: none;
 } 

label.conditions-mode {
    background: linear-gradient(180deg, #1565C0 0%, #0D47A1 100%);
    --label-dark: #0D47A1;
}

#alert-label {
    flex-shrink: 0;
    display: inline-block;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 22px 0 16px;
    background: linear-gradient(180deg, #c41a1a 0%, #8b0000 100%);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    min-width: 210px;
    max-width: 230px;
    transition: background 0.4s ease;
}

/* CSS Styling */

.div-whole-screen-container {
  display: flex; /* Aligns children side by side */
  position: relative;
  gap: 5px;     /* Adds space between the divs */
  width: 100%;
  height: 790px;
  top: 80px; 

}

.flex-container {
  display: flex; /* Aligns children side by side */
  position: relative;
  gap: 5px;     /* Adds space between the divs */
  width: 100%;
  height: 100vh;
  top: 80px; 
  background: var(--navy-deep);
}

.div-main-area-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 99%;
  height: 100%;            /* Parent must have a defined height */
  gap: 5px;     /* Adds space between the divs */
}

.main-area-iframe {
  border: none;             /* Removes the default border */
  background: var(--navy-deep);
  width: 100%;
  height: 100%;            
  margin: 5px auto;
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
}

.div-side-container {
  position: relative;
  width: fit-content;
  height: fit-content;   
  flex-direction: column;        
}

.side-conditions-iframe {
  display: block;
  border: none;             /* Removes the default border */
  width: 350px;
  height: 570px;            
  margin: 5px auto;
  padding-left: 5px;
 background: var(--navy-deep);
}

.side-solstice-iframe {
  display: block;
  border: none;             /* Removes the default border */
  width: 350px;
  height: 165px;            
  margin: 5px auto;
}

ad {
        margin: 2px 2px;
        padding: 2px 2px;
	top: 895px;
	height: 180px;
	width: 99%;
	display: inline-block;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	z-index: 1;
	color: white;
	background: linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(13, 31, 60, 0.92));
	backdrop-filter: blur(16px);
	border: 1px solid rgba(232, 185, 48, 0.12);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.mwn-home-footer {
        margin: 5px 5px;
        padding: 10px 10px;
	top: 1080px;
	height: 180px;
	width: 99%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	z-index: 1;
	color: white;
	background: linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(13, 31, 60, 0.92));
	backdrop-filter: blur(16px);
	border: 1px solid rgba(232, 185, 48, 0.12);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

        /* The Background Overlay */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        /* Toggle class to show the popup */
        .popup-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* The Popup Box */

        .popup-box {
 		background: linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(13, 31, 60, 0.92));
		backdrop-filter: blur(16px);
		border: 1px solid rgba(232, 185, 48, 0.12);
		border-radius: 16px;
        	padding: 30px;
		border-radius: 8px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
		max-width: 400px;
		width: 90%;
		text-align: center;
		position: relative;
		color: var(--gold); 
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
            color: #aaa;
        }

     .lore_text_cfg{
	font-family:'Barlow Condensed',sans-serif; font-weight:100;
	font-size:18px;
	color:#a8c4e0;
	letter-spacing:2.5px;
	text-transform:uppercase;
}

        .close-btn:hover {
            color: #f00;
        }
