/* Playfair Display font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chicle&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Damion&display=swap');


/* ENTIRE WEBSITE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior:smooth;
}
/* MISSING from your current file */
:root {
    --btn-gradient: linear-gradient(#AA076B, #61045F);
    --clock-gradient: linear-gradient(#ec8235, #fd5c17, #f9bc2c);

    /* NEW tonal variables */
    --theme-header-bg: #AA076B;       /* header / CTA buttons — dark solid */
    --theme-panel-bg: #f9e8f4;        /* card/panel background — lightest tint */
    --theme-item-bg: #ffffff;         /* list item rows — white */
    --theme-item-border: #e8b4d8;     /* list item border — soft tint */
    --theme-text: #4b1528;            /* text on light backgrounds */
    --theme-muted: #993556;           /* secondary text / close buttons */
    --theme-accent: #D4537E;          /* mid-tone accents */
    --btn-zero:        linear-gradient(#f7f0ac, #acf7f0);
    --btn-zero-border: #5a6e00;
    --btn-one:         linear-gradient(#fdb1fc, #ff12fb);
    --btn-one-border:  #be087e;
    --btn-three:       linear-gradient(#43cea2, #185a9d);
    --btn-three-border:#005a4a;
    --btn-four:        linear-gradient(#5e07ff, #540f8d);
    --btn-four-border: #3a006e;
}
.screen {
  display: none;
  padding: 2rem;
  text-align: center;
}
.screen.active {
  display: block;
}


#start-btn2{
    background: var(--btn-gradient);
    font-size: 15px;
    font-weight: 550;
    width: 150px;
    height: 50px;
    border-radius: 12px;
    position: relative;
    top: 200px;
    cursor: pointer;
    transition: transform 0.3s
}
#start-btn2:hover{
    transform: translateY(-7px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Prague screen overrides the generic .screen.active */
#prague-screen.active {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
}

#stopthemusic{
    background: var(--btn-gradient);
    font-size: 16px;
    font-weight: 550;
    width: 75px;
    height: 70px;
    border-radius: 700px;
    position: fixed;
    top: 100px;
    left: 300px;
    cursor: pointer;
    transition: transform 0.3s;
}

.hidden {
    display: none;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    padding: 0;
}
.sign-in{
    font-size:50px;
    font-family: "Kavoon", serif;
    font-weight: 2;
    color: orange;
    position: fixed;
    top: 210px;
    left: 590px;
}
/* ENTIRE WEBSITE */
/* DEFAULT THEME */
body.default-theme {
    --btn-gradient: linear-gradient(#ec8235, #fd5c17, #f9bc2c);
}

/* NIGHT THEME */
body.night-theme {
    --btn-gradient: linear-gradient(#30cfd0, #330867);
}

/* Example: FOREST THEME */
body.forest-theme {
    --btn-gradient: linear-gradient(#2e7d32, #1b5e20);
}


/* LOGIN SCREEN */
#start-btn{
    background: var(--btn-gradient);
    font-size: 15px;
    font-weight: 550;
    width: 150px;
    height: 50px;
    border-radius: 8px;
    border: none;
    position: relative;
    top: 70px;
    cursor: pointer;
    transition: transform 0.3s;
}
#start-btn i{
    text-align: center;
}
#start-btn:hover{
    transform: translateY(-7px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
/* LOGIN SCREEN */



/* ROOM SCREEN */
.current{
    display: block;
}

.future{
    display: none !important;
}

.room-header{
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #AA076B;
    font-weight: bolder;
    text-align: center;
    position: relative;
    top: 127px;

}

.room-catalog {
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 200px;
    background-color: transparent;
    border-radius: 30px;
    width: 100%;
    height: 350px;
    text-align: center; 
    position: relative; 
    bottom: 50px; 
    display: flex; 
    flex-direction: row; 
    align-items: center;
    justify-content: center; 
    gap: 1.5rem;
    flex-wrap: wrap;
}

.room-box{
    background-color:transparent; 
    border: none; 
    transition: transform 0.2s; 
    position: relative; 
    top: 160px;
    color: #AA076B;
    
}

.room-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.room-box p{
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: bold;
    background: #470046;
}

.room-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 10px black;
}

#backtologin{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: bolder;
    width: 110px;
    height: 50px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: fixed;
    top: 120px;
    left: 90px;
    transition: transform 0.5s;
}
#backtologin:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 10px black;
}
#home2start{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: bolder;
    width: 120px;
    height: 40px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 20px;
    transition: transform 0.5s;
}
#home2start:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 10px black;
}
#tohome{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: bolder;
    width: 110px;
    height: 50px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: fixed;
    top: 120px;
    right: 990px;
    transition: transform 0.5s;
}
#tohome:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 10px black;
}
/* ROOM SCREEN */


