/* ========================================
   ADHD Monsters Hack - Common Styles
   ======================================== */

/* ========================================
   CSS Variables & Color Palette
   ======================================== */
:root {
    /* Main Color Palette */
    --moss: #84A87C;
    --apricot: #E89B6E;
    --chocolate: #784931;
    --biscuit: #F3E7D6;
    --wine: #A85C69;
    --cream: #F9F5EF;
    --smoke: #BFAFA0;
    --yolk: #FDC116;
    --mist: #5E355E;
    --orange: #CC5500;
    

    /* Fonts */
    --font-family-primary: 'Poppins', sans-serif;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--chocolate);
    background-color: var(--cream);
}


/* ========================================
   Header & Navigation
   ======================================== */
.sticky-header {
    background-color: var(--moss);
    border-bottom: 1px solid var(--smoke);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-family-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cream);
    text-decoration: none;
}

.logo-accent {
    color: var(--yolk);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--apricot);
}

.main-nav .btn-donate {
    background-color: var(--yolk);
    color: var(--chocolate);
}

.main-nav .btn-donate:hover {
    background-color: var(--yolk);
    color: var(--wine);
    transform: scale(1.05);
}

/* Navigation link styling - use classes for better maintainability */
.main-nav .halloween-quest-link {
    font-family: 'Cinzel', serif;
    color: var(--mist);
    font-weight: 600;
}

.main-nav .halloween-quest-link:hover {
    color: var(--orange);
}

.main-nav .select-mode-link {
    font-family: inherit;
    color: var(--cream);
}

.main-nav .select-mode-link:hover {
    color: var(--apricot);
}

/* ========================================
   Donation Page Styling
   ======================================== */

/* Donation Section Layout */
.donation-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.donation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-subtitle {
    font-size: 1.1rem;
    color: var(--chocolate);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Donation Methods Grid */
.donation-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .donation-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* Individual Donation Method Cards */
.donation-method {
    background: linear-gradient(135deg, var(--cream) 0%, var(--biscuit) 100%);
    border: 2px solid var(--chocolate);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.method-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--smoke);
}

