:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}
@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #eee7d7 0%, #f6eee3 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    color: #333;
}

.homepage {
    padding: 0;
}

.game-container {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 760px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

h1 {
    color: #2C3E50;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#score {
    font-size: 1.4em;
    color: #7EACB5;
    font-weight: bold;
    margin: 20px 0;
}

#definition-box {
    font-size: 1.3em;
    margin: 30px 0;
    padding: 20px;
    background: #F7F9FC;
    border-radius: 15px;
    color: #2C3E50;
    line-height: 1.6;
}

#options-container button {
    width: 85%;
    margin: 12px auto;
    padding: 12px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: #C96868;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

#options-container button:hover {
    background: #FADFA1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

#next-button {
    margin: 25px auto;
    padding: 15px 30px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: #2ECC71;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

#next-button:hover {
    background: #27AE60;
    transform: translateY(-2px);
}

#hints-container {
    margin: 30px 0;
    padding: 20px;
    background: #F7F9FC;
    border-radius: 15px;
}

#hints-container h3 {
    color: #2C3E50;
    margin-bottom: 15px;
}

.hint-btn {
    margin: 8px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #F1C40F;
    color: #2C3E50;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
}

.hint-btn:hover:not(:disabled) {
    background: #F39C12;
    transform: translateY(-2px);
}

.hint-btn:disabled {
    background: #ECF0F1;
    color: #95A5A6;
    cursor: not-allowed;
    box-shadow: none;
}

#resultContainer {
    justify-content: center;
    z-index: 1000;
    position: fixed;
    border: none;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: none;
    width: 90vw;
    max-width: 600px;
    height: auto;
    min-height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    padding: 30px;
}

#resultText {
    color: #A8CD89;
    font-size: 2em;
    margin-bottom: 15px;
}

#pointsText {
    color: #608BC1;
    font-size: 1.5em;
    margin-bottom: 20px;
}

#sentenceButton {
    width: 85%;
    margin: 15px auto;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: #3498DB;
    color: white;
    transition: all 0.3s ease;
}

#sentenceButton:hover {
    background: #2980B9;
    transform: translateY(-2px);
}


.sentence-option {
    width: 85%;
    margin: 10px auto;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: #7EACB5;
    color: white;
    transition: all 0.3s ease;
    display: block;
}

.sentence-option:hover {
    background: #2980B9;
    transform: translateY(-2px);
}

#bonusRound {
    transition: background-color 0.3s ease;
}

@media (max-width: 600px){
    body {
        padding: 5px;
    }

    .game-container {
        width: 88%;
        margin: 10px auto;
        padding: 15px;
    }

    h1 {
        margin-bottom: 10px;
        font-size: 1.3em;
    }

    #definition-box {
        font-size: 1em;
        margin: 30px 0;
        padding: 10px;
        background: #F7F9FC;
        border-radius: 15px;
        color: #2C3E50;
        line-height: 1.6;
    }



    #options-container button {
        width: 85%;
        margin: 8px auto;
        padding: 6px;
        font-size: 1em;
    }

    #resultContainer {
        width: 80vw;
    }

    .hint-btn {
        margin: 4px;
        padding: 6px 10px;
        font-size: 0.8em;
    }

    #score {
        font-size: 1em;
    }
}



.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