/* HOMEPAGE */
#color{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 50px;
    background: var(--btn-gradient);
    position: fixed;
    top: 17px;
    left: 204px;
    border-radius: 50px;
    transition: transform 0.5s;
}
#color:hover{
    transform: translateY(-4px);
    box-shadow: 0 6px 10px gray;
}
#color i{
    font-size: 30px;
}

#time-container{
    display: none;
}

.time-title{
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    position: relative;
    bottom: 42px;
}

hr{
    width: 80%;
    border: 1px solid #ffffff;
    position: relative;
    bottom: 40px;
}

.button-wrapper{
    display: flex;
    flex-direction: row;
    gap: 1.6rem;
    position: relative;
    top: 80px;
    padding: 0.5em 1.5em;
}

#timer{
    font-family: "Major Mono Display", monospace; 
    font-size: 65px;
    color: white;
}

#startTimer, #pauseTimer, #resetTimer{
    background: var(--btn-gradient);
    width: 60px;
    height: 40px;
    border-radius: 10px;
    border-color: rgb(0, 255, 64);
    transition: transform 0.3s;
    position: relative;
    bottom: 35px;
}


.dashboard{
    background-color: transparent;
    width: 230px;
    height: 1000px;
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items:start;
    gap: 1rem;
}
.dashboard p{
    font-family: 'Playfair Display', serif;
    color: #ffca4b;
    font-size: 30px;
    font-weight: italic;
}

#clock{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 50px;
    background: var(--btn-gradient);
    position: relative;
    top: 7px;
    left: 130px;
    border-radius: 50px;
    transition: transform 0.2s;
}
#clock:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 10px rgb(0, 0, 0);
}
#clock i{
    font-size: 30px;
}
#music{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 50px;
    background: var(--btn-gradient);
    position: relative;
    top: -60px;
    left: 0px;
    border-radius: 80px;
    transition: transform 0.2s;
}

#music:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 10px gray;
}
#music i{
    font-size: 30px;
}
#search{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 50px;
    background: var(--btn-gradient);
    position: fixed;
    top: 16px;
    left: 75px;
    border-radius: 50px;
    transition: transform 0.2s;
}
#search:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 10px gray;
}
#search i{
    font-size: 30px;
}
.custom-size{
    font-size: 60px;
}


.upload-dashboard{
    background-color: transparent;
    width: 200px;
    height: 1000px;
    position: fixed;
    top: 0px;
    right: 0px;
    margin: 0px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items:center;
    gap: 4rem;
}
#upload-transfer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 150px;
    background: var(--btn-gradient);
    position: fixed;
    top: 250px;
    border-radius: 20px;
    transition: transform 0.2s;
}
#upload-transfer:hover{
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgb(255, 253, 253);
}
/* HOMEPAGE */



/* RETURN BUTTON */
#backtohome{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    width: 100px;
    height: 30px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: absolute;
    top: 75px;
    right: 990px;
    left: 250px;
    transition: transform 0.5s;
}


#mySearch {
  width: 100%;
  background-color: #AA076B;
  font-size: 18px;
  padding: 11px;
  border: 1px solid #61045F;
}


#myMenu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}


#myMenu li a {
  padding: 12px;
  text-decoration:solid;
  color: rgb(0, 0, 0);
  display: block;
}

#myMenu li a:hover {
  background-color: white;
  border: 2px solid #61045F;
}


/* To-do list */
ul {
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 200px;
  height: 300px;
  border-radius: 3px;
  position: relative;
  top: 40px;
  left: -30px;
}

ul::-webkit-scrollbar {
  width: 10px;
}
ul::-webkit-scrollbar-thumb {
  background: var(--btn-gradient);
  border-radius: 3px;
}
ul::-webkit-scrollbar-track {
  background: transparent;
}

/* Style the list items */
ul li {
  cursor: pointer;
  position: relative;
  padding: 8px 50px 10px 40px;
  list-style-type: none;
  background: var(--theme-item-bg);
  border: 0.5px solid var(--theme-item-border);
  color: var(--theme-text);
  font-size: 15px;
  transition: 0.2s;
  border-radius: 3px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

ul li:nth-child(odd) {
  background: var(--theme-item-bg);   /* same as even — no zebra stripe */
  opacity: 1;
}

ul li:hover {
  filter: brightness(0.95);
}

ul li.checked {
  background: var(--theme-item-border);
  color: var(--theme-muted);
  text-decoration: line-through;
  opacity: 0.75;
}

/* Add a "checked" mark when clicked on */
ul li.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 10px;
  left: 16px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}

/* Style the close button */
.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 16px 12px 16px;
}

