html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Fredoka', sans-serif;
  background: linear-gradient(135deg, #ffc0ff 0%, #acb4ff 50%, #6373ff 100%);
  background-attachment: fixed;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  padding-bottom: 6rem;
  line-height: 1.6;
}

header {
  background: #ffffff;
  color: #0d1117;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 2.5rem;
}

/* Heading Style */
header h1 {
  font-size: 1.4rem;
  margin: 0;
}

header nav a {
  color: #57606a;
  text-decoration: none;
  margin-left: 1.25rem;
  font-weight: 500;
}

header nav a:hover {
  color: #f7b1ff;
}

nav a {
  color: #90a4b9;
  text-decoration: none;
  margin-left: 1.25rem;
}

nav a:hover {
  color: #5d65ff;
}

section {
  margin-bottom: 3rem;
}

.links-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/*Text Margin Settings*/
/*------------------------------------------------------------------------------------------------------*/
h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
p {
  margin-top: 0rem;
  margin-bottom: 0rem;
}
li {
  margin-top: 0rem;
  margin-bottom: 0rem;
  margin-left: 1.6rem;
}

/*Spacer*/
.gap {
  height: 0.75rem;
}
/*------------------------------------------------------------------------------------------------------*/

.id-badge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 520px;
  margin: 1.5rem 0;
}

.id-pfp {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 3px solid #7c83fd;
  flex-shrink: 0;
}

.id-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #91abff;
  background-color: hsl(201, 100%, 88%);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.id-name {
  margin: 0;
  font-size: 1.75rem;
  color: #1e1e2e;
}

.id-tagline {
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
  color: #555;
}

/* Mobile Fix */
@media (max-width: 480px) {
  .id-badge {
    flex-direction: column;
    text-align: center;
  }
}

/* Discord status */
/*-------------------------------------------------------------------------------------------------*/
.pfp-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background-color: #747f8d;
  transition: background-color 0.3s ease;
}

.status-dot.online  { background-color: #23a55a; }
.status-dot.idle    { background-color: #f0b232; }
.status-dot.dnd     { background-color: #f23f43; }
.status-dot.offline { background-color: #80848e; }
/*-------------------------------------------------------------------------------------------------*/

/* Maintenance Page Layout */
.maintenance-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1.5rem;
  box-sizing: border-box;
}

.maintenance-container {
  width: 100%;
  max-width: 480px;
}

.maintenance-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.maintenance-card .id-tagline {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

/* Timers & Time Card */
.time-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  max-width: 520px;
  margin: 1rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e1e2e;
}

.time-title {
  font-weight: 600;
}

.time-pill {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7c83fd;
  background-color: #eef0ff;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* NAV V2 & Dropdown */
nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.drop-btn {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: -20%;
  top: 100%;
  background-color: #ffffff;
  min-width: 140px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  border-radius: 0.85rem;
  padding: 0.5rem 0;
  z-index: 100;
  border: 1.5px solid #eef0ff;
  margin-top: 0.25rem;
}

/* Invisible hover bridge to prevent the dropdown from closing when moving cursor down */
.dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown-content a {
  color: #1e1e2e;
  padding: 0.55rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f4f5ff;
  color: #f7b1ff;
}

/* Opens the menu*/
.dropdown.open .dropdown-content,
.dropdown:hover .dropdown-content {
  display: block;
}