:root {
    --bg-color: #000000;
    --text-primary: #F4EFE4; /* Using old parchment as primary text color */
    --text-secondary: #aaaaaa;
    --accent-pink: RGB(251,0,255);
    --accent-gold: #D4AF37;
    --accent-silver: #C0C0C0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    color: var(--text-primary);
}

a {
    color: var(--accent-pink);
    text-decoration: none;
}

a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* Header & Navigation (Mobile First) */
.site-header {
    background: transparent;
    padding: 1rem;
    border-bottom: 2px solid rgba(251, 0, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
}

.site-logo {
    max-height: 50px; /* Adjust as needed */
    width: auto;
    display: block; /* To remove extra space below image */
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-right: 1rem;
}

.language-label {
    white-space: nowrap;
    font-weight: 500;
    color: silver;
}

.language-switcher select {
    background: rgba(251, 0, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(251, 0, 255, 0.4);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-switcher select:hover {
    background: rgba(251, 0, 255, 0.2);
    border-color: var(--accent-gold);
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(251, 0, 255, 0.3);
}

.language-switcher select option {
    background: var(--bg-color);
    color: var(--text-primary);
    padding: 0.5rem;
}


.main-nav {
    display: none; /* Hidden on mobile */
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 2px solid rgba(251, 0, 255, 0.2);
}

.main-nav.active {
    display: block; /* Shown via JS */
}

.main-nav ul {
    display: flex;
    flex-direction: column;
}

.main-nav li {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(251, 0, 255, 0.1);
}

.main-nav .dropdown-menu {
    display: none; /* Hidden by default */
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block; /* Show on hover for desktop, will need JS for mobile tap */
}


/* Hamburger Menu */
.nav-toggle {
    display: block; /* Visible on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Main Content */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem;
    background-color: transparent;
    color: var(--text-primary);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-pink);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-pink);
    color: #000000;
    padding: 0.8rem 1.6rem;
    border-radius: 5px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--text-secondary);
    color: #000000;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-pink);
    color: #000000;
    border-color: var(--accent-pink);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-pink);
    border-color: var(--accent-pink);
}

.intro {
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 2px solid rgba(251, 0, 255, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* World Map */
.map-section {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.map-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.map-subtitle {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.world-map {
    width: 100%;
    height: 420px;
    border: 1px solid rgba(251, 0, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.map-legend {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

.map-link-section {
    text-align: center;
    padding: 2rem 1.5rem 0;
}

.map-popup h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.map-popup p {
    margin-bottom: 0.7rem;
}

.map-popup-link a {
    color: var(--accent-pink);
    font-weight: 600;
}

.leaflet-container {
    font-family: 'Times New Roman', Times, serif;
    background: #0a0a0a;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.65);
    color: var(--text-secondary);
}

.leaflet-control-attribution a {
    color: var(--accent-silver);
}

@media (min-width: 900px) {
    .world-map {
        height: 560px;
    }
}

/* ========================================= */
/*            SUB-PAGE & COMPONENTS          */
/* ========================================= */

.page-header {
    text-align: center;
    padding: 3rem 1rem;
}

.page-header h2 {
    font-size: 3rem;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(251, 0, 255, 0.2);
}

.accordion-button {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title {
    flex: 1;
    display: flex;
    align-items: center;
}

.accordion-icon {
    width: 1em;
    height: 1em;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 2px;
    background-color: var(--text-primary);
    transform: translate(-50%, -50%);
}

.accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-content p {
    padding: 0 1rem 1.5rem;
}

/* Gallery Collage */
.gallery-section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.gallery-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-pink);
}

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    grid-auto-rows: 150px;
}

.collage-item {
    overflow: hidden;
    border: 2px solid rgba(251, 0, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.collage-item:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(251, 0, 255, 0.4);
    transform: scale(1.05);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* Collage responsive layout */
.collage-item-1 { grid-column: span 1; grid-row: span 2; }
.collage-item-2 { grid-column: span 2; }
.collage-item-3 { grid-column: span 1; }
.collage-item-4 { grid-column: span 1; grid-row: span 2; }
.collage-item-5 { grid-column: span 2; }
.collage-item-6 { grid-column: span 1; }
.collage-item-7 { grid-column: span 1; }
.collage-item-8 { grid-column: span 2; grid-row: span 1; }

@media (max-width: 768px) {
    .gallery-collage {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
        grid-auto-rows: 100px;
    }

    .collage-item-1, .collage-item-2, .collage-item-3, .collage-item-4,
    .collage-item-5, .collage-item-6, .collage-item-7, .collage-item-8 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(251, 0, 255, 0.2);
    background-color: transparent;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 1px solid var(--accent-brown);
}

#form-status {
    margin-top: 1rem;
    font-weight: bold;
}

/* ========================================= */
/*              RESPONSIVE STYLES            */
/* ========================================= */

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-toggle {
        display: none; /* Hide hamburger on tablets and up */
    }

    .main-nav {
        display: block;
        position: static;
        width: auto;
        background-color: transparent;
        border-bottom: none;
    }

    .main-nav ul {
        flex-direction: row;
        align-items: center;
    }

    .main-nav li {
        border-bottom: none;
        padding: 0 1rem;
    }

    .main-nav a {
        font-size: 1rem;
    }
    
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: var(--bg-color);
        border: 1px solid rgba(251, 0, 255, 0.1);
        min-width: 200px;
        z-index: 100;
    }

    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.8rem 1rem;
        display: block;
    }

    .site-title {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 3.5rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }
    
    .site-title {
        font-size: 2.5rem;
    }

    .main-nav a {
        font-size: 1.1rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .header-content, .footer-content, .intro, .hero {
        max-width: 1400px;
    }
}

/* ============================================
   WORLD BUTTON STYLES
   ============================================ */

.world-button {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
}

.world-button:hover {
    color: var(--accent-pink);
    text-decoration: none;
}

/* ============================================
   WORLD PAGE STYLES
   ============================================ */

.world-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    line-height: 1.8;
}

.world-intro h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.world-intro h4 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--accent-pink);
    text-transform: uppercase;
    position: relative;
}

.world-intro h4::before {
    content: '✦';
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-pink);
}

