@font-face {
    font-family: 'Futura PT Demi';
    src: url('./static/PARATYPE\ -\ FUTURA\ PT\ DEMI.OTF');
}

/* Centered, responsive background SVG */
#fire {
    position: fixed;               /* keep centered even when scrolling */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max(30vw);      /* scale responsively */
    height: auto;
    z-index: -1;
    pointer-events: none;          /* ignore clicks */
}

body {
    margin: 0;
    padding: 0;
    background-image: url('./static/Banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background: linear-gradient(45deg, #070038, #1a0a4a); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Futura PT Demi', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

.main-container {
    display: flex;                   
    flex-direction: column;         
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 10px;
    gap: 10px;
    width: 90%;
    max-width: 600px;
    margin: 20px 0;
    position: relative;
    min-height: 400px;
}


.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    display: none;
  }
  
  .main-container.loading .loading {
    display: block;
  }

.title {
    border-radius: 8px;
    padding: 3px;
    width: 90%;
    font-weight: 800;
    max-width: 600px;
    text-align: center;
    font-size: 36pt;
    margin-bottom: 1px;
    text-shadow: 2px 2px 2px black;
}

.stream-time {
    border-radius: 8px;
    padding: 3px;
    width: 90%;
    font-weight: 400;
    max-width: 600px;
    text-align: center;
    font-size: 16pt;
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px black;
}

.announcement {
    border-radius: 8px;
    color: red;
    padding: 3px;
    width: 90%;
    font-weight: 400;
    max-width: 600px;
    text-align: center;
    font-size: 16pt;
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px black;
}

.last-updated {
    display: inline-block;
    margin: 2px;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 2px black;
    font-weight: 600;
}

.date {
    background-color: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 10px;
    width: 90%;
    font-weight: 500;
    max-width: 600px;
    text-align: center;
    font-size: 24pt;
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px black;
}

.day-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: rgba(22, 0, 56, 0.9);
    box-shadow: 0.1rem 0.1rem 0.3rem 0.0rem rgba(0,0,0,0.6);
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
}

.day-name {
    font-style: italic;
    font-size: 16pt;
    margin-bottom: 5px;
}

.game-name {
    font-size: 22pt;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stream-description {
    font-size: 18pt;
    opacity: 0.9;
}

.big-day {
    color: #fffc00;
}

.small-day {
    color: #ffffff;
}

.no-stream {
    color: #888;
}

/* Label styling, if you want it to match */
label[for="week-select"] {
    display: inline-block;       /* or block if you want it on its own line */
    margin: 10px 5px 5px 5px;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 2px black;
    font-weight: 600;
  }
  
  /* Dropdown (select) styling */
  #week-select {
    background-color: rgba(22, 0, 56, 0.7);  /* similar to your .day-container bg */
    color: #ffffff;
    border: 4px solid #888;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 1.1rem;
    outline: none;
    cursor: pointer;
    text-shadow: 1px 1px 2px black;         /* subtle text shadow to match */
    min-width: 220px;
  }
  
  /* Hover effect */
  #week-select:hover {
    background-color: rgba(22, 0, 56, 0.8);
  }
  
  /* Focus outline (when user tabs or clicks into the dropdown) */
  #week-select:focus {
    border-color: #fffc00; /* bright highlight color */
  }

@media screen and (max-width: 480px) {
    .day-name {
        font-size: 14pt;
    }
    
    .game-name {
        font-size: 18pt;
    }
    
    .stream-description {
        font-size: 14pt;
    }
}

/* === Announcement page overrides & components === */

/* Use this on the announcement page's <body>: <body class="announcement-page"> */
body.announcement-page {
    /* keep your background + font, but don't vertically center long text */
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px; /* breath from top */
}

/* Optional small brand/link or nav can sit comfortably if you add it later */
.site-brand {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 5;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 2px black;
    opacity: 0.95;
}
.site-brand:hover { opacity: 1; }

/* If you add a simple top nav (e.g., Schedule | October Update) */
.top-nav {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12pt;
    text-shadow: 2px 2px 2px black;
}
.top-nav a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
}
.top-nav a:hover { opacity: 1; text-decoration: underline; }
.top-nav a.active { opacity: 1; font-weight: 700; }

/* Readable card for long-form announcement text */
.page-container {
    width: 90%;
    max-width: 600px;                 /* matches your layout width */
    background: rgba(0,0,0,0.3);      /* matches .date/.main-container */
    border-radius: 8px;               /* matches your radius */
    padding: 15px;                    /* matches .day-container padding */
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);       /* matches .day-container */
    color: #ffffff;
    text-shadow: 1px 1px 2px black;   /* subtle readability like elsewhere */
}

/* Title/subtitle inside the announcement page */
.page-container h1 {
    margin: 0 0 6px 0;
    text-align: center;
    font-weight: 800;
    font-size: 28pt;                  /* smaller than your 36pt main title */
    text-shadow: 2px 2px 2px black;
}
.page-subtle {
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 12pt;
    opacity: 0.85;
    text-shadow: 1px 1px 2px black;
}

/* Body copy: left-aligned, comfortable line-height, not huge */
.announcement-content {
    text-align: left;
    font-size: 14pt;                  /* smaller than 16–18pt schedule text */
    line-height: 1.55;
    opacity: 0.95;
}
.announcement-content p { margin: 0 0 12px 0; }
.announcement-content a {
    color: #a4d8fe;                   /* readable accent on your palette */
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* CTA/back link */
.page-actions { margin-top: 8px; }
.btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;               /* match your radius */
    background: rgba(164,216,254,0.12);
    border: 1px solid rgba(164,216,254,0.35);
    color: #ffffff;
    text-decoration: none;
    text-shadow: 1px 1px 2px black;
}
.btn:hover { background: rgba(164,216,254,0.18); }

/* Inline teaser for the main page, replacing the giant announcement block */
.announcement-inline {
    border-radius: 8px;
    padding: 3px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    font-size: 14pt;                  /* smaller than your 16pt to stay subtle */
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 2px black;
    opacity: 0.95;
}
.announcement-inline a {
    color: #a4d8fe;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
}

/* Mobile tweaks */
@media screen and (max-width: 480px) {
    body.announcement-page { padding-top: 64px; }
    .page-container { padding: 12px; }
    .page-container h1 { font-size: 22pt; }
    .announcement-content { font-size: 12pt; line-height: 1.5; }
}