header {
    background-color: #C96868;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

header a {
    text-decoration: none;
}

.header-container {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 10px;
    font-family: 'Courier New', Courier, monospace;
}

nav a {
    color: white;
    margin-left: 20px;
    padding: 10px 20px;
    background-color: #608BC1;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #0056b3;
}

.hero {
    background: linear-gradient(135deg, #FADFA1 0%, #FADFA1 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.cta-btn {
    background-color: #A8CD89;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #761e94;
}

.gradient-bar {
    width: 100%;       
    height: 20px;     
    background-color: #608BC1; 
    background-size: 300%; 
}

.split-container {
    display: flex;
    position: relative;
    margin-top: 20px;
    min-height: 600px;
    background: linear-gradient(135deg, #eee7d7 0%, #f6eee3 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}



@media (max-width: 768px) {
    .split-container {
        height: 80%;
        flex-direction: column;
    }

    .split {
        width: 100%;
        min-height: 100%;
        position: relative;
    }

    .centered {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 20px;
        width: 100%;
    }
}

.gamemode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gamemode-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gamemode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gamemode-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.gamemode-card h3 {
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.gamemode-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.split {
    height: 100%;
    width: 50%;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
    min-height: 600px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}

@media (max-width: 700px){
    .split {
        height: 100%;
        width: 100%;
        position: relative;
        overflow-x: hidden;
        padding: 20px;
    }
}
.left {
  left: 0;
  background-color: #eee7d7;
}

.right {
  right: 0;
  background-color: #f6eee3;
}



.centered img {
  width: 150px;
  border-radius: 50%;
}


.grid-container {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}



.site-card {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 280px;
  height: 280px; 
  text-align: center;
  margin: 15px;
  backdrop-filter: blur(5px);
}

.site-card:hover {
  transform: translateY(-5px);
  background-color: #c7c7c7;
}

.site-card-shop-item {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  width: 250px;
  height: 425px; 
  text-align: center;
}

.site-card-shop-item:hover {
  transform: translateY(-5px);
  background-color: #c7c7c7;
}
.site-icon-shop {
  width: 20%;
  height: 20%;
  margin-bottom: 15px;
}

.site-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.site-details h2 {
  font-size: 1.2em;
  margin: 0;
  color: #0077cc;
}

.site-details h6 {
    color: #871338;
}

.site-details h3 {
    color: #871338;
}

.site-details p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.9em;
}

#biology {
    background: linear-gradient(135deg, #CAE0BC 0%, #EAFAEA 100%);
    color: #780C28;
    margin: 0;
    padding-top: 10px;
}

.topic {
    background: rgba(255, 255, 255, 0.95);
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.topic h2 {
    color: #780C28;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.card, .card-quiz, .card-exam, .card-rp, .card-minigames {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    padding: 25px;
    display: inline-block;
    margin: 15px;
    width: 200px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    vertical-align: top;
    backdrop-filter: blur(5px);
}

.card:hover, .card-quiz:hover, .card-exam:hover, .card-rp:hover, .card-minigames:hover {
    transform: translateY(-5px);
    background-color: #c7c7c7;
}

.card img, .card-quiz img, .card-exam img, .card-rp img, .card-minigames img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.card h2, .card-quiz h2, .card-exam h2, .card-rp h2, .card-minigames h2 {
    font-size: 1.2em;
    margin: 0;
    color: #780C28;
}

.minigame-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.popup-content h2 {
    color: #780C28;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

.close-btn {
    color: #780C28;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 25px;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #A0522D;
}

.game-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    padding: 25px;
    display: inline-block;
    margin: 15px;
    width: 200px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    vertical-align: top;
    backdrop-filter: blur(5px);
}

.game-card:hover {
    transform: translateY(-5px);
    background-color: #c7c7c7;
}

.game-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.game-card h3 {
    color: #780C28;
    margin: 0;
    font-size: 1.2em;
}

#compsci {
    background-color: #474747;
    color: #d67e1a;
    margin: 0;
    padding-top:10px;
}

#cyber {
    background-color: #001F3F;
    color: #6A9AB0;
    margin: 0;
    padding-top:10px;
}

#physics {
    background-color: #FFB22C;
    color: #854836;
    margin: 0;
    padding-top:10px;
}

#law {
    background-color: #C58940;
    color: #FAEAB1;
    margin: 0;
    padding-top:10px;
}

#music {
    background-color: #BE7B72;
    color: #3e3896;
    margin: 0;
    padding-top:10px;
}

#politics {
    background-color: #fde4a7;
    color: #05304d;
    margin: 0;
    padding-top:10px;
}

#french {
    color: #05304d;
    margin: 0;
    padding-top:10px;
}

#frenchphrases {
    color: #052a4d;
    margin: 0;
    padding-top:10px;
}

#genz {
    background-color: #8b94a6; /*#9b9cba*/
    color: #F3E9DC;
    margin: 0;
    padding-top:10px;
}

#chemistry {
    background-color: #aeb0bd;
    color: #fcfcfc;
    margin: 0;
    padding-top:10px;
}

#languages {
    background-color: #f0e8bb;
    color: #05304d;
    margin: 0;
    padding-top:10px
}

#languages .site-card {
    width: 200px;
    height: 200px;
}

#languages .grid-container{
    gap: 6px;
}

.french-hidden {
    display: none !important;
}

.french-hidden.show {
    display: block !important;
}

.languages-hidden {
    display: none !important;
}

.languages-hidden.show {
    display: block !important;
}

