/* ---------- Global Page Settings ---------- */

body {
  font-family: Verdana, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg,#7030a0,#5ddcdc);
}

/* ---------- Main Page Container ---------- */

.page {
  min-height: 100vh;
  padding: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Logo ---------- */

.top-design {
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
}

/* ---------- Title ---------- */

h1 {
  margin-top: 10px;
  font-size: 34px;
}

p {
  max-width: 600px;
}

/* ---------- Dropdown Menu Layout ---------- */

.menu-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}


/* ---------- Glass Dropdown Panels ---------- */  /* every thing below still falls in this */

/* ---------- Resources Dropdown ---------- */

.resources-menu {
  display: block;
  width: 260px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;

  padding: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);


  transition: transform .2s ease, box-shadow .2s ease;
}

.resources-menu:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* ---------- Main League Dropdown ---------- */

.main-league-menu {
  display: block;
  width: 260px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;

  padding: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);


  transition: transform .2s ease, box-shadow .2s ease;
}

.main-league-menu:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* ---------- Coaches League Dropdown ---------- */

.coaches-league-menu {
  display: block;
  width: 260px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;

  padding: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);


  transition: transform .2s ease, box-shadow .2s ease;
}

.coaches-league-menu:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* ---------- Dropdown Header ---------- */

summary {
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

/* remove default triangle */
summary::-webkit-details-marker {
  display: none;
}

/* ---------- Dropdown Content Animation ---------- */

.dropdown ul {
  position: relative; /* relative for absolute positioning */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* ---------- List Items ---------- */

.dropdown li {
  display: flex;
  align-items: center;
  margin: 8px 0;
  position: relative; /* relative context for icon */
  padding-left: 0;    /* remove old padding */
}

/* ---------- Pokemon Icons (one per item) ---------- */

.link-icon {
  width: 18px;
  height: 18px;
  position: absolute;
  left: -30px; 
  top: 50%;
  transform: translateY(-50%);
}


.dropdown li a {
  margin-left: 18px;  
}

/* ---------- Links ---------- */

a {
  color: #2b1a5a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Mobile Layout ---------- */

@media (max-width: 700px) {

  .menu-container {
    flex-direction: column;
    align-items: center;
  }

  .dropdown {
    width: 90%;
  }
}
  
/*-------- Discord Button --------*/

.discord-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;

  background: #5865F2;
  color: white;
  font-weight: bold;

  border-radius: 8px;
  text-decoration: none;

  transition: transform 0.2s, box-shadow 0.2s;
}

.discord-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Remove default triangle for WebKit browsers (Chrome, Safari) */
summary::-webkit-details-marker {
  display: none;
}

/* Remove default triangle for Firefox */
summary::marker {
  content: "";
}

summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 17px;
  text-align: center;
  padding: 6px 0;
  list-style: none; /* fallback for extra safety */
}