.close:hover {
  background-color: greenyellow;
  color: white;
}

/* Style the header */
.header {
    background: var(--theme-panel-bg);
    border: 0.5px solid var(--theme-item-border);
    padding: 20px 40px;
    color: var(--theme-text);
    text-align: center;
    border-radius: 20px;
    height: 120px;
    width: 220px;
    font-weight: bold;
    position: relative;
    bottom: 35px;
    left: 10px;
}

.header h2 {
    background: var(--theme-header-bg);
    color: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 15px;
    margin: -8px -12px 8px;
    font-weight: 500;
}


.list-title{
    font-size: 19px;
    width: 125px;
    height: 30px;
    text-align: center;
}

.list-input{
    width: 100px;
    position: relative;
    right: 0px;
}

/* Clear floats after the header */
.header:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the input */
/* Style the input */
input {
  margin: 0;
  border: none;
  border-radius: 0;
  width: 75%;          /* was 95% — leaves room for Add button */
  padding: 10px;
  float: left;
  font-size: 16px;
}

.addBtn {
  padding: 10px;
  width: 25%;          /* takes remaining space */
  height: 40px;
  background: var(--theme-header-bg);
  color: white;
  border: none;
  float: left;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 0;
}

.addBtn:hover {
  background-color: #a6a6a6;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#bg-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}


.content{
    text-align: center;
}

.content h1{
    font-family: 'Fleur de Leah', cursive;
    font-size: 160px;
    font-weight: 2;
    position: relative;
    top: 170px;
    left: 0px;
    color: #AA076B;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);
}

.overlay_next{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);
}

/* UPLOAD SCREEN */
.upload-section {
    width: 1000px;
    display: flex;           /* side-by-side layout */
    gap: 20px;               /* space between the two boxes */
    justify-content: center; /* center horizontally in the page */
    align-items: flex-start; /* align top edges */      /* wrap to next line if screen is too small */
    flex-wrap: nowrap;
}
.finalButtons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    width: 130px;
    margin-top: 10px;
    margin-left: 20px;
}


.finalButton{
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    width: 100px;
    height: 50px;
    border-radius: 80px;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: "Damion", cursive;
    color: var(--theme-text)
}

.finalzero{
    background: linear-gradient(
        #f7f0ac,
        #acf7f0
    );
    border: solid;
    border-color: #5a6e00;
    border-width: 2.5px;
    outline: none;
}
.finalzero {
    background: var(--btn-zero);
    border: solid 2.5px var(--btn-zero-border);
    outline: none;
}

.final1 {
    background: var(--btn-one);
    border: solid 2.5px var(--btn-one-border);
    outline: none;
}

.final3 {
    background: var(--btn-three);
    border: solid 2.5px var(--btn-three-border);
    outline: none;
}

.final4 {
    background: var(--btn-four);
    border: solid 2.5px var(--btn-four-border);
    outline: none;
}

.finalButton:hover{
    transform: translateY(-4px);
    box-shadow: 0 6px 10px rgb(0, 0, 0);
}
.uploadbody-container {
    background: var(--btn-gradient);
    padding: 20px 24px;
    height: 560px;
    width: 1020px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 20px;
    box-sizing: border-box;
}
.upload-columns {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    flex: 1;
    gap: 16px;
}

.outputbody-container {
    flex: 1;
    min-height: 0;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    box-sizing: border-box;
    border: solid 3px black;
    background: var(--btn-gradient);
}

#summaryOutput {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    font-size: 14px;
    position: relative;
    left: 0px;
}

.outputbody-container h2{
    font-family:'Playfair Display', serif;
    color: black;
}

.containers{
    display: flex;
    flex-direction: row;
    gap: 5rem;
}


.uploadbody-container h1{
    color: var(--theme-text);
    font-size: 50px;
    font-weight: bolder;
    font-family: "Chicle", serif;
    font-weight: 0.5;
    position: relative;
    left: 330px;
    top: 10px;
}

.uploadbody-container p{
    font-size: 20px;
    color:rgb(0, 0, 0);
    font-family:'Times New Roman', Times, serif;
    position: relative;
    left: 100px;
}

#submit{
    width: 200px;
    
}

#uploadReturn{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    width: 100px;
    height: 30px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: absolute;
    top: 65px;
    left: 220px;
    transition: transform 0.5s;
    border: 2px solid black;
}



/* ═══════════════════════════════════════════════════════════════
   REPLACE the old quiz-screen CSS block entirely with this.
   If you already pasted the previous quiz CSS, delete it first,
   then paste this at the bottom of style.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── Output box override when quiz is active ─────────────────── */
