:root {
  --sidebar-bg: #60A5FA;       /* lighter friendly blue */
  --sidebar-hover: #3B82F6;    /* slightly darker for hover */
  --header-bg: #FFFFFF;        /* white */
  --main-bg: #F3F4F6;          /* light gray */
  --text-color: #111111;       /* neutral gray */
   --accent-color: #6366F1;     /* highlight color */

}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: var(--main-bg);
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
}

.material-icons-outlined {
  vertical-align: middle;
  line-height: 1px;
  font-size: 30px;
  color: white;
}

/* Grid layout */
.grid-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto;
  grid-template-areas:
    "sidebar header"
    "sidebar main";
  min-height: 100vh;
}

/* Header: Purple Translucent Style */
.header {
  grid-area: header;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;

  color: #111; /* changed from white to black */
  transition: all 0.3s ease;
}

.menu-icon {
  display: none;
}

.header h1 {
  color: #111; /* black title text */
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}
.header a {
  color: #111; /* black header links */
  text-decoration: none;
}

/* Sidebar */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;               /* your adjusted width */
  height: 100vh;              /* full height */
  background: rgba(255, 255, 255, 0.15); /* translucent like login */ 
  backdrop-filter: blur(12px);            /* frosted glass effect */
  overflow-y: auto;
  transition: all 0.3s ease;
  color: #333;               /* darker text for contrast */
  padding-top: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* subtle shadow */
  z-index: 100;
}

.sidebar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-title > span {
  display: none;
}

.sidebar-list {
  padding: 0;
  margin-top: 15px;
  list-style-type: none;
}

.sidebar-list-item {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-list-item:hover {
  background: rgba(255,255,255,0.25); /* highlight on hover */
  padding-left: 20px; /* consistent */
  cursor: pointer;
}

.sidebar-list-item.active {
  background-color: rgba(255,255,255,0.3);
  color: #1f2937;
}

.sidebar-responsive {
  display: inline !important;
  position: absolute;
  z-index: 12 !important;
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

/* Main */
.main-container {
  grid-area: main;
  padding: 20px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
body {
  background: url("images/bg.gif") center center / cover no-repeat fixed;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

.big-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 800;
}

.big-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Cards Grid */
.main-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  color: #fff; /* white text for contrast */
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

/* Different colors per card - MATCHING SPELLS THEME */
.card:nth-child(1),
.card:nth-child(2),
.card:nth-child(3) {
  background: #F5E8D3; /* Same light beige as big-card */
  border: 2px solid #C79C60; /* Same gold border */
  color: #000000; /* Same dark brown text */
}



.main-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.card.link-card {
  display: block;
  text-decoration: none;
  background: rgba(59, 130, 246, 0.85);
  color: #333;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

.card.link-card h3 {
  margin-bottom: 8px;
}

.card.link-card p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

.card.link-card span {
  display: block;
  margin-top: 8px;
  color: #3B82F6;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Colorful clickable cards - MATCHING SPELLS THEME */
.card.link-card:nth-child(1),
.card.link-card:nth-child(2),
.card.link-card:nth-child(3) {
  background: #F5E8D3; /* Same light beige as big-card */
  border: 2px solid #C79C60; /* Same gold border */
  color: #000000; /* Same dark brown text */
}



.card.link-card span {
  color: #000000; /* Dark wood color for better visibility */
}

.card.link-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.2);
}

/* Gameplay Videos Section */
/* === Wood Brown Themed Video Section === */
.videos-section {
  padding: 60px 40px;
  color: #2B1B08; /* dark wood text */
  text-align: center;
  background: none; /* let bg image show */
}

.videos-title {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 800;
  color: #4B2E05; /* deep wood */
}

.video-feature {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px auto;
  max-width: 1100px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 16px;
  background: #F5E8D3; /* parchment */
  border: 2px solid #C79C60; /* light wood border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-box {
  flex: 1;
  max-width: 500px;
}

.video-placeholder {
  background: #FFF9EF; /* light parchment */
  color: #4B2E05;
  width: 100%;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-size: 1.2rem;
  border: 2px dashed #C79C60;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

.video-text {
  flex: 1;
  text-align: left;
  max-width: 500px;
  color: #2B1B08;
}

.video-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #4B2E05;
}

.video-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #2B1B08;
}

@media (max-width: 768px) {
  .video-feature {
    flex-direction: column;
    text-align: center;
  }
  .video-text {
    text-align: center;
  }
}


/* Sidebar items hover animation */
/* Sidebar items - final correct styling */
.sidebar-list-item {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111 !important; /* ✅ force black text */
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-list-item:hover {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding-left: 30px;
  cursor: pointer;
}

.sidebar-list-item.active {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  color: #000000 !important; /* black when active too */
  font-weight: 600;
}

.sidebar-list-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #3B82F6; /* blue accent line */
  border-radius: 0 4px 4px 0;
}

#sidebar .material-icons-outlined {
  color: #111 !important; /* ✅ black icons */
}


.sidebar-responsive {
  transform: translateX(0);
}

/* Optional: collapse effect on mobile */
@media screen and (max-width: 768px) {
  #sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 100;
  }

  #sidebar.sidebar-responsive {
    left: 0;
  }
}