.more-button-french {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #05304d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.more-button-french:hover {
    background-color: #0b3880;
    transition: background-color 0.3s;
}

.more-button-chemistry {
    display: block;
    margin: 20px auto 30px;
    padding: 10px 20px;
    background-color: #727ea1;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.more-button-chemistry:hover {
    background-color: #5f6a8a;
}

.more-button-physics {
    display: block;
    margin: 20px auto 30px;
    padding: 10px 20px;
    background-color: #854836;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.more-button-physics:hover {
    background-color: #6f3c2d;
}

#wordsbytopic .site-card {
    width: 200px;
    height: 200px;
}

#wordsbytopic .grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers all items as a group */
    gap: 1rem;
}





a {
    text-decoration: none;
}
#topic-header {
    background-color: #f0e8bb;
    padding-top: 10px;
}

.sponsor {
    padding: 7px;
    margin-top: -10px;
    background-color: #ebebeb;
    border-radius: 5px;
    display: inline;
    position: absolute;
    left: 0px;
}

.column {
  float: left;
  width: 32%;
  padding: 5px;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

.ogbox{
    background-color: white;
    border-radius: 5px;
    border: 2px solid black;
    text-decoration: none;
}

.ogbox a{
    text-decoration: none;
    color: black;
}

.footer {
    background: #222;
    color: #fff;
    padding: 40px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}
.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 8px;
}
.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
.footer-column ul li a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-column {
        text-align: center;
    }
}
#daily-quiz {
    background: linear-gradient(135deg, #f0e8bb 0%, #f6eee3 100%);
    padding: 40px 20px;
    margin: 0;
    color: #2C3E50;
    text-align: left;
    position: relative;
}

#daily-quiz .daily-quiz-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#daily-quiz .quiz-image {
    background: rgba(126, 172, 181, 0.1);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
    border: 2px solid rgba(126, 172, 181, 0.2);
}

#daily-quiz .quiz-image::before {
    content: "";
    font-size: 6em;
    opacity: 0.7;
}

#daily-quiz h2 {
    color: #2C3E50;
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

#daily-quiz .quiz-details .quiz-subtitle {
    color: #7EACB5;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 600;
}

#daily-quiz .quiz-details p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#daily-quiz .cta-btn {
    background-color: #A8CD89;
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(168, 205, 137, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

#daily-quiz .cta-btn:hover {
    background-color: #608BC1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 205, 137, 0.4);
}

/* Mobile responsiveness for daily quiz */
@media (max-width: 768px) {
    #daily-quiz {
        padding: 40px 15px;
    }

    #daily-quiz .daily-quiz-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 30px 20px;
    }

    #daily-quiz h2 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    #daily-quiz .quiz-details .quiz-subtitle {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    #daily-quiz .quiz-details p {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    #daily-quiz .quiz-image {
        padding: 30px;
        min-height: 150px;
    }

    #daily-quiz .quiz-image::before {
        font-size: 4em;
    }
}

@media (max-width: 480px) {
    #daily-quiz {
        padding: 30px 10px;
    }

    #daily-quiz .daily-quiz-content {
        padding: 25px 15px;
    }

    #daily-quiz h2 {
        font-size: 1.8em;
    }

    #daily-quiz .quiz-details .quiz-subtitle {
        font-size: 1.2em;
    }

    #daily-quiz .quiz-details p {
        font-size: 0.95em;
    }

    #daily-quiz .cta-btn {
        padding: 12px 25px;
        font-size: 1em;
        width: 85%;
    }
}