.world-intro h4::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-pink), transparent);
    margin: 1rem auto 0;
}

.world-intro p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.world-regions {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: center;
}

.world-regions li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.inline-link {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.3rem 1rem;
    background: transparent;
    border: 2px solid var(--accent-pink);
    color: var(--accent-pink);
    font-family: 'Cinzel', serif;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.inline-link:hover {
    background: var(--accent-pink);
    color: var(--bg-color);
    text-decoration: none;
}

/* ============================================
   TERMINE / KALENDER STYLES
   ============================================ */

/* Termine Container - Kalender + Event-Liste nebeneinander */
.termine-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Kalender Sektion */
.calendar-section {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid var(--accent-pink);
    border-radius: 8px;
    padding: 1.5rem;
}

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

.calendar-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--accent-pink);
}

.calendar-nav-btn {
    background: var(--accent-pink);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.calendar-nav-btn:hover {
    background: var(--text-secondary);
    transform: scale(1.1);
}

/* Kalender Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: bold;
    color: var(--accent-pink);
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.calendar-day:hover {
    background: rgba(251, 0, 255, 0.2);
    transform: scale(1.05);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
}

.calendar-day.today {
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--accent-gold);
    font-weight: bold;
}

.calendar-day.has-event {
    background: rgba(251, 0, 255, 0.4);
    font-weight: bold;
    position: relative;
}

.calendar-day.has-event::after {
    content: '•';
    position: absolute;
    bottom: 2px;
    right: 4px;
    color: var(--accent-pink);
    font-size: 1.2rem;
}

/* Kalender Legende */
.calendar-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.legend-color.has-event-color {
    background: rgba(251, 0, 255, 0.4);
    border: 1px solid var(--accent-pink);
}

.legend-color.today-color {
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--accent-gold);
}

/* Event Liste Sektion */
.event-list-section {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid var(--accent-pink);
    border-radius: 8px;
    padding: 1.5rem;
}