/* Login styles (if needed) */

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to right, #87CEEB, #ffffff);
  font-family: 'Montserrat', sans-serif;
  padding: 20px;
}

.login-body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  /* GIF background */
  background: url("images/mainbg.gif") center center / cover no-repeat fixed;
  overflow: hidden;
}

.login-container {
  display: flex;
  background: rgba(255, 255, 255, 0.15); /* translucent white */
  backdrop-filter: blur(12px);           /* frosted glass effect */
  border-radius: 16px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.25);
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  gap: 60px;
  padding: 20px;
}

.login-form-section {
  flex: 1;
  padding: 50px;
  background: rgba(255,255,255,0.2); /* was #f5faff */
  border-radius: 12px;
}

.login-form-section h1 {
  font-size: 2.2rem;
  color: #004c8c;
  margin-bottom: 15px;
}

.login-form-section p {
  color: #333;
  margin-bottom: 30px;
}

.login-form-section form {
  display: flex;
  flex-direction: column;
}

.login-form-section input {
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.05rem;
}

.btn-primary {
  background: #00aaff;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0088cc;
}

.download-section a {
  text-decoration: none;
  color: #004c8c;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
}

.about-section {
  flex: 1;
  padding: 50px;
  background: rgba(255,255,255,0.2); /* was #e6f6ff */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
}

.about-section h2 {
  font-size: 2rem;
  color: #004c8c;
  margin-bottom: 20px;
}

