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

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #1b1f24 0%, #111418 100%);
  color: #EEEEEE;
  min-height: 100vh;
  padding: 30px;
  overflow-x: hidden;
  transition: all 0.3s ease-in-out;
  background-attachment: fixed;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  background: linear-gradient(135deg, #1b1f24 0%, #111418 100%);
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #76ABAE;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #76ABAE;
}

/* TITLE & QUOTE */
.title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1dd1a1;
  text-shadow: 0 0 16px rgba(118, 171, 174, 0.4);
  letter-spacing: 1.8px;
  position: relative;
  animation: slideIn 1s ease forwards;
  font-family: lemon MIlk;
}

#daily-quote {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  color: #ccc;
  opacity: 0.65;
  font-family: Crustaceans Signature;
}

/* LAYOUT */
main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.row,
.row-center,
.row-bottom {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}
.row {
  justify-content: space-between;
}
.row-center {
  justify-content: center;
}
.row-bottom {
  justify-content: space-around;
}

.side-panel {
 flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-panel {
  flex: 2;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* GLASSY SECTION */
section {
  background: rgba(28, 31, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 280px;
  position: relative;
  overflow: hidden;
}

section:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

/* SHINE EFFECT */
section::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 160%;
  height: 200%;
  background: radial-gradient(circle, rgba(118, 171, 174, 0.08) 0%, transparent 80%);
  transform: rotate(25deg);
  z-index: 0;
  animation: shine 4s linear infinite;
  pointer-events: none;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: #76ABAE;
  z-index: 2;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 6px;
  text-shadow: 0 0 6px rgba(118, 171, 174, 0.2);
}

/* KEY ANIMATIONS */
@keyframes shine {
  0% {
    transform: rotate(25deg) translateX(-120%);
  }
  100% {
    transform: rotate(25deg) translateX(120%);
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .row {
    flex-direction: column;
  }

  .side-panel,
  .main-panel {
    width: 100%;
  }

  section {
    width: 100%;
  }

  main {
    padding: 10px;
  }
}