.event-list-section h3 {
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Scrollbar Styling */
.event-list::-webkit-scrollbar {
    width: 8px;
}

.event-list::-webkit-scrollbar-track {
    background: rgba(50, 50, 50, 0.5);
    border-radius: 4px;
}

.event-list::-webkit-scrollbar-thumb {
    background: var(--accent-pink);
    border-radius: 4px;
}

.event-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Event Item */
.event-list .event-item {
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid rgba(251, 0, 255, 0.3);
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.event-list .event-item:hover {
    background: rgba(251, 0, 255, 0.1);
    border-color: var(--accent-pink);
    transform: translateX(5px);
}

.event-list .event-item.highlighted {
    background: rgba(251, 0, 255, 0.2);
    border: 2px solid var(--accent-pink);
    box-shadow: 0 0 15px rgba(251, 0, 255, 0.3);
}

.event-list .event-item h3 {
    color: var(--accent-pink);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.event-list .event-item .event-date {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-list .event-item .event-location {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.event-list .event-item .event-description {
    color: var(--text-primary);
    line-height: 1.6;
}

.event-list .no-events {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

/* Tablet Layout - Kalender + Liste nebeneinander */
@media (min-width: 768px) {
    .termine-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .calendar-section {
        flex: 1;
        min-width: 400px;
    }

    .event-list-section {
        flex: 1;
        min-width: 350px;
    }

    .calendar-grid {
        gap: 0.8rem;
    }

    .calendar-day {
        font-size: 1rem;
    }
}

/* Desktop Optimierung */
@media (min-width: 1024px) {
    .termine-container {
        padding: 3rem 2rem;
    }

    .calendar-section {
        padding: 2rem;
    }

    .event-list-section {
        padding: 2rem;
    }

    .calendar-header h3 {
        font-size: 1.8rem;
    }

    .event-list .event-item h3 {
        font-size: 1.5rem;
    }
}

/* Content Pages (Impressum, Datenschutz) */
.content-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(251, 0, 255, 0.02);
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 8px;
}

.content-page h1 {
    color: var(--accent-pink);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-pink);
    padding-bottom: 1rem;
}

.content-page h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    color: var(--accent-pink);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-page h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-page .note {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.content-page .contact-info {
    background: rgba(251, 0, 255, 0.05);
    border: 1px solid rgba(251, 0, 255, 0.3);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.content-page .contact-info p {
    margin-bottom: 0.5rem;
}

/* Language Toggle */
.language-toggle {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.language-toggle button {
    background: rgba(251, 0, 255, 0.2);
    color: var(--text-primary);
    border: 2px solid var(--accent-pink);
    padding: 0.8rem 2rem;
    margin: 0 0.5rem;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-toggle button:hover {
    background: rgba(251, 0, 255, 0.4);
    transform: translateY(-2px);
}

/* Hall of Fear */
.hall-of-fear {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    background: rgba(251, 0, 255, 0.03);
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 12px;
}

.hall-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.hall-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hall-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.hall-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(251, 0, 255, 0.25);
    border-radius: 10px;
}

.hall-form input {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(251, 0, 255, 0.5);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
}

.hall-message {
    min-height: 1.5rem;
    font-size: 0.95rem;
}

.hall-message[data-type="success"] {
    color: #7CFCB8;
}

.hall-message[data-type="error"] {
    color: #FF8D8D;
}

.hall-cloud {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(251, 0, 255, 0.25);
    border-radius: 10px;
}

.word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    align-items: baseline;
    min-height: 200px;
    margin-top: 1rem;
}

.cloud-word {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(251, 0, 255, 0.4);
    font-family: 'Cinzel', serif;
}

.cloud-empty {
    color: var(--text-secondary);
}

/* Hall of Fear Admin */
.hall-admin {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    background: rgba(251, 0, 255, 0.03);
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 12px;
}

.hall-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.admin-panel {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(251, 0, 255, 0.25);
    border-radius: 10px;
    padding: 1.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.admin-form input {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(251, 0, 255, 0.5);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
}

.admin-hint {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.admin-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.admin-pill {
    background: rgba(251, 0, 255, 0.15);
    color: var(--text-primary);
    border: 1px solid rgba(251, 0, 255, 0.4);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.admin-pill--blocked {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.admin-message {
    min-height: 1.5rem;
    font-size: 0.95rem;
}

.admin-message[data-type="success"] {
    color: #7CFCB8;
}

.admin-message[data-type="error"] {
    color: #FF8D8D;
}

.admin-stats-list {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.admin-stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.admin-stats-top {
    margin-left: 1.2rem;
    color: var(--text-primary);
}

.admin-stats-top li {
    margin-bottom: 0.4rem;
}

.language-toggle button.active {
    background: var(--accent-pink);
    color: var(--bg-color);
    font-weight: bold;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

@media (min-width: 768px) {
    .content-page {
        padding: 3rem;
    }

    .content-page h1 {
        font-size: 3rem;
    }
}

/* ========================================
   FOREST FEAR DIALOGUE SYSTEM
   ======================================== */

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Welcome Screen */
.forest-fear-welcome {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.welcome-content {
    text-align: center;
    background: rgba(20, 10, 40, 0.6);
    background-image: url('../assets/images/LogoPink2.jpg');
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: screen;
    opacity: 0.77;
    border: 2px solid var(--accent-pink);
    border-radius: 12px;
    padding: 4rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    position: relative;
}

.welcome-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 10, 40, 0.75);
    border-radius: 10px;
    pointer-events: none;
    z-index: 0;
}

.welcome-content > * {
    position: relative;
    z-index: 1;
}

.logo-box {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.welcome-logo.transparent-eyes {
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(251, 0, 255, 0.5));
    opacity: 0.85;
    transition: all 0.3s ease;
}

.welcome-logo.transparent-eyes:hover {
    opacity: 1;
    filter: brightness(1.2) drop-shadow(0 0 25px rgba(251, 0, 255, 0.8));
}

.welcome-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.btn-enter-forest {
    background: var(--accent-pink);
    color: var(--bg-color);
    border: 2px solid var(--accent-pink);
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-enter-forest:hover {
    background: transparent;
    color: var(--accent-pink);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(251, 0, 255, 0.8);
}

.btn-enter-forest:active {
    transform: scale(0.98);
}

/* Dialogue System */
.dialogue-system {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.dialogue-container {
    background: rgba(20, 10, 40, 0.6);
    border: 2px solid var(--accent-pink);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.speaker-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-pink);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dialogue-box {
    background: rgba(107, 79, 160, 0.1);
    border-left: 4px solid var(--accent-pink);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    min-height: 80px;
}

.dialogue-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: var(--text-primary);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Audio Button */
.audio-button {
    background: var(--accent-pink);
    color: var(--bg-color);
    border: 2px solid var(--accent-pink);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 1rem 0;
    transition: all 0.3s ease;
    display: block;
}

.audio-button:hover:not(:disabled) {
    background: transparent;
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 0, 255, 0.6);
}

.audio-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Choices Container */
.choices-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.choice-button {
    background: rgba(251, 0, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--accent-pink);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Times New Roman', Times, serif;
}

.choice-button:hover {
    background: rgba(251, 0, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(251, 0, 255, 0.4);
}

.choice-button:active {
    transform: translateX(6px) scale(0.98);
}

/* Finale Section */
.finale-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    border: 2px dashed var(--accent-pink);
    border-radius: 8px;
}

.hall-of-fear-button {
    background: var(--accent-pink);
    color: var(--bg-color);
    border: 2px solid var(--accent-pink);
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hall-of-fear-button:hover {
    background: transparent;
    color: var(--accent-pink);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(251, 0, 255, 0.6);
}

.hall-of-fear-button:active {
    transform: scale(0.98);
}

/* Hall of Fear Quick Access */
.hall-of-fear-access {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(251, 0, 255, 0.05);
    border: 2px solid var(--accent-pink);
    border-radius: 12px;
}

.hall-of-fear-access p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.btn-hall-of-fear {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-pink);
}

.btn-hall-of-fear:hover {
    background: transparent;
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 0, 255, 0.6);
}

.btn-hall-of-fear:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-content {
        padding: 3rem 1.5rem;
    }

    .welcome-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .btn-enter-forest {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .dialogue-container {
        padding: 1.5rem;
    }

    .speaker-name {
        font-size: 1.3rem;
    }

    .dialogue-text {
        font-size: 1rem;
    }

    .choice-button {
        font-size: 0.95rem;
        padding: 0.8rem 1.2rem;
    }

    .hall-of-fear-button {
        font-size: 1rem;
        padding: 1rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .forest-fear-welcome {
        margin: 2rem auto;
    }

    .welcome-content {
        padding: 2rem 1rem;
    }

    .welcome-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .btn-enter-forest {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        letter-spacing: 1px;
    }

    .dialogue-system {
        margin: 1rem 0;
    }

    .dialogue-container {
        padding: 1rem;
        border-radius: 8px;
    }

    .speaker-name {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .dialogue-box {
        padding: 1rem;
        min-height: 60px;
    }

    .dialogue-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .audio-button {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .choices-container {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }

    .choice-button {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .finale-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .hall-of-fear-button {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }
}

/* Eden Submission Styles */
.submit-eden-section {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: rgba(251, 0, 255, 0.05);
    border: 1px solid rgba(251, 0, 255, 0.2);
    border-radius: 8px;
}

.submit-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-style: italic;
}

.submit-eden-link {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-pink);
}

.submit-eden-link:hover {
    background: transparent;
    color: var(--accent-pink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 0, 255, 0.3);
}

/* Upload Form Styles */
.upload-container {
    max-width: 800px;
    margin: 2rem auto;
}

.upload-form {
    background: rgba(20, 10, 40, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(251, 0, 255, 0.2);
}

.drop-zone {
    border: 3px dashed rgba(251, 0, 255, 0.4);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(251, 0, 255, 0.05);
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--accent-pink);
    background: rgba(251, 0, 255, 0.1);
    transform: scale(1.02);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
}

.drop-zone-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.drop-zone-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(251, 0, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-pink);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-preview:hover {
    background: #ff0066;
    transform: scale(1.1);
}

.preview-filename {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.form-group {
    margin: 1.5rem 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(251, 0, 255, 0.3);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: var(--accent-pink);
    color: var(--bg-color);
    border: 2px solid var(--accent-pink);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover:not(:disabled) {
    background: transparent;
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 0, 255, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.upload-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    display: none;
}

.upload-status.success {
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    color: #00ff64;
}

.upload-status.error {
    background: rgba(255, 0, 100, 0.1);
    border: 1px solid rgba(255, 0, 100, 0.3);
    color: #ff0064;
}

@media (max-width: 768px) {
    .upload-form {
        padding: 1.5rem;
    }

    .drop-zone {
        padding: 2rem 1rem;
    }

    .preview-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .preview-item img {
        height: 100px;
    }
}
