/* ============================================= */
/* 1. Reset & Base */
/* ============================================= */
/* Last cleaned: January 28 20:00 2026 – Optimized */
* { box-sizing: border-box; margin: 0; padding: 0; } 

body {
font-family: Arial, Helvetica, sans-serif;
background: #0b0c1a;
color: #e0e0e0;
min-height: 100vh;
display: flex;
flex-direction: column;
line-height: 1.6;
}

/* ============================================= */
/* 2. Global Typography & Links */
/* ============================================= */

a {
color: #ffd073; /* soft warm gold – default link color */
text-decoration: underline;
text-underline-offset: 3px; 
transition: color 0.3s ease;
}
a:hover { color: #32CD32; } /* lime green on hover – bright and clear */
a:visited { color: #ffd073; } /* muted gold for visited links – "been there, done that" */ 

h1 {
font-size: 2.5rem;
text-align: center;
margin-bottom: 2rem;
color: #ffD700;
}
.h1-left   { text-align: left;   flex: 1; }
.h1-center { text-align: center; flex: 1; }
.h1-right  { text-align: right;  flex: 1; }

h2 {
font-size:1.7em; 
text-align: center; 
margin-bottom: 0px;
margin-top: 20px;
color:#ffd700; 
text-shadow: 0 0 20px rgba(139,233,253,0.4);  /* don't think we can see this */
}
.h2-left   { text-align: left;   flex: 1; }
.h2-center { text-align: center; flex: 1; }
.h2-right  { text-align: right;  flex: 1; }

h3 {
font-size: 1rem;
margin-bottom: 1rem;
color: #ffD700;
}
.h3-left   { text-align: left;   flex: 1; }
.h3-center { text-align: center; flex: 1; }
.h3-right  { text-align: right;  flex: 1; }

p {
margin:16px 0 8px; 
color:#ccc; 
font-size:1.05em;
}
/*p0*/
/*p1*/
/*p2*/

u { text-decoration: underline; }

/* ============================================= */
/* 3. Layout & Structure */
/* ============================================= */

header{ 
position: relative;
background: #16213e; 
padding: 7px 17px; 
border-radius: 0 0 16px 16px; 
box-shadow: 0 6px 20px rgba(0,0,0,0.6); 
display: flex; 
justify-content: space-between; 
align-items: center; 
flex-wrap: wrap; 
} 

.header-art {
display: flex;
align-items: center;
gap: 10px;
}

.header-art img {
height: 67px; /* might could be a tad smaller ? {85max}*/
border: 2px solid #444; /* reset from 3px */
border-radius: 10px; /* reset from 6px */
box-shadow: 0 0 20px rgba(139,233,253,0.3);
}

/* ============================================= */
/* 3.a. menu items */
/* ============================================= */

.top-menu { 
position: relative;
background: #16213e; 
padding: 10px 17px; 
border-radius: 16px 16px 16px 16px; 
box-shadow: 0 6px 20px rgba(0,0,0,0.6); 
display: flex; 
justify-content: center; 
align-items: center; 
flex-wrap: wrap; 
}

/* top-header login link variant */
.login {
  background: #16213e url('images/Skeleton-Key-Link.png') center / 150% no-repeat;  
  border-radius: 0px;
  font-weight: bold;
  padding: 23px 35px;
  position: relative;               /* good for layering if needed later */
}

.login a {
  text-decoration: none;           
  color: #ffeb3b;                   /* brighter gold */
  text-shadow: 1px 1px 4px #000, 
  letter-spacing: 0.5px; 
}

/* Optional: keep the hover color change, maybe add subtle effect instead of underline */
.login a:hover {
  color: #32CD32; /* green ? */
  /* could add a very light background or shadow ? */
  /* text-shadow: 0 0 8px rgba(50, 205, 50, 0.6); */
}
/* should perhaps add a visited ? hummm ... not atm */

.menu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.menu li {
  margin-bottom: 11px;
}

.menu a {
  display: block;
  background: #0f3460;
  color: #8be9fd;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.menu a:hover {
  background: #1e5f9e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30,95,158,0.6);
}

.menu a.disabled,
.menu a.disabled:hover {
background: #0f3460;
color: #5a7da8;           /* muted version #8be9fd */
opacity: 0.45;
cursor: not-allowed;
transform: none !important;
box-shadow: none !important;
pointer-events: none;     /* ← this actually disables clicking */ 
}

.menu-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 0px;
}

.menu-table td {
padding: 4px 0;
}

.menu-table a {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 14px;
padding: 4px 8px;
background: #0f3460;
color: #8be9fd;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
transition: all 0.3s;
}

.menu-table a:hover {
background: #1e6bb8;
transform: translateX(8px);
color: white;
}

.menu2 {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
padding: 8px 0;
list-style: none;
margin: 0;
width: 100%; /* Ensure it takes full width */
}

.menu2 li {
flex: 1;
min-width: 140px;
max-width: 250px;
}

.menu2 a {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 15px;
background: #0f3460;
color: #8be9fd;
text-decoration: none;
border-radius: 5px; 
font-weight: bold;
font-size: 0.9rem;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
text-overflow: ellipsis;
height: 38px; /* CHANGED: Fixed 32px height */
line-height: normal; /* Vertically center text */
}

.menu2 a:hover {
background: #1e6bb8;
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(30,107,184,0.6);
}
.menu2 .icon {
width: 22px;
height: 22px;
flex-shrink: 0;
margin-top: -2px; /* Fine-tune vertical align */
}

.menu2 .icon.small {
width: 18px;
height: 22px;
}

.menu-icon {
width: 35px;
height: 36px;
flex-shrink: 0;
padding: 0px;
border-radius: 8px;
}

.menu-icon0 {
width: 41px;
height: 32px;
flex-shrink: 0;
padding: 0px;
border-radius: 8px;
}

.menu-icon1 {
width: 26px;
height: 34px;
flex-shrink: 0;
padding: 0px;
border-radius: 8px;
}

.menu-icon2 {
width: 41px;
height: 35px;
padding: 2px;
flex-shrink: 0;
border-radius: 8px;
}

.menu-icon3 {
width: 39px;
height: 38px;
flex-shrink: 0;
padding: 2px;
border-radius: 8px;
}

.menu-icon4 {
width: 32px;
height: 33px;
padding: 2px;
flex-shrink: 0;
}

.menu-icon5 {
width: 35px;
height: 35px;
flex-shrink: 0;
padding: 0px;
border-radius: 8px;
}

.menu-icon6 {
width: 42px;
height: 35px;
flex-shrink: 0;
padding: 4px;
border-radius: 8px;
}

/* .menu a.disabled,
  .menu a.disabled:hover {
  background: #0f3460;
  color: #5a7da8;           /* muted version of your #8be9fd  
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;     /* ← this actually disables clicking  
} */

/* ============================================= */
/* 2.d. Rotation & Feed items */
/* ============================================= */

/* Meme of the Day */
.meme-of-day h3 {
margin: 0 0 15px 0;
color: #ff79c6;
text-align: center;
}

.meme-of-day img {
width: 100%;
border: 3px solid #444;
border-radius: 10px;
}

/* ============================================= */
/* 2.a. content item controls */
/* ============================================= */

.wrapper {
flex: 1;
display: grid;
grid-template-columns: 247px 1fr;
max-width: 1800px;   
margin: 7px auto;
padding: 0 7px;
gap: 7px;
}

.sidebar {
background: #16213e;
margin: 10px 3px 10px 15px;
padding: 10px;
border-radius: 13px;
height: fit-content;
position: sticky;
top: 11px;
}

/* === MAIN CONTENT === */

.main { 
background: #16213e; 
margin: 10px 15px 10px 4px;
padding: 2rem; 
border-radius: 16px; 
box-shadow: 0 8px 30px rgba(0,0,0,0.5); 
}

.main-content { 
flex: 1; 
max-width: 1800px;  /* was 1400px */
margin: 10px auto; 
padding: 0 17px; 
width: 100%; 
}

.center-image {
text-align: center;
margin: 20px 0;
}

.center-image img {
width: 300px;
/* max-width: 100%;      makes it responsive on mobile */
height: auto;
border-radius: 12px; /* optional: match other images */
box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Added styles for the new elements */
.content-wrapper {
max-width: 1150px;
margin: 0 auto;
font-size: 1em;
line-height: 1.5;
}

.text-content {
overflow: hidden; /* Clears the float */ 
}

.float-left-img {
float: left;
width: 300px;
margin: 0 20px 15px 0;
border: 3px solid #444;
border-radius: 10px;
box-shadow: 0 0 15px rgba(139,233,253,0.2);
}

.float-right-img {
float: right;
width: 300px;
margin: 20px 0 15px 0;
border: 3px solid #444;
border-radius: 10px;
box-shadow: 0 0 15px rgba(139,233,253,0.2);
}


.navigation-buttons {
text-align: center;
margin: 11px 0 13px;
padding: 5px 0;
}

.nav-btn {
display: inline-block;
width: 50px;
height: 50px;
background: #0f3460;
color: #8be9fd;
text-align: center;
line-height: 1.2; /* Better vertical centering for multi-line text */
font-size: 24px;
font-weight: bold;
border-radius: 50%;
padding-top: 8px; /* Helps center the two lines */
text-decoration: none;
transition: all 0.3s;
border: 2px solid #1e5f9e;
}

.nav-btn:hover {
background: #1e5f9e;
transform: scale(1.1);
box-shadow: 0 0 20px rgba(139,233,253,0.5);
}

.nav-btn.disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none;
}

.ref-button:hover {
color: #0b0c1a;        /* dark text on bright bg */
background: #32CD32;   /* lime green fill */
border-color: #32CD32;
box-shadow: 0 4px 12px rgba(50, 205, 50, 0.4);
}

.ref-button:visited {
color: #ccb060            /* muted gold for visited buttons too */
border-color: #ccb060;
}

.ref-button-wrapper {
display: flex;
justify-content: flex-end;   /* pushes button all the way right */
margin-top: 0rem;           /* optional spacing from text above */
}

.ref-button-wrapper .ref-button {
margin-left: 0;
}
    
/* New: Close button inside accordion content  */
/* This may be our New Reference Button  */
.close-button {
display: inline-block;
padding: 0.5rem 1.5rem;
background: rgba(255, 215, 0, 0.15);
color: #ffD700;
font-size: 1rem;
font-weight: bold;
border: 2px solid #ffD700;
border-radius: 30px;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
}

.close-button:hover {
color: #0b0c1a;
background: #355E3B; /* make hunter green not lime */
border-color: #32CD32;
box-shadow: 0 4px 12px rgba(50, 205, 50, 0.4);
}

/* ============================================= */
/* Hero Section */
/* ============================================= */

.ps-hero {
text-align: center;
padding: 2rem 2rem;
background: linear-gradient(145deg, #1e2a4e, #16213e);
border-radius: 16px;
margin-bottom: 2rem;
box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.ps-hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #ffD700;
}

.ps-hero img {
width: 150px;
margin: 0 2px;
vertical-align: middle;
}

.hero-columns {
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
margin-top: 2rem;
flex-wrap: wrap;
}

.hero-column {
flex: 1;
min-width: 220px;
text-align: center;
padding: 0.8rem 1.5rem;
background: rgba(255, 215, 0, 0.15);
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-column.middle {
background: transparent;
padding: 0;
flex: 0 0 auto;
}

.hero-image-wrapper {
flex-shrink: 0;
background: radial-gradient(circle, rgba(0,204,255,0.12) 0%, transparent 70%);
border-radius: 20px;
padding: 1.2rem;
box-shadow: 
0 10px 30px rgba(0, 204, 255, 0.15),
0 20px 50px rgba(0, 0, 0, 0.45),
inset 0 0 25px rgba(0, 204, 255, 0.08);
}

.hero-image-wrapper img {
display: block;
width: 275px;           /* slightly larger – feels more heroic */
height: 390px;
border-radius: 14px;
}


.ps-hero .hero-column img[alt="Rabbit Hole"] {
width: 95px !important;
height: 35px !important;
margin: 0 4px;
}

/* ============================================= */
/* Card Grid & Cards */
/* ============================================= */

.ps-grid {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-top: 1rem;
}

.ps-card {
padding: 1.3rem;
border-radius: 17px;
background: #18233f; /* Unified to your updated dark background */
box-shadow: 0 8px 25px rgba(0,0,0,0.4);
transition: transform 0.3s ease;
}

.card-headlines {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
flex-wrap: wrap;
gap: 1rem;
padding: 0 1rem;
}

.card-headlines h1 {
margin: 0;
font-size: 2.2rem; /* Using your 'refined' smaller size */
font-weight: 700;
color: #ffD700;
line-height: 1.2;
}

.inner-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 0.5rem;
margin: 1rem 0;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.inner-card h3 {
color: #ffD700;
margin-top: 0;
font-size: 1.6rem;
}

.inner-card.button-card {
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid transparent;
position: relative;
overflow: hidden;
padding: 1rem 1.5rem;
margin: 0.9rem 0;
}

.inner-card.button-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 35px rgba(255, 215, 0, 0.25);
border-color: #ffD700;
background: linear-gradient(145deg, rgba(30,42,82,0.4), rgba(26,38,72,0.6));
}

.inner-card.button-card::after {
content: "→ Click for Build Guide, Downloads & Tutorials";
position: absolute;
bottom: 1rem;
left: 50%;
transform: translateX(-30%);
background: rgba(255,215,0,0.15);
color: #ffD700;
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: bold;
opacity: 0;
transition: opacity 0.3s ease;
}

.inner-card.button-card:hover::after { 
opacity: 1; 
}

.ps-card p { 
margin-bottom: 1.2rem; 
}

.ps-card img { 
max-width: 100%; border-radius: 10px; margin: 0.1rem 0; 
}

/* ============================================= */
/* Images & Floats */
/* ============================================= */

.image-placeholder {
padding: 0;
border-radius: 8px;
font-style: italic;
display: block;
text-align: center;
}

.image-placeholder.align-left {
float: left;
margin: 0.5rem 1.5rem 1rem 2rem;
clear: both;
}

.image-placeholder.align-right {
float: right;
margin: 0.5rem 1.5rem 2rem 1.5rem;
clear: both;
}

.image-placeholder.align-center {
float: none;
margin: 1.5rem auto;
display: block;
clear: both;
}

/* Custom horizontal offset from the right edge  
.img-offset-right-20  { margin-right: 20px; }
.img-offset-right-40  { margin-right: 40px; }
.img-offset-right-60  { margin-right: 60px; }
.img-offset-right-100 { margin-right: 100px; }
.img-offset-right-150 { margin-right: 150px; }
.img-offset-right-200 { margin-right: 200px; } */
.img-offset-right-400 { margin-right: 400px; }
/* Add more as needed, or we can switch to an inline style later */

.full-width-image {
width: calc(100% + 6rem);
max-width: none;
margin-left: -4rem;
margin-right: -4rem;
margin-top: 1rem;
margin-bottom: 1rem;
display: block;
border-radius: 0;
}

/* ============================================= */
/* Video Layouts */
/* ============================================= */

.video-text-combo {
display: flex;
align-items: flex-start;
gap: 2.5rem;
margin: 3rem 0;
flex-wrap: wrap;
}

.video-text-combo.reverse { 
flex-direction: row-reverse; 
}

.video-container {
flex: 1;
min-width: 240px;
max-width: 380px;
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.video-container iframe {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
border: 0;
}

.video-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.0rem;
margin: 1rem 0;
justify-items: center;
}

.video-grid .video-container {
width: 100%;
max-width: none;
height: 150px;
padding-bottom: 0;
}

/* ============================================= */
/* Panels & Grid Layouts */
/* ============================================= */

.if-columns {
display: flex;
gap: 2rem;
margin-top: 2rem;
flex-wrap: wrap;
justify-content: center;
position: relative;
}

.if-columns::before {
content: "";
position: absolute;
top: 0; bottom: 0; left: 50%;
width: 1px;
background: rgba(255, 215, 0, 0.3);
transform: translateX(-50%);
pointer-events: none;
}

.if-column {
flex: 1;
min-width: 300px;
background: rgba(255, 255, 255, 0.05);
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.raised-panel {
background: rgba(255, 255, 255, 0.05);
padding: 1rem;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
margin: 1rem 0;
}

/* ============================================= */
/* PS Page – Special Layouts */
/* Centered "floating" panel for the 7 Keys */
/* ============================================= */

.seven-keys-panel {
clear: both;
margin: 3rem auto;
max-width: 900px;
padding: 2rem;
background: rgba(255, 215, 0, 0.1);
border-radius: 16px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Grid: Icon | Label | Description */
.keys-grid {
display: grid;
grid-template-columns: 70px 140px 1fr;  /* Slightly wider for key image */
gap: 1.2rem 1.5rem;
align-items: start;
}

.key-icon img {
width: 60px;              /* Adjust this to fit your key image perfectly */
height: auto;
/* background-image: url('images/Skeleton-Key.png'); */   
display: block;
margin: 0 auto;
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.key-label {
font-weight: bold;
color: #ffD700;
font-size: 1.2rem;
}

.key-desc {
font-style: italic;
line-height: 1.5;
}

/* Optional hover glow on the whole row 
.keys-grid > div:nth-child(3n-2):hover + div + div,
.keys-grid > div:nth-child(3n-1):hover + div,
.keys-grid > div:nth-child(3n):hover {
opacity: 0.8; }*/

/* ============================================= */
/* Accordion Styles                              */
/* ============================================= */
.accordion { margin: 1rem 0; }
.accordion-item { margin-bottom: 1rem; }
.accordion-header {
background: rgba(255, 215, 0, 0.1);
padding: .2rem 1.0rem;
border-radius: 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
transition: background 0.3s ease;
justify-content: flex-start;
}
.accordion-header:hover { background: rgba(255, 215, 0, 0.2); }
.accordion-header .accordion-title {
font-size: 1.4rem;
font-weight: bold;
color: #ffD700;
}
.accordion-header::after {
content: "▼";
font-size: 1rem;
color: #ffD700;
transition: transform 0.3s ease;
margin-left: auto;
padding-left: 20px;
}
.accordion-item.active .accordion-header::after { transform: rotate(180deg); }

.accordion-header img {
max-width: 100%; 
border-radius: 0px; 
margin: 0.1rem 0; 
}

.accordion-close {
text-align: right;
margin-top: 2rem;
padding-bottom: 1rem;
}

.spinner-left {
width: 22px;
height: 22px;
flex-shrink: 0;
position: relative;
opacity: 0.7;
} 

.spinner-left::before {
content: "▼";
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
font-size: 20px;
color: transparent;
-webkit-text-stroke: 2px #ffD700;
transition: transform 0.4s ease;
}

.accordion-header:hover .spinner-left::before { animation: spinTriangle 1.5s linear infinite; opacity: 1; }

@keyframes spinTriangle {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.accordion-content {
max-height: 0;
overflow: hidden;
padding: 0 1.5rem;
transition: max-height 0.45s ease, padding 0.45s ease;
}

.accordion-item.active .accordion-content {
max-height: 5000px;
padding: 1.5rem 1.5rem;
} 

/* ============================================= */
/* Footer */
/* ============================================= */

footer { 
background: #16213e; 
padding: 20px; 
border-radius: 16px 16px 0 0; 
text-align: center; 
color: #888; 
font-size: 0.8em; 
margin-top: auto; 
}

.legal-blurb {
max-width: 900px;
margin: 0 auto;
line-height: 2;
}

/* ============================================= */
/* Tool Tips */
/* ============================================= */

.tooltip {
position: relative;
display: inline-block;
cursor: help;
border-bottom: 1px dotted #00ccff;
}

.tooltip .tooltiptext {
visibility: hidden;
width: 420px;  /* Just because */
background-color: #0f162f; /* Restored to match dark theme */
color: #e0e0e0;
text-align: left;
border-radius: 8px;
padding: 15px;
position: absolute;
z-index: 10;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.25s ease;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
border: 1px solid #00ccff44;
}

.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}

.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -8px;
border-width: 8px;
border-style: solid;
border-color: #0f162f transparent transparent transparent;
} 

/* Specific override for image-only tooltips */
.tooltip-image-only .tooltiptext {
width: auto; /* Let the image define the width */   
max-width: 350px;
padding: 5px; /* Minimal padding for the image border */
text-align: center;
}

.tooltip-image-only img {
display: block;
max-width: 100%;
height: auto;
border-radius: 6px;
} 