/* Persuasion Section Styles */
.persuasion {
    background: linear-gradient(135deg, #dfeaed 0%, #f0f4f6 100%);
    padding: 40px 0;
    margin: 0;
}

.persuasion-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.persuasion h1 {
    color: #1c2f4a;
    font-size: 2.8em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.persuasion h2 {
    color: #415E72;
    font-size: 1.6em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.intro-text {
    color: #2C3E50;
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: rgba(126, 172, 181, 0.1);
    border: 2px solid rgba(126, 172, 181, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(126, 172, 181, 0.2);
    border-color: rgba(126, 172, 181, 0.4);
}

.benefit-card h3 {
    color: #1c2f4a;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-card p {
    color: #555;
    font-size: 1em;
    line-height: 1.5;
    margin: 0;
}

.expandable-sections {
    margin: 50px 0;
}

.dropdown-box {
    margin-bottom: 20px;
    border: 2px solid rgba(126, 172, 181, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dropdown-box:hover {
    border-color: rgba(126, 172, 181, 0.4);
    box-shadow: 0 4px 15px rgba(126, 172, 181, 0.1);
}

.dropdown-header {
    background: rgba(126, 172, 181, 0.1);
    padding: 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1c2f4a;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.dropdown-header:hover {
    background: rgba(126, 172, 181, 0.2);
}

.dropdown-arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-box.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
}

.dropdown-box.active .dropdown-content {
    max-height: 2000px;
}

.jobs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px;
}

.job-tag {
    background: linear-gradient(135deg, #7EACB5 0%, #608BC1 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.job-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(126, 172, 181, 0.3);
}

.science-facts {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.fact-card {
    background: rgba(168, 205, 137, 0.1);
    border: 1px solid rgba(168, 205, 137, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(168, 205, 137, 0.2);
}

.fact-card h4 {
    color: #A8CD89;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
}

.fact-card p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

.quotes-container {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.quote-card {
    background: rgba(201, 104, 104, 0.05);
    border-left: 4px solid #C96868;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(201, 104, 104, 0.1);
}

.quote-card blockquote {
    color: #2C3E50;
    font-style: italic;
    font-size: 1em;
    line-height: 1.6;
    margin: 0 0 10px 0;
    quotes: """ """;
}

.quote-card blockquote:before {
    content: open-quote;
    color: #C96868;
    font-size: 1.2em;
    font-weight: bold;
}

.quote-card blockquote:after {
    content: close-quote;
    color: #C96868;
    font-size: 1.2em;
    font-weight: bold;
}

.quote-card cite {
    color: #7EACB5;
    font-weight: 600;
    font-style: normal;
    font-size: 0.9em;
}

.cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(168, 205, 137, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(168, 205, 137, 0.2);
}

.cta-section h3 {
    color: #1c2f4a;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.cta-section .cta-btn {
    background: linear-gradient(135deg, #A8CD89 0%, #7EACB5 100%);
    color: white;
    padding: 15px 35px;
    font-size: 1.1em;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 205, 137, 0.3);
}

.cta-section .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 205, 137, 0.4);
    background: linear-gradient(135deg, #96b87a 0%, #6a96a3 100%);
}

/* Mobile responsiveness for persuasion section */
@media (max-width: 768px) {
    .persuasion {
        padding: 30px 0;
    }

    .persuasion-content {
        margin: 0 15px;
        padding: 30px 20px;
    }

    .persuasion h1 {
        font-size: 2.2em;
    }

    .persuasion h2 {
        font-size: 1.4em;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dropdown-header {
        padding: 15px;
        font-size: 1em;
    }

    .jobs-grid {
        padding: 20px;
        gap: 8px;
    }

    .job-tag {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    .science-facts {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quotes-container {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-section {
        padding: 25px 20px;
    }

    .cta-section h3 {
        font-size: 1.5em;
    }

    .cta-section .cta-btn {
        padding: 12px 28px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .persuasion h1 {
        font-size: 1.8em;
    }

    .persuasion h2 {
        font-size: 1.2em;
    }

    .intro-text {
        font-size: 1em;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-card h3 {
        font-size: 1.1em;
    }

    .dropdown-header {
        padding: 12px;
        font-size: 0.95em;
    }

    .jobs-grid {
        padding: 15px;
    }

    .science-facts, .quotes-container {
        padding: 15px;
    }
}

@media (min-width: 1600px) {
    .topic {
    background: rgba(255, 255, 255, 0.95);
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.topic h2 {
    color: #780C28;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.card, .card-quiz, .card-exam, .card-rp, .card-minigames {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    padding: 25px;
    display: inline-block;
    margin: 15px;
    width: 200px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    vertical-align: top;
    backdrop-filter: blur(5px);
}

.card:hover, .card-quiz:hover, .card-exam:hover, .card-rp:hover, .card-minigames:hover {
    transform: translateY(-5px);
    background-color: #c7c7c7;
}

.card img, .card-quiz img, .card-exam img, .card-rp img, .card-minigames img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.card h2, .card-quiz h2, .card-exam h2, .card-rp h2, .card-minigames h2 {
    font-size: 1.2em;
    margin: 0;
    color: #780C28;
}
}



#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
  }

  /* Popup box */
  #popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  /* Close button */
  #popup button {
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  #popup button:hover {
    background-color: #0056b3;
  }