.method-header h3 {
    color: var(--chocolate);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.method-description {
    color: var(--chocolate);
    font-style: italic;
    margin: 0;
    opacity: 0.8;
}

.method-content {
    text-align: center;
}

/* PayPal Specific Styling */
.paypal-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.paypal-link:hover {
    transform: scale(1.05);
}

.paypal-logo {
    width: 200px;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.method-instruction {
    margin-top: 1rem;
    color: var(--chocolate);
    font-weight: 500;
}

/* Cryptocurrency Grid */
.crypto-grid {
    display: grid;
    gap: 1.5rem;
}

.crypto-option {
    background-color: var(--cream);
    border: 1px solid var(--smoke);
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.crypto-option:hover {
    border-color: var(--chocolate);
}

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.crypto-header h4 {
    color: var(--chocolate);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.crypto-symbol {
    font-size: 1.5rem;
    color: var(--moss);
    font-weight: bold;
}

.crypto-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.crypto-address code {
    background-color: var(--biscuit);
    padding: 0.75rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    flex: 1;
    word-break: break-all;
    border: 1px solid var(--smoke);
    color: var(--chocolate);
    line-height: 1.4;
}

.copy-btn {
    background-color: var(--wine);
    color: var(--cream);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.copy-btn:hover {
    background-color: var(--apricot);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.crypto-note {
    color: var(--chocolate);
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    border-left: 4px solid var(--yolk);
}

/* TUSD Special Styling */
.tusd-option {
    grid-column: 1 / -1;
}

.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.network-tag {
    background-color: var(--biscuit);
    color: var(--chocolate);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--smoke);
    transition: none;
    cursor: default;
}

.network-tag:hover {
    transform: none;
    background-color: var(--biscuit);
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-section {
        padding: 1rem 0;
    }
    
    .donation-method {
        padding: 1.5rem;
    }
    
    .crypto-address {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .networks-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}



/* ========================================
   Layout & Container
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


section,
.section {
    padding: 1rem 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}


/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-family-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: var(--wine);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--wine);
    text-transform: uppercase;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wine);
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
}

.bold-text,
.accent-text {
    font-weight: 600;
    color: var(--wine);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--apricot);
    color: var(--chocolate);
}

.btn-primary:hover {
    background-color: var(--yolk);
}

.btn-secondary {
    background-color: var(--wine);
    color: var(--cream);
}

.btn-secondary:hover {
    background-color: var(--apricot);
}


.btn-cta {
    background-color: var(--cream);
    color: var(--chocolate);
    font-size: 1.5rem;
    padding: 20px 40px;
    font-weight: 800;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.btn-disabled {
    background-color: var(--smoke);
    color: var(--cream);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.btn-price {
    background-color: var(--wine);
    color: var(--cream);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.btn-price:hover {
    background-color: var(--apricot);
    color: var(--chocolate);
    transform: none;
}

.btn-price .price-desc {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-transform: none;
    font-weight: 300;
}



/* ========================================
   Hero Sections
   ======================================== */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--biscuit);
    color: var(--chocolate);
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    width: 40%;
}

.hero-accent {
    color: var(--moss);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.instructional-text {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}


/* ========================================
   Career Quest Specific Styles
   ======================================== */

.sections-combined {
    display: flex;
    gap: 1.5rem;
}

.main-content-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-card {
    background-color: var(--biscuit);
    border: 2px solid var(--moss);
    border-radius: 8px;
    padding: 1rem;
}

.intro-card b {
    font-weight: 700;
}

.what-is-inside-block {
    padding: 1rem;
    background-color: var(--biscuit);
    border-radius: 8px;
    flex-grow: 1;
}

.content-and-community {
    display: flex;
    gap: 1rem;
}

.content-list-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-list-block p {
    border-left: 4px solid var(--apricot);
    padding: 0.8rem;
    margin: 0;
}

.community-box {
    background-color: var(--apricot);
    color: var(--chocolate);
    padding: 1rem;
    border-radius: 8px;
    flex: 1;
}

.community-box h3 {
    color: var(--chocolate);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.community-box p {
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.facilitator-bio-container {
    flex: 1;
    padding: 1rem;
    background-color: var(--biscuit);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.facilitator-bio {
    flex-grow: 1;
    text-align: center;
    background-color: var(--moss);
    color: var(--biscuit);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facilitator-bio p {
    color: var(--biscuit);
}

.facilitator-bio .facilitator-role {
    color: var(--yolk);
}

.facilitator-image {
    width: 100px;
    height: 120px;
    border-radius: 8px;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.facilitator-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.facilitator-role {
    font-weight: 600;
    color: var(--wine);
    font-size: 0.9rem;
}

.facilitator-experience {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Streams */
.stream-monster {
    width: 120px;
    height: auto;
    margin: 0.5rem 0;
    display: block;
    margin-left: auto;
}

.streams-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stream-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--biscuit);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--moss);
    gap: 20px;
}

.stream-title {
    color: var(--moss);
    font-size: 1.3rem;
    margin-top: 0;
}

.stream-card ul {
    list-style-type: '✔ ';
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.stream-card ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Packages */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.package-solo {
    --package-color: var(--moss);
}

.package-team {
    --package-color: var(--apricot);
}

.package-max {
    --package-color: var(--yolk);
}

.package-card {
    display: flex;
    background-color: var(--biscuit);
    padding: 1.5rem;
    border-radius: 8px;
    border: 3px solid transparent;
    transition: transform 0.3s ease;
    flex-direction: column;
    justify-content: space-between;
    border-color: var(--package-color);
    gap: 20px;
}

.package-card ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.package-card:hover {
    transform: translateY(-3px);
}

.package-card h4 {
    color: var(--package-color);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

/* FAQ */
.faq-item {
    background-color: var(--biscuit);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.faq-question {
    color: var(--wine);
    margin-top: 0;
    margin-bottom: 0.8rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

.faq-question::before {
    content: "Q:";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--apricot);
    font-weight: 700;
    font-style: normal;
    font-size: 0.9rem;
}

.faq-answer {
    color: var(--chocolate);
}

/* Career Quest Hero */
.CQ-hero-section {
    background-color: var(--apricot);
    color: var(--chocolate);
    padding: 1.5rem 0;
    margin-bottom: 3rem;
}

.CQ-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 0 1rem;
}

.hero-text {
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--yolk);
}

.hero-image {
    width: clamp(90px, 15vw, 150px);
    height: auto;
    justify-self: center;
    align-self: center;
}

.inner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-cta {
    display: flex;
    justify-content: center;
}

/* ========================================
   Cards & Components
   ======================================== */
.card-base {
    background-color: var(--biscuit);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--smoke);
}

.card-base:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--wine);
}

.card-cream {
    background-color: var(--cream);
}

/* ========================================
   About Us Section
   ======================================== */
.about-us-section .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 768px) {
    .about-us-section .about-block:nth-child(1),
    .about-us-section .about-block:nth-child(2) {
        grid-column: span 1;
    }
    .about-us-section .about-block:nth-child(3) {
        grid-column: span 2;
    }
}

/* ========================================
   Products Section
   ======================================== */
.products-section .grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    flex: 1 1 250px;
    max-width: 25%;
    text-align: center;
}

.product-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card .btn {
    margin-top: auto;
}

.product-card.coming-soon {
    opacity: 0.7;
}


/* ========================================
   Account Page Styles
   ======================================== */
.account-page {
    padding: 60px 0;
}

.account-page .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.account-section {
    padding: 20px;
}

.account-greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 30px;
}

.account-greeting .greeting-content {
    flex-grow: 1;
}

.account-greeting h1 {
    color: var(--wine);
    margin-bottom: 10px;
}

.wine-color {
    color: var(--wine);
    text-align: center;
}

.account-greeting .greeting-monster img {
    max-width: 150px;
    height: auto;
}

.account-section h2 {
    text-align: left;
    margin-bottom: 20px;
}

.gallery-section-card {
    padding: 30px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.package-card .description {
    font-size: 0.9rem;
    color: var(--chocolate);
    flex-grow: 1;
    margin-bottom: 20px;
}

.gallery-note {
    font-style: italic;
    color: var(--smoke);
    text-align: center;
    margin-bottom: 30px;
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta-section {
    text-align: center;
    background-color: var(--apricot);
    color: var(--chocolate);
    padding: 50px 0px;
}

.final-cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.final-cta-section h2 {
    color: var(--chocolate);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-monster-image {
    margin-top: 10px;
}

.cta-monster-image img {
    max-width: 150px;
    height: auto;
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background-color: var(--moss);
    color: var(--biscuit);
    text-align: center;
    padding: 20px 0;
}

.main-footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

.main-footer p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.main-footer a {
    color: var(--chocolate);
    text-decoration: none;
    display: block;
}


/* ========================================
   Authentication Page Styles
   ======================================== */


.auth-page {
    padding: 40px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    max-width: 350px;
    width: 100%;
    text-align: center;
}

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-header .auth-monster img {
    width: 60px;
    height: auto;
    margin-bottom: 0.8rem;
}

.auth-header h1 {
    color: var(--wine);
    margin-bottom: 0.3rem;
    font-size: 1.6rem;
}

.auth-subtitle {
    color: var(--chocolate);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-toggle {
    display: flex;
    background-color: var(--smoke);
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--chocolate);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
}

.toggle-btn.active {
    background-color: var(--cream);
    color: var(--wine);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-btn:hover:not(.active) {
    background-color: rgba(255,255,255,0.5);
}

.auth-form {
    text-align: left;
}

.auth-form.hidden {
    display: none;
}

.auth-form h2 {
    color: var(--wine);
    margin-bottom: 0.3rem;
    text-align: center;
    font-size: 1.4rem;
}

.form-subtitle {
    text-align: center;
    color: var(--chocolate);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--chocolate);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--smoke);
    border-radius: 6px;
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--cream);
}

.form-group input:focus {
    outline: none;
    border-color: var(--moss);
    box-shadow: 0 0 0 3px rgba(132, 168, 124, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--smoke);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.form-options:last-of-type {
    justify-content: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--chocolate);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--smoke);
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--moss);
    border-color: var(--moss);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link,
.terms-link {
    color: var(--wine);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover,
.terms-link:hover {
    color: var(--apricot);
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.auth-switch {
    text-align: center;
    color: var(--chocolate);
    font-size: 0.9rem;
}

.switch-link {
    background: none;
    border: none;
    color: var(--wine);
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.switch-link:hover {
    color: var(--apricot);
}

/* Message Container Styles */
.message-container {
    margin: 15px 0;
}

.message-container div {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.message-container div[style*="color: green"] {
    background-color: var(--biscuit);
    border: 1px solid var(--moss);
    color: var(--chocolate);
}

.message-container div[style*="color: red"] {
    background-color: var(--cream);
    border: 1px solid var(--wine);
    color: var(--chocolate);
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin: 15px 0;
}

.alert-error {
    background-color: var(--cream);
    border: 1px solid var(--wine);
    color: var(--chocolate);
}

.alert-success {
    background-color: var(--biscuit);
    border: 1px solid var(--moss);
    color: var(--chocolate);
}

/* Register Class */
.register {
    /* Basic styling for register elements */
}

/* ========================================
   Modal Styles
   ======================================== */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--wine);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--chocolate);
}

.modal-content h3 {
    color: var(--wine);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--chocolate);
    font-weight: 600;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--smoke);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.modal-content input[type="text"]:focus {
    outline: none;
    border-color: var(--wine);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-buttons .btn {
    flex: 1;
    max-width: 120px;
}

/* ========================================
   Gallery Card Structure Styles (Cabinet Page Only)
   ======================================== */
#gallery .package-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    text-align: center !important;
}

#gallery .package-card h4 {
    margin-bottom: 1rem;
}

#gallery .package-card .description {
    flex-grow: 1;
    margin-bottom: 1rem;
}

#gallery .package-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Forms outside cards */
#gallery .promocode-section,
#gallery .transaction-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--biscuit);
    border-radius: 6px;
    border: 1px solid var(--smoke);
    margin-top: 1rem;
}