.outputbody-container:has(#quizWidget[style*="block"]),
.outputbody-container:has(#quizWidget:not([style*="none"])) {
    background: transparent;
    border: none;
    padding: 0;
    overflow: hidden;
}

/* ── Quiz Widget shell ───────────────────────────────────────── */
#quizWidget {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    /* Vivid but tasteful gradient bg */
    background: linear-gradient(135deg,
        #1a0533 0%,
        #2d1060 30%,
        #0d2a6e 65%,
        #0a3d55 100%);
    padding: 18px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* decorative orbs via pseudo-elements */
}
#quizWidget::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180,80,255,0.35) 0%, transparent 70%);
    pointer-events: none;
}
#quizWidget::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -20px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,255,0.28) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Loading ─────────────────────────────────────────────────── */
#quizLoading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 14px;
    color: rgba(255,255,255,0.75);
    font-family: 'Playfair Display', serif;
    font-size: 15px;
}
.qw-spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #c084fc;
    border-radius: 50%;
    animation: qwSpin 0.7s linear infinite;
}
@keyframes qwSpin { to { transform: rotate(360deg); } }

/* ── Top bar ─────────────────────────────────────────────────── */
.qw-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.qw-pill-progress {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.12);
    border-radius: 99px;
    overflow: hidden;
}
.qw-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c084fc, #60a5fa);
    border-radius: 99px;
    transition: width 0.45s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 8px rgba(192,132,252,0.6);
}
.qw-counter {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.qw-score {
    background: linear-gradient(135deg, #c084fc, #818cf8);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(192,132,252,0.45);
}

/* ── Question text ───────────────────────────────────────────── */
.qw-q-label {
    font-family: 'Playfair Display', serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(192,132,252,0.7);
    flex-shrink: 0;
}
.qw-question {
    font-family: 'Playfair Display', serif;
    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 600;
    color: #f0e8ff;
    line-height: 1.5;
    flex-shrink: 0;
}

/* ── Choice buttons ──────────────────────────────────────────── */
.qw-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex-shrink: 0;
}
.qw-choice-btn {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.14);
    border-radius: 11px;
    color: #e2d9f3;
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    text-align: left;
    padding: 9px 11px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}
.qw-choice-btn:hover:not(:disabled) {
    background: rgba(192,132,252,0.15);
    border-color: rgba(192,132,252,0.5);
    transform: translateY(-1px);
}
.qw-choice-btn:disabled { cursor: default; transform: none; }

.qw-choice-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    transition: background 0.15s;
}

/* correct / wrong / reveal */
.qw-choice-btn.correct {
    background: rgba(52,211,153,0.22);
    border-color: #34d399;
    color: #a7f3d0;
}
.qw-choice-btn.correct .qw-choice-letter {
    background: #34d399;
    color: #052e16;
}
.qw-choice-btn.wrong {
    background: rgba(248,113,113,0.18);
    border-color: #f87171;
    color: #fecaca;
}
.qw-choice-btn.wrong .qw-choice-letter {
    background: #f87171;
    color: #450a0a;
}
.qw-choice-btn.reveal-correct {
    border-color: rgba(52,211,153,0.45);
    background: rgba(52,211,153,0.08);
}

/* ── Bottom row: feedback + next ─────────────────────────────── */
.qw-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    min-height: 32px;
}
.qw-feedback {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    flex: 1;
    animation: qwFeedIn 0.2s ease;
}
@keyframes qwFeedIn {
    from { opacity:0; transform:translateY(4px); }
    to   { opacity:1; transform:translateY(0); }
}
.qw-feedback.correct-fb {
    background: rgba(52,211,153,0.15);
    border: 1px solid rgba(52,211,153,0.3);
    color: #6ee7b7;
}
.qw-feedback.wrong-fb {
    background: rgba(248,113,113,0.12);
    border: 1px solid rgba(248,113,113,0.28);
    color: #fca5a5;
}

