/* style.css — Dreamy CDrama Blue-Tone Layout */

/* Reset & base font */
  *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

body {
  background: linear-gradient(to bottom, #e3f2fd, #bbdefb);
  color: #003c8f;
  overflow-x: hidden;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #e3f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loading-text {
  font-size: 2rem;
  color: #1565c0;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Main layout */
#wrapper {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  gap: 10px;
  padding: 20px;
}

.welcome-section {
  text-align: center;
  padding: 20px;
}

.welcome-img {
width: 90%;
max-width: 800px;
border-radius: 20px;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.welcome-text h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 48px;
  color: #347fc4;
  margin-bottom: 10px;
}

.welcome-text p {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  color: #5a88c9;
}

/* Optional Button */
.enter-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #a4c9f2;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}
.enter-btn:hover {
  background-color: #88b2e3;
}

header {
  grid-column: 1 / 4;
  background: #90caf9;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  font-size: 2rem;
  font-weight: bold;
  color: #0d47a1;
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

aside.left, aside.right {
  background: #e1f5fe;
  border-radius: 15px;
  padding: 15px;
  height: 100%;
}

aside.left img, aside.right img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
}

main {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main h2 {
  font-size: 1.8rem;
  color: #0d47a1;
  margin-bottom: 15px;
}

main img {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

footer {
  grid-column: 1 / 4;
  background: #90caf9;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  color: white;
  font-size: 0.9rem;
}

/* Music player styling */
.music-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.music-box h3 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #235caa;
}

/* Custom cursor */
body {
  cursor: url('cursor.png'), auto;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #e3f2fd;
}

::-webkit-scrollbar-thumb {
  background-color: #64b5f6;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  #wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  aside.left, aside.right {
    display: none;
  }
  
  .sidebar {
  padding: 10px;
  text-align: center;
}

.sidebar-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
}

.sidebar-nav li {
  margin: 10px 0;
}

.sidebar-nav a {
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  color: #235caa;
  font-weight: bold;
  transition: color 0.3s ease;
}

.sidebar-nav a:hover {
  color: #467bd3;
}

main {
  padding-bottom: 50px:
}