#gallery .promocode-section label,
#gallery .transaction-section label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--chocolate);
    margin-bottom: 0.25rem;
}

#gallery .promocode-section input,
#gallery .transaction-section input {
    padding: 0.75rem;
    border: 2px solid var(--smoke);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--cream);
    color: var(--chocolate);
}

#gallery .promocode-section input:focus,
#gallery .transaction-section input:focus {
    outline: none;
    border-color: var(--wine);
}

#gallery .promocode-section .btn,
#gallery .transaction-section .btn {
    margin-top: 0.5rem;
}

.message-container div[style*="color: blue"] {
    background-color: var(--biscuit);
    border: 1px solid var(--moss);
    color: var(--chocolate);
}

/* ========================================
   Monster Visuals - Common Styles
   ======================================== */
.monster-visual {
    animation: pulse-shake 3s infinite ease-in-out;
    border-radius: 10px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes pulse-shake {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .product-card {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .sticky-header {
        position: fixed;
        top: 0;
        z-index: 100;
        transition: transform 0.3s ease-in-out;
        width: 100%;
        transform: translateY(0); /* Start visible by default */
    }
    
    .sticky-header.hidden {
        transform: translateY(-100%); /* Hide when scrolling down */
    }
    
    /* Add padding by default on mobile since header starts visible */
    body {
        padding-top: var(--header-height, 80px); /* Use calculated header height, fallback to 80px */
    }
    
    body.header-hidden {
        padding-top: 0; /* Remove padding when header is hidden */
    }
    
    .product-card {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }
    
    .grid-container,
    .about-us-section .grid-container {
        grid-template-columns: 1fr;
    }
    
    .about-us-section .about-block:nth-child(3) {
        grid-column: span 1;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header-buttons {
        margin-top: 0.5rem;
        gap: 0.5rem;
    }

    .hero-container {
        flex-direction: column;
        padding: 1rem;
    }

    .hero-image {
        position: static;
        margin: 1rem 0 0 0;
        width: 100%;
        max-width: 250px;
    }

    .intro-card {
        text-align: center;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .sections-combined {
        flex-direction: column;
    }

    .main-content-left {
        gap: 1rem;
    }
    
    .content-and-community {
        flex-direction: column;
    }
    
    .main-footer .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .auth-container {
        margin: 0 10px;
        max-width: 320px;
    }
    
    .auth-header h1 {
        font-size: 1.4rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form-options:last-of-type {
        align-items: flex-start;
    }
}