.qw-next-btn {
    background: linear-gradient(135deg, #c084fc, #818cf8);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(192,132,252,0.45);
    transition: opacity 0.18s, transform 0.12s;
    white-space: nowrap;
    flex-shrink: 0;
    animation: qwFeedIn 0.25s ease;
}
.qw-next-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── Results ─────────────────────────────────────────────────── */
#quizResults {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    animation: qwFeedIn 0.35s ease;
}
.qw-results-emoji { font-size: 46px; line-height: 1; }
.qw-results-score {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.qw-results-msg {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.qw-results-btns { display: flex; gap: 10px; }
.qw-btn-retry, .qw-btn-done {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 99px;
    cursor: pointer;
    border: none;
    transition: opacity 0.18s, transform 0.12s;
}
.qw-btn-retry:hover, .qw-btn-done:hover { opacity: 0.83; transform: translateY(-1px); }
.qw-btn-retry {
    background: linear-gradient(135deg, #c084fc, #818cf8);
    color: #fff;
    box-shadow: 0 3px 12px rgba(192,132,252,0.4);
}
.qw-btn-done {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.7);
}


/* UPLOAD SCREEN */




/* THEME SCREEN */
.themes-catalog {
    padding-top: 200px;
    margin-left: 20px;
    padding-right: 30px;
    background-color: transparent;
    border-radius: 30px;
    width: 100%;
    height: 350px;
    text-align: center; 
    position: relative; 
    bottom: 50px; 
    display: flex; 
    flex-direction: row; 
    align-items: center;
    justify-content: center; 
    gap: 1.5rem;
    flex-wrap: wrap;
}

.theme-box{
    background-color:transparent; 
    border: none; 
    transition: transform 0.2s; 
    position: relative; 
    bottom: 1px;
}

.theme-box img {
    background-color: transparent;
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.theme-box p{
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: bold;
    color: white;
    background: black;
    border-radius: 20px;
}

.theme-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 10px black;
}
#themestohome{
    background: var(--btn-gradient);
    color: #000000;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    width: 90px;
    height: 60px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    position: fixed;
    top: 45px;
    right: 290px;
    left: 150px;
    transition: transform 0.5s;
}

/* yes */
#select-screen {
    width: 1000px;
    height: 550px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 24px;
}

.main-container {
    display: flex;
    gap: 40px;
    width: 500px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Vinyl Player Section */
.vinyl-player {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: 1000px;
    background: linear-gradient(135deg, rgba(97, 4, 189, 0.649), rgba(119, 0, 255, 0.873));
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(254, 254, 254, 0.5);
    border: 1px solid rgba(180, 83, 9, 0.3);
}

.vinyl-container {
    position: relative;
    width: 640px;
    height: 420px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 20px;
}

.vinyl-record {
    width: 55%;
    height: 55%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1a1a1a 0%, #000000 100%);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease-out;
}

.vinyl-record.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.grooves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

.grooves::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(128, 128, 128, 0.1),
        0 0 0 5px rgba(128, 128, 128, 0.08),
        0 0 0 9px rgba(128, 128, 128, 0.08),
        0 0 0 13px rgba(128, 128, 128, 0.08),
        0 0 0 17px rgba(128, 128, 128, 0.08),
        0 0 0 21px rgba(128, 128, 128, 0.08),
        0 0 0 25px rgba(128, 128, 128, 0.08),
        0 0 0 29px rgba(128, 128, 128, 0.08),
        0 0 0 33px rgba(128, 128, 128, 0.08),
        0 0 0 37px rgba(128, 128, 128, 0.08),
        0 0 0 41px rgba(128, 128, 128, 0.08);
}

.center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.label-content {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.default-label {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #991b1b 0%, #000000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
}

.center-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a1a1a;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.tonearm {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 8px;
    transform-origin: right center;
    transition: transform 0.5s ease;
}

.tonearm.playing {
    transform: rotate(-25deg) translateX(-20%);
}

.arm {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #9ca3af, #4b5563);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.arm-end {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #6b7280;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.arm-start {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #374151;
    border-radius: 50%;
}

.now-playing {
    text-align: center;
    color: white;
    min-height: 80px;
}

.now-playing h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.now-playing p {
    font-size: 14px;
    color: #ffffff;
    margin-top: 2px;
    margin-bottom: 4px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-btn,
.play-btn {
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.control-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: rgb(250, 93, 255);
    color: black;
}

.play-btn:hover:not(:disabled) {
    background: #ff0c92;
    transform: scale(1.05);
}

.play-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Playlist Section */
.playlist {
    width: 100%;
    max-width: 450px;
    background: rgba(53, 72, 102, 0.482);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(78, 41, 41, 0.5);
    border: 1px solid rgb(255, 146, 242);
    overflow: hidden;
}

.playlist-header {
    background: linear-gradient(to right, #a148f4, #ec4899);
    padding: 16px 20px;
}

.playlist-header h2 {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: bold;
}

.playlist-content {
    max-height: 400px;
    margin: 20px;
    overflow-y: auto;
}

.song-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    width: 100%;
    border: none;
    border-left: 4px solid transparent;
    text-align: left;
}

.song-item:hover {
    background: rgba(71, 85, 105, 0.5);
}

.song-item.active {
    background: rgba(147, 51, 234, 0.3);
    border-left-color: #9333ea;
}

.song-info h3 {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.song-info p {
    color: #9ca3af;
    font-size: 14px;
}

.song-meta {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.song-meta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equalizer {
    position: absolute;
    bottom: 2px;
    right: 2px;
    gap: 2px;
    align-items: flex-end;
    justify-content: flex-end;
    height: 16px;
}


.eq-bar {
    width: 3px;
    background: #9333ea;
    animation: equalize 0.6s ease-in-out infinite;
}

.eq-bar:nth-child(1) {
    animation-delay: 0s;
    height: 12px;
}

.eq-bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 16px;
}

.eq-bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 8px;
}

@keyframes equalize {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .vinyl-player {
        padding: 30px;
    }

    .vinyl-container {
        width: 280px;
        height: 280px;
    }
}

#select2room{
    background: var(--btn-gradient);
    font-size: 20px;
    font-weight: 550;
    width: 150px;
    height: 50px;
    border-radius: 70px;
    position: fixed;
    top: 200px;
    left: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

#select2home{
    background: var(--btn-gradient);
    font-size: 15px;
    font-weight: 550;
    width: 150px;
    height: 50px;
    border-radius: 70px;
    position: fixed;
    top: 280px;
    left: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

#select2home:hover{
    transform: translateY(-7px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════
   FLASHCARD WIDGET
   ═══════════════════════════════════════════════ */

#flashcardWidget {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,
        #0a2a1a 0%,
        #0d3d2a 30%,
        #0a3d55 65%,
        #1a0533 100%);
    padding: 18px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#flashcardWidget::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(80,255,160,0.25) 0%, transparent 70%);
    pointer-events: none;
}
#flashcardWidget::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -20px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Loading reuses qw-spinner from quiz */
#flashcardLoading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 14px;
    color: rgba(255,255,255,0.75);
    font-family: 'Playfair Display', serif;
    font-size: 15px;
}

/* Top bar */
.fc-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.fc-hint {
    font-family: 'Playfair Display', serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(100, 255, 180, 0.6);
    text-align: center;
    flex-shrink: 0;
}

/* ── 3-D flip scene ── */
.fc-scene {
    perspective: 900px;
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    cursor: pointer;
}

.fc-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
    border-radius: 16px;
}