.about-section p {
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* --- Profile modal (unique, won't conflict with login modal) --- */
.profile-modal {
  display: none;
  position: fixed;
  z-index: 1200; /* high so it sits above layout */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.profile-modal-content {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  width: 360px;
  max-width: 94%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.profile-close {
  float: right;
  font-size: 20px;
  cursor: pointer;
  margin-top: -6px;
  margin-right: -6px;
  color: #333;
}

.profile-modal-content input[type="text"] {
  width: 92%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
/* NPC header */
.q-header {
  cursor: pointer;
  background: #ffffff;
  color: #333;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s ease, transform 0.1s ease;
}

.q-header:hover {
  background: #f1f5f9;
  transform: scale(1.01);
}

/* Content box under NPC */
.q-content {
  display: none;
  margin: 8px 0 16px 12px;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Question block inside */
.question-block,
.level-block,
.maze-block {
  background: #f9fafb;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}

/* Inputs */
.q-content input[type="text"],
.q-content input[type="number"],
.q-content textarea {
  width: 100%;
  padding: 6px 8px;
  margin: 4px 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

/* Save button */
.save-btn {
  background: #2563eb; /* Blue */
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.save-btn:hover {
  background: #1e40af; /* Darker blue */
}

.save-btn:active {
  transform: scale(0.97);
}
/* Profile Icon */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.profile-icon .material-icons-outlined {
  font-size: 36px;
  color: #111; /* black icon */
  transition: transform 0.2s ease;
}

.profile-icon:hover .material-icons-outlined {
  transform: scale(1.1);
}

/* Profile Panel */
.profile-panel {
  display: none;
  position: absolute;
  top: 70px;
  right: 30px;
  width: 250px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 200;
}

.profile-panel h3 {
  margin-top: 0;
  color: #3B82F6;
  font-size: 1.1rem;
}

.profile-panel p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #333;
}
/* header for modify content */

/* testing page */

/* Make question boxes larger and more readable */
.question-block input.qtext,
.level-block input.qtext {
  width: 95%;
  max-width: 800px;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Slightly larger textarea for Maze, Falling questions */
.level-block textarea,
.question-block textarea,
.questions-section textarea {
  width: 95%;
  max-width: 800px;
  height: 80px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}

/* Options (multiple-choice) spacing & alignment */
.options-row input.opt {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.options-row label {
  font-size: 14px;
  line-height: 1.4;
}

/* Number input for correct answer index */
.options-row input.answerIndex {
  width: 60px;
  padding: 5px;
  text-align: center;
}

/* delete modal for modify content */

/* Centered Delete Confirmation Modal */
#deleteConfirmModal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}


#deleteConfirmModal .profile-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px; /* limits modal size */
  text-align: center;
  animation: fadeIn 0.2s ease-in-out;
}

/* Close button styling */
#deleteConfirmModal .profile-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  
}
#deleteConfirmModal.show {
  display: flex;
}


/* Simple fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Sidebar Logo (Toggle) */
.sidebar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  cursor: pointer;
}

.sidebar-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sidebar-logo:hover img {
  transform: scale(1.1);
}

/* Collapsed Sidebar */
#sidebar.collapsed {
  width: 70px;
  transition: width 0.3s ease;
}

#sidebar.collapsed .sidebar-text {
  display: none;
}

#sidebar.collapsed .sidebar-list-item {
  justify-content: center;
  padding: 18px 0;
}

#sidebar.collapsed .sidebar-list-item:hover {
  padding-left: 0;
}

#sidebar.collapsed .sidebar-logo img {
  width: 45px;
  height: 45px;
}

/* Adjust grid layout when sidebar collapses */
.grid-container.sidebar-collapsed {
  grid-template-columns: 70px 1fr;
  transition: grid-template-columns 0.3s ease;
}




/* === Glass Effect Dropdown === */
label[for="regionSelect"] {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  margin-right: 10px;
}

#regionSelect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #000;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: all 0.25s ease;
}

#regionSelect:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

#regionSelect:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
}

/* === Transparent Glass Blocks for NPC / Questions === */
.npc-block {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #000;
}

.npc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.npc-content {
  display: none;
  padding: 12px;
}

.npc-block.open .npc-content {
  display: block;
}

.section-title {
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 8px;
}

.dialogue-card,
.question-block,
.level-block {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #000;
  padding: 10px;
  margin-bottom: 10px;
}

/* Options row inside question blocks */
.options-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  align-items: start;
  margin-top: 10px;
}

.options-row label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.options-row input.opt,
.options-row input.answerIndex {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}

.options-row input.answerIndex {
  width: 64px;
  text-align: center;
}

/* Textareas and Inputs */
.question-block input.qtext,
.level-block input.qtext,
.question-block textarea,
.level-block textarea {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 95%;
  max-width: 1000px;
  padding: 8px 10px;
  font-size: 15px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.question-block textarea,
.level-block textarea {
  min-height: 72px;
  resize: vertical;
}

/* Maze / Story sections */
.questions-section .maze-block,
.questions-section .maze-area,
.questions-section > div:not(.section-title):has(textarea.story),
.questions-section > div:has(.mq),
.questions-section > div:has(.mh),
.questions-section > div:has(.ma) {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #000;
}

.questions-section .maze-block input,
.questions-section .maze-block textarea,
.questions-section .maze-area input,
.questions-section .maze-area textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 8px;
  width: 100%;
  box-sizing: border-box;
  color: #000;
}

@media (max-width: 900px) {
  .options-row { grid-template-columns: 1fr; }
}

/* === Glass Buttons === */
button,
input[type="button"],
input[type="submit"] {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #000;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

button:active,
input[type="button"]:active,
input[type="submit"]:active {
  transform: scale(0.97);
}

/* Delete button specific styling */
.delete-btn {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.4);
}

.delete-btn:hover {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.6);
}

/* Gameplay header */
.gameplay-header {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  border-left: 5px solid rgba(74, 144, 226, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

/* Modal styles */
.profile-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.profile-modal.show {
  display: block;
}

.profile-modal-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  margin: 15% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.profile-close:hover {
  color: #000;
}

.btn {
  padding: 8px 16px;
  margin: 5px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
