body {
  background-color:#59241a;
  margin: 0;
  font-family: Garamond, serif;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    margin-top: 20px;
    width: 100%;
}

h1 {
    text-align: center;
    font-family: Garamond , sans-serif;
    font-size: 45px;
    color: #c6a361;
    animation: neonFlicker 1.5s infinite alternate;
}

.foxfire-link {
    color: #c6a361;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.foxfire-link:hover {
    color: #ffe6a8;
    text-shadow: 0 0 8px #ffdb8a, 0 0 16px #ffc45c;
}

.foxfire-link {
    animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
    from { text-shadow: 0 0 5px #c6a361; }
    to   { text-shadow: 0 0 15px #ffd596; }
}

.Avenside, .Fieldofstudy, .campus-map {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.Avenside img, .Fieldofstudy img, .campus-map img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
}

.floating-text {
  position: fixed;             
  left: 0;
  top: 0;
  transform: translate(-50%, -120%); 
  pointer-events: none;        
  background: rgba(12, 8, 6, 0.75);
  color: #f5d7a1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.08s ease;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(198,163,97,0.18), 0 0 24px rgba(198,163,97,0.06);
  backdrop-filter: blur(2px);
}

.floating-text.show {
  opacity: 1;
}

@media (max-width: 480px) {
  .floating-text {
    font-size: 16px;
    transform: translate(-50%, -140%);
    padding: 7px 10px;
  }
}

.tour-box {
    width: 90%;                /* responsive width */
    max-width: 600px;          /* never grows too large */
    margin: 40px auto;
    background: rgba(20, 10, 8, 0.7);
    border: 2px solid #c6a361;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: #f5d7a1;
    box-shadow: 0 0 15px rgba(198, 163, 97, 0.3);
    backdrop-filter: blur(3px);
}


.tour-box img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

#tourButton {
    background-color: #c6a361;
    color: #3a2520;
    border: none;
    padding: 12px 22px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s;
}

#tourButton:hover {
    background-color: #ffe6a8;
    box-shadow: 0 0 10px #ffdb8a;
}

/* Shared between themes */
.tour-box {
  position: relative;
}

.classic-dialogue {
  font-size: 20px;
}

.vn-textbox {
  display: none;
}

.classic-theme {
  background: rgba(20, 10, 8, 0.7);
  border: 2px solid #c6a361;
  border-radius: 12px;
  padding: 20px;
  color: #f5d7a1;
  text-align: center;
}

.classic-theme .vn-textbox {
  display: none;
}

.classic-theme .classic-dialogue {
  display: block;
}

.classic-theme #tourButton {
  background-color: #c6a361;
  color: #3a2520;
  border: none;
}

.classic-theme #tourButton:hover {
  background-color: #ffe6a8;
  box-shadow: 0 0 10px #ffdb8a;
}

.visual-novel {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #ffe6b7;
}

.visual-novel .classic-dialogue {
  display: none;
}

.visual-novel .vn-textbox {
  display: block;
  margin-top: -25px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  padding: 18px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  text-align: left;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.visual-novel #tourButton {
  background: #ffce67;
  color: #3e2a15;
  font-weight: bold;
  border: 2px solid #d7a64a;
}

.visual-novel #tourButton:hover {
  background: #ffe39e;
  border-color: #ffcc6f;
  box-shadow: 0 0 10px #ffcc6f;
}

.news-carousel-container {
    margin: 50px auto;
    width: 95%;
    max-width: 900px;
    text-align: center;
    color: #f5d7a1;
}

.news-header {
    font-size: 32px;
    color: #c6a361;
    margin-bottom: 20px;
}

.news-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none; /* firefox */
}

.news-carousel::-webkit-scrollbar {
    display: none; /* chrome */
}

.news-card {
    min-width: 85%;
    max-width: 85%;
    background: rgba(20, 10, 8, 0.7);
    border: 2px solid #c6a361;
    padding: 20px;
    border-radius: 12px;
    scroll-snap-align: center;
    text-align: left;
    box-shadow: 0 0 12px rgba(198,163,97,0.25);
    backdrop-filter: blur(4px);
}

.news-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

.news-title {
    font-size: 24px;
    margin-bottom: 4px;
    color: #ffe6a8;
}

.news-subtitle {
    font-size: 18px;
    color: #c6a361;
    margin-bottom: 12px;
}

.news-body {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.news-interview-btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #c6a361;
    color: #3a2520;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.25s;
}

.news-interview-btn:hover {
    background-color: #ffe6a8;
    box-shadow: 0 0 10px #ffdb8a;
}

.news-carousel.dragging {
    cursor: grabbing;
    user-select: none;
}

.news-carousel, 
.news-card, 
.news-card * {
    user-select: none;
    -webkit-user-select: none;
}

/* Arrow container */
.news-arrows {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 10px auto;
    position: relative;
    z-index: 10;
}

/* Arrow buttons */
.news-arrow {
    background: rgba(20, 10, 8, 0.7);
    border: 2px solid #c6a361;
    color: #ffe6a8;
    font-size: 32px;
    border-radius: 8px;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: 0.25s;
    backdrop-filter: blur(3px);
}

.news-arrow:hover {
    background: #c6a361;
    color: #3a2520;
    box-shadow: 0 0 12px #ffdb8a;
}

@media (max-width: 600px) {
    .news-arrows {
        display: none;
    }
}