.fc-card.flipped {
    transform: rotateY(180deg);
}

.fc-face {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border: 1.5px solid rgba(255,255,255,0.12);
}

.fc-front {
    background: rgba(255,255,255,0.06);
}

.fc-back {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
    transform: rotateY(180deg);
}

.fc-label {
    font-family: 'Playfair Display', serif;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    align-self: flex-start;
}

.fc-back .fc-label {
    color: rgba(52, 211, 153, 0.6);
}

.fc-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 600;
    color: #f0e8ff;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.fc-back .fc-text {
    color: #a7f3d0;
}

/* ── Nav row ── */
.fc-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
}

.fc-nav-btn {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 99px;
    border: 1.5px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    transition: opacity 0.18s, transform 0.12s;
    white-space: nowrap;
}
.fc-nav-btn:hover:not(:disabled) { opacity: 0.8; transform: translateY(-1px); }
.fc-nav-btn:disabled { opacity: 0.3; cursor: default; }

.fc-nav-primary {
    background: linear-gradient(135deg, #34d399, #059669);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 14px rgba(52,211,153,0.4);
}

/* Done screen reuses quiz result styles */
#flashcardDone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    animation: qwFeedIn 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

#start-screen {
  font-family: 'DM Sans', sans-serif;
  color: #f0ece3;
  background-color: #430052;
  overflow: hidden;
  width: 100vw;
    height: 100vh;
    padding: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 94px;
  background-color: #AA076B;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

nav span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-right: auto;
}

nav a {
  font-size: 1.2rem;
  font-weight:bolder;
  font-family: 'Playfair Display', serif;
  color: #4c004b;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
}

nav a:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 14px;
}

#main_slogan {
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #AA076B;
}

#final_slogan {
  font-size: 1.2rem;
  font-weight: 500;
  color: #AA076B;
  line-height: 1.6;
  width: 350px;
  max-width: 520px;
  position: relative;
  top: 20px;
}

a[href="#"]:not(nav a) {
  display: inline-block;
  background-color: #f5f3ef;
  color: #1e1e20;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
  top: 60px;
}

a[href="#"]:not(nav a):hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}


canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Prague screen — all scoped to #prague-screen to avoid conflicts */
  #prague-screen {
    --prg-deep:     #150828;
    --prg-mid:      #220d40;
    --prg-surface:  #2d1155;
    --prg-card:     #3a1568;
    --prg-rose:     #c084fc;
    --prg-rose-dim: rgba(192,132,252,0.6);
    --prg-gold:     #f59e0b;
    --prg-white:    #f5f0ff;
    --prg-muted:    rgba(245,240,255,0.5);
    --prg-border:   rgba(192,132,252,0.18);
    --prg-accent:   #7c3aed;
    --prg-nav-bg:   #8b2252;
 
    /* override .screen's default display/flex so it scrolls normally */
    display: none;           /* hidden by default like all .screen divs */
    flex-direction: column;
    align-items: unset;
    justify-content: unset;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--prg-white);
    background: var(--prg-deep);
    width: 100vw;
    position: fixed;         /* match your other screens */
    top: 0; left: 0;
  }
 
  /* when .active is added by your JS, show it */

 
  #prague-screen *, #prague-screen *::before, #prague-screen *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
 
  /* ── NAV ── */
  #prague-screen .prg-nav {
    background: var(--prg-nav-bg);
    padding: 22px 64px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    flex-shrink: 0;
  }
  #prague-screen .prg-nav-back {
    background: var(--prg-deep);
    color: var(--prg-white);
    border: 0.5px solid rgba(192,132,252,0.3);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-right: auto;
  }
  #prague-screen .prg-nav-back:hover { opacity: 0.75; transform: translateX(-3px); }
  #prague-screen .prg-nav-link {
    color: rgba(245,240,255,0.7);
    text-decoration: none;
    font-size: 15px;
    font-family: 'Playfair Display', serif;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s;
    background: none;
    border: none;
  }
  #prague-screen .prg-nav-link:hover { color: var(--prg-white); background: none; }
 
  /* ── SCROLL WRAPPER (the thing that actually scrolls) ── */
  #prague-screen .prg-scroll {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
 
  /* ── SECTIONS ── */
  #prague-screen .prg-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  #prague-screen #prg-story   { background: var(--prg-mid); }
  #prague-screen #prg-problem { background: var(--prg-deep); }
  #prague-screen #prg-shift   { background: var(--prg-mid); }
  #prague-screen #prg-tech    { background: var(--prg-deep); }
 
  /* glow orbs */
  #prague-screen #prg-story::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
    pointer-events: none;
  }
  #prague-screen #prg-problem::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(ellipse, rgba(192,132,252,0.12) 0%, transparent 65%);
    pointer-events: none;
  }
  #prague-screen #prg-shift::before {
    content: '';
    position: absolute;
    top: 50%; right: -150px;
    transform: translateY(-50%);
    width: 400px; height: 600px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.2) 0%, transparent 65%);
    pointer-events: none;
  }
 
  /* ── INNER WRAPPER ── */
  #prague-screen .prg-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 64px;
  }
 
  /* ── GRID LAYOUTS ── */
  #prague-screen .prg-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  #prague-screen .prg-two-col-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
 
  /* ── TYPOGRAPHY ── */
  #prague-screen .prg-eyebrow {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--prg-rose);
    margin-bottom: 24px;
    opacity: 0.9;
  }
  #prague-screen .prg-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--prg-white);
    margin-bottom: 28px;
  }
  #prague-screen .prg-heading em {
    font-style: italic;
    color: var(--prg-rose);
  }
  #prague-screen .prg-rule {
    width: 56px;
    height: 1px;
    background: var(--prg-rose-dim);
    margin-bottom: 28px;
  }
  #prague-screen .prg-body {
    font-size: 16px;
    color: var(--prg-muted);
    line-height: 1.8;
    margin-bottom: 20px;
  }
 
  /* ── SECTION 1: STORY VISUAL ── */
  #prague-screen .prg-story-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #prague-screen .prg-glow-circle {
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.3) 0%, rgba(192,132,252,0.08) 50%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #prague-screen .prg-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 2;
  }
  #prague-screen .prg-icon-tile {
    background: var(--prg-card);
    border: 0.5px solid var(--prg-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--prg-muted);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
  }
  #prague-screen .prg-icon-tile:hover {
    border-color: var(--prg-rose-dim);
    transform: translateY(-4px);
  }
  #prague-screen .prg-icon-tile svg {
    width: 32px; height: 32px;
    stroke: var(--prg-rose);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
 
  /* ── SECTION 2: PROBLEM ── */
  #prague-screen .prg-pcards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  #prague-screen .prg-pcard {
    background: var(--prg-card);
    border: 0.5px solid var(--prg-border);
    border-radius: 16px;
    padding: 22px;
    transition: border-color 0.3s;
  }
  #prague-screen .prg-pcard:hover { border-color: var(--prg-rose-dim); }
  #prague-screen .prg-pcard svg {
    width: 28px; height: 28px;
    stroke: var(--prg-rose);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 12px;
    display: block;
  }
  #prague-screen .prg-pcard-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--prg-white);
    margin-bottom: 8px;
  }
  #prague-screen .prg-pcard-desc {
    font-size: 13px;
    color: var(--prg-muted);
    line-height: 1.6;
  }
  #prague-screen .prg-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  #prague-screen .prg-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(124,58,237,0.18);
    border: 0.5px solid rgba(124,58,237,0.35);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
  }
  #prague-screen .prg-pill-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  #prague-screen .prg-pill.prg-focus   { color: #c084fc; }
  #prague-screen .prg-pill.prg-engage  { color: #67e8f9; }
  #prague-screen .prg-pill.prg-mastery { color: #86efac; }
  #prague-screen .prg-pill.prg-focus   .prg-pill-dot { background: #c084fc; }
  #prague-screen .prg-pill.prg-engage  .prg-pill-dot { background: #67e8f9; }
  #prague-screen .prg-pill.prg-mastery .prg-pill-dot { background: #86efac; }
 
  #prague-screen .prg-problem-right { padding-top: 40px; }
  #prague-screen .prg-big-problem {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--prg-white);
    margin-bottom: 32px;
  }
  #prague-screen .prg-big-problem strong { font-weight: 700; display: block; }
 
  /* ── SECTION 3: SHIFT ── */
  #prague-screen .prg-shift-header {
    text-align: center;
    margin-bottom: 64px;
  }
  #prague-screen .prg-shift-eyebrow {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--prg-rose);
    margin-bottom: 16px;
    letter-spacing: 0.08em;
  }
  #prague-screen .prg-shift-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--prg-white);
  }
  #prague-screen .prg-shift-rule {
    width: 56px;
    height: 1px;
    background: var(--prg-rose-dim);
    margin: 24px auto 0;
  }
  #prague-screen .prg-table {
    width: 100%;
    border-collapse: collapse;
  }
  #prague-screen .prg-tr {
    border-bottom: 0.5px solid var(--prg-border);
    transition: background 0.2s;
  }
  #prague-screen .prg-tr:last-child { border-bottom: none; }
  #prague-screen .prg-tr:hover { background: rgba(124,58,237,0.07); }
  #prague-screen .prg-td {
    padding: 22px 24px;
    vertical-align: middle;
  }
  #prague-screen .prg-td-before {
    font-size: 16px;
    color: rgba(245,240,255,0.3);
    text-decoration: line-through;
    text-decoration-color: rgba(192,132,252,0.3);
    text-decoration-thickness: 1px;
    width: 42%;
  }
  #prague-screen .prg-td-arrow {
    text-align: center;
    width: 6%;
    color: var(--prg-rose);
    font-size: 20px;
    opacity: 0.7;
  }
  #prague-screen .prg-td-after {
    font-size: 16px;
    color: var(--prg-white);
    font-weight: 400;
    width: 52%;
  }
 
  /* ── SECTION 4: TECH ── */
  #prague-screen .prg-tech-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 400;
    color: var(--prg-white);
    margin-bottom: 48px;
  }
  #prague-screen .prg-tech-card {
    background: var(--prg-surface);
    border: 0.5px solid var(--prg-border);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
  }
  #prague-screen .prg-tech-features {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
  }
  #prague-screen .prg-tech-feature {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 0.5px solid var(--prg-border);
  }
  #prague-screen .prg-tech-feature:last-child { border-bottom: none; }
  #prague-screen .prg-tech-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(124,58,237,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  #prague-screen .prg-tech-icon svg {
    width: 24px; height: 24px;
    stroke: var(--prg-rose);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  #prague-screen .prg-tech-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
  }
  #prague-screen .prg-tech-label.prg-speed   { color: #c084fc; }
  #prague-screen .prg-tech-label.prg-sustain { color: #86efac; }
  #prague-screen .prg-tech-label.prg-scale   { color: #67e8f9; }
  #prague-screen .prg-tech-desc {
    font-size: 15px;
    color: var(--prg-muted);
    line-height: 1.7;
  }
  #prague-screen .prg-stats-panel {
    background: #3d0f24;
    padding: 44px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 300px;
  }
  #prague-screen .prg-powered-by {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  #prague-screen .prg-groq-logo {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: #f97316;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    line-height: 1;
  }
  #prague-screen .prg-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    margin: 4px 0;
  }
  #prague-screen .prg-stat { text-align: center; }
  #prague-screen .prg-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
  }
  #prague-screen .prg-stat-num.prg-amber { color: var(--prg-gold); }
  #prague-screen .prg-stat-num.prg-lime  { color: #a3e635; }
  #prague-screen .prg-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    max-width: 180px;
    text-align: center;
  }
 
  /* ── SCROLL REVEAL ── */
  #prague-screen .prg-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  #prague-screen .prg-reveal.prg-visible {
    opacity: 1;
    transform: translateY(0);
  }
  #prague-screen .prg-d1 { transition-delay: 0.1s; }
  #prague-screen .prg-d2 { transition-delay: 0.2s; }
  #prague-screen .prg-d3 { transition-delay: 0.32s; }