/*
Theme Name: Blair Horror
Theme URI: http://example.com/blair-horror
Author: Custom Theme Developer
Author URI: http://example.com
Description: A dark, minimalistic horror theme inspired by Blair Witch Project
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blair-horror
*/

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

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Special Elite', cursive;
    line-height: 1.6;
}

/* Header Styles */
.site-header {
    background-color: #000;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.site-branding {
    text-align: center;
    padding: 1rem 0;
}

.site-title {
    font-family: 'Special Elite', cursive;
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #ff0000;
}

/* Navigation - Updated */
.main-navigation {
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    padding: 80px 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.main-navigation.is-active {
    left: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu li {
    margin: 0;
    padding: 0;
}

.menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    font-family: 'Special Elite', cursive;
}

.menu a:hover {
    color: #ff0000;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
    transform: translateX(10px);
}

/* Hamburger Menu Button */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #e0e0e0;
    position: absolute;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -10px;
}

.hamburger-inner::after {
    content: '';
    bottom: -10px;
}

/* Hamburger Animation */
.menu-toggle.is-active .hamburger-inner {
    transform: rotate(45deg);
    background-color: #ff0000;
}

.menu-toggle.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.menu-toggle.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    background-color: #ff0000;
}

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.menu-overlay.is-active {
    display: block;
}

/* Content Area */
.site-content {
    padding-top: 2rem;
}

/* Home Page */
.home-intro {
    text-align: center;
    margin: 4rem 0;
    animation: fadeIn 2s ease-in;
}

.home-intro h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.video-item {
    background-color: #1a1a1a;
    padding: 1rem;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.02);
}

/* Quiz Styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 2rem;
    border: 1px solid #333;
    text-align: center;
}

/* Regular page titles */
.entry-title,
.entry-header h1,
h1.entry-title,
.site-title {
    font-family: 'Special Elite', cursive !important;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 3.5rem;
    margin: 2rem 0;
}

/* Detective board title */
.investigation-board .board-title {
    font-family: 'Special Elite', cursive !important;
    color: #fff;
    font-size: 3.5rem;
    text-align: center;
    margin: 0 0 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Quiz/Rite of Passage specific title style */
.page-template-page-quiz .entry-title,
.page-template-page-quiz-php .entry-title {
    font-size: 4rem;
    margin: 3rem 0;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Diary page specific title style */
.page-template-page-diary .entry-title {
    margin-bottom: 4rem;
}

/* Lost footage specific title style */
.page-template-page-lost-footage .entry-title {
    margin-bottom: 4rem;
}

/* Remove any conflicting styles */
.entry-content h2,
#quiz-start-screen h2 {
    font-family: 'Special Elite', cursive;
}

.question-text {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Cinzel', serif;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin: 2rem 0;
}

.answer-option {
    width: 100%;
    max-width: 500px;
    padding: 1.2rem;
    background-color: #2a2a2a;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.answer-option:hover {
    background-color: #333;
    transform: scale(1.02);
    border-color: #ff0000;
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option input[type="radio"]:checked + .answer-text {
    color: #ff0000;
}

.answer-text {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.quiz-button {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 2px solid #333;
    padding: 1.2rem 3rem;
    font-family: 'Special Elite', cursive;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.quiz-button:hover {
    background-color: #333;
    border-color: #ff0000;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

#quiz-results {
    text-align: center;
}

#result-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 2rem 0;
    white-space: pre-line;
}

/* Center all content */
.site-main {
    text-align: center;
}

.entry-header, .entry-content {
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #666;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

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

.contact-info {
    margin-top: 0.5rem;
}

.contact-email {
    color: #888;
    text-decoration: none;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Ensure proper spacing for pages with content that might overlap footer */
.site-main {
    min-height: calc(100vh - 200px); /* Account for header and footer */
    padding-bottom: 2rem;
}

.missing-audio-section,
.lost-footage-section {
    padding-bottom: 4rem; /* Extra padding to prevent footer overlap */
}

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

@keyframes flicker {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes flicker-missing {
    0%, 100% { box-shadow: 0 0 20px 2px #ff0000; }
    20% { box-shadow: 0 0 30px 8px #ff0000; }
    40% { box-shadow: 0 0 15px 4px #ff0000; }
    60% { box-shadow: 0 0 35px 10px #ff0000; }
    80% { box-shadow: 0 0 25px 6px #ff0000; }
}

/* Diary Gallery Styles */
.diary-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    padding: 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

.diary-page {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    border: 1px solid #333;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.diary-page:hover {
    transform: scale(1.02);
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    z-index: 2;
}

.diary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.diary-page:hover .diary-image {
    transform: scale(1.1);
}

/* Modal Styles */
.diary-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.diary-modal.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    cursor: default;
    padding: 20px;
    transition: transform 0.3s ease;
}

#enlarged-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #333;
}

/* Responsive Design for Diary Gallery */
@media (max-width: 1200px) {
    .diary-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {
    .diary-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .home-intro h1 {
        font-size: 2rem;
    }
}

/* Lost Footage Page Styles */
.lost-footage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

.video-page {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    border: 1px solid #333;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-page:hover {
    transform: scale(1.02);
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    z-index: 2;
}

.video-thumbnail-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-modal .modal-content {
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    background: transparent;
}

#enlarged-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Apply Special Elite font to all text elements */
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, textarea {
    font-family: 'Special Elite', cursive;
}

/* Apply to form elements */
input, textarea, select, button {
    font-family: 'Special Elite', cursive;
}

/* Missing Persons Board Styles */
.missing-persons-board {
    padding: 2rem;
    background: #000000;
    position: relative;
    min-height: 100vh;
}

.investigation-board {
    background: #8B4513; /* Darker cork board color */
    padding: 4rem;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.7),
                0 10px 50px rgba(0,0,0,0.5);
    background-image: 
        radial-gradient(circle at 50% 50%, 
            rgba(0,0,0,0.1) 2px, 
            transparent 3px
        ),
        radial-gradient(circle at 50% 50%, 
            rgba(255,255,255,0.05) 1px, 
            transparent 2px
        );
    background-size: 30px 30px, 20px 20px;
    border: 20px solid #4a2810; /* Darker wood frame */
    min-height: 80vh;
    border-radius: 5px;
}

/* Sticky Notes */
.sticky-note {
    position: absolute;
    width: 150px;
    height: 150px;
    padding: 20px 10px;
    font-family: 'Special Elite', cursive;
    font-size: 1.4rem;
    transform: rotate(var(--rotation));
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--note-color) 0%, var(--note-color-light) 50%, var(--note-color) 100%);
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
}

.sticky-note:hover {
    transform: rotate(0) scale(1.05);
    z-index: 3;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
}

.note1 {
    top: 15%;
    left: 10%;
    --rotation: -8deg;
    --note-color: #ffcdd2;
    --note-color-light: #ffebee;
}

.note2 {
    top: 25%;
    right: 15%;
    --rotation: 5deg;
    --note-color: #bbdefb;
    --note-color-light: #e3f2fd;
}

.note3 {
    bottom: 30%;
    left: 12%;
    --rotation: -3deg;
    --note-color: #c8e6c9;
    --note-color-light: #e8f5e9;
}

.note4 {
    bottom: 20%;
    right: 18%;
    --rotation: 6deg;
    --note-color: #e1bee7;
    --note-color-light: #f3e5f5;
}

/* Increase spacing between posters */
.missing-persons-grid {
    margin-top: 4rem;
    gap: 6rem;
}

.top-row, .bottom-row {
    gap: 5rem;
}

.missing-persons-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem; /* Increased gap between rows */
}

.top-row, .bottom-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.bottom-row {
    width: 70%;
}

.missing-poster {
    position: relative;
    transform: rotate(var(--rotation));
    transition: all 0.3s ease;
    cursor: pointer;
    width: 300px;
    filter: brightness(0.95);
}

.missing-poster:nth-child(1) { --rotation: -2deg; }
.missing-poster:nth-child(2) { --rotation: 1deg; }
.missing-poster:nth-child(3) { --rotation: -1.5deg; }
.missing-poster:nth-child(4) { --rotation: 2deg; }
.missing-poster:nth-child(5) { --rotation: -2deg; }

.missing-poster:hover {
    transform: rotate(0) scale(1.05);
    z-index: 3;
    filter: brightness(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.poster-content img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .missing-persons-grid {
        padding: 1rem;
    }
    
    .top-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bottom-row {
        width: 90%;
    }
    
    .missing-poster {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .investigation-board {
        padding: 1rem;
        border-width: 10px;
    }
    
    .top-row, .bottom-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .missing-poster {
        width: 280px;
    }
}

/* Discussion Board Styles */
.discussion-board {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.discussion-intro {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
    border: 1px solid #333;
}

.discussion-intro .warning {
    color: #ff4444;
    font-style: italic;
    margin-top: 1rem;
}

/* Comment Form Styles */
.comment-form {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
    border: 1px solid #333;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Special Elite', cursive;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Special Elite', cursive;
    border-radius: 3px;
}

.comment-form input[type="submit"] {
    background: #333;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Special Elite', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #444;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Comment List Styles */
.theory-comment {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.theory-comment:hover {
    border-color: #444;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid #333;
}

.author-name {
    font-family: 'Special Elite', cursive;
    color: #fff;
    font-size: 1.1rem;
}

.comment-metadata {
    color: #888;
    font-size: 0.9rem;
}

.theory-text {
    font-family: 'Special Elite', cursive;
    line-height: 1.6;
    margin: 1rem 0;
}

.comment-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.comment-reply-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.nav-previous a,
.nav-next a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #333;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Missing Persons Page Gallery Overrides */
.page-template-page-missing-persons .diary-gallery.missing-persons-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1800px;
    margin: 0 auto;
}
.page-template-page-missing-persons .diary-page {
    min-width: 320px;
    min-height: 420px;
    aspect-ratio: auto;
    background: #111;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-template-page-missing-persons .diary-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background: #111;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
@media (max-width: 1200px) {
    .page-template-page-missing-persons .diary-gallery.missing-persons-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .page-template-page-missing-persons .diary-gallery.missing-persons-gallery {
        grid-template-columns: 1fr;
    }
    .page-template-page-missing-persons .diary-page {
        min-width: 220px;
        min-height: 300px;
    }
}
@keyframes smooth-glow-missing {
    0%, 100% { box-shadow: 0 0 20px 2px #ff0000; }
    50% { box-shadow: 0 0 40px 12px #ff0000; }
}
.page-template-page-missing-persons .diary-page:hover {
    border-color: #ff0000;
    animation: smooth-glow-missing 1.2s ease-in-out infinite;
    box-shadow: 0 0 20px 2px #ff0000;
    transform: none;
    z-index: auto;
}
.page-template-page-missing-persons .diary-page:hover .diary-image {
    transform: none;
} 

.vhs-shelf {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 80px 40px 100px 40px !important;
    justify-content: center !important;
    align-items: center !important;
    background: #222 !important;
    min-height: 500px !important;
    position: relative !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    width: 100% !important;
}

.vhs-shelf::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 36px;
    background: repeating-linear-gradient(90deg, #2a2a2a 0 60px, #232323 60px 120px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.7);
    z-index: 1;
}

.vhs-tape {
    width: 320px !important;
    height: 200px !important;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
    border: 10px solid #0f0f0f;
    border-radius: 4px 4px 8px 8px;
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.8),
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    overflow: hidden;
    margin-top: 20px;
}
.vhs-tape:hover {
    transform: translateY(-20px) scale(1.05) rotate(-1deg);
    box-shadow: 
        0 20px 40px rgba(255,0,0,0.15), 
        0 12px 24px rgba(0,0,0,0.8),
        inset 0 2px 4px rgba(255,255,255,0.1);
    z-index: 10;
}
.vhs-tape::before {
    /* VHS window */
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 120px;
    background: transparent;
    border-radius: 2px;
    border: 3px solid #333;
    z-index: 10;
    box-shadow: 
        0 2px 6px rgba(0,0,0,0.3) inset,
        0 1px 2px rgba(255,255,255,0.1);
    pointer-events: none;
}
.vhs-tape::after {
    /* Tape reels and tape strip */
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 120px;
    z-index: 11;
    pointer-events: none;
    background: none;
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg width="240" height="120" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="reelGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23333;stop-opacity:1" /><stop offset="50%" style="stop-color:%23555;stop-opacity:1" /><stop offset="100%" style="stop-color:%23333;stop-opacity:1" /></linearGradient></defs><circle cx="50" cy="30" r="30" fill="url(%23reelGrad)" stroke="%23444" stroke-width="2"/><circle cx="50" cy="30" r="22" fill="%23222"/><circle cx="50" cy="30" r="10" fill="%23444"/><circle cx="50" cy="30" r="4" fill="%23aaa"/><circle cx="190" cy="30" r="30" fill="url(%23reelGrad)" stroke="%23444" stroke-width="2"/><circle cx="190" cy="30" r="22" fill="%23222"/><circle cx="190" cy="30" r="10" fill="%23444"/><circle cx="190" cy="30" r="4" fill="%23aaa"/></svg>');
    background-size: 240px 120px;
    background-repeat: no-repeat;
    background-position: center;
}
.vhs-hand-label {
    display: block !important;
    position: absolute;
    top: 15px;
    left: 15px;
    transform: rotate(-2deg);
    background: linear-gradient(145deg, #f5f5dc, #e8e8d0);
    color: #000 !important;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 0.85em;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    z-index: 25;
    pointer-events: none;
    user-select: none;
    text-shadow: none;
    border: 1px solid #d4d4b0;
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(255,255,255,0.6);
    max-width: 110px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.3px;
}
.vhs-label {
    display: none;
}

/* VHS write-protect tab */
.vhs-tape .write-protect-tab {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 16px;
    height: 10px;
    background: #ff4444;
    border-radius: 2px;
    z-index: 15;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* VHS tape details */
.vhs-tape .tape-details {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 25px;
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a, #1a1a1a);
    border-radius: 3px;
    z-index: 12;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}
.vhs-label-title {
    display: inline-block;
    width: auto;
    text-align: center;
    font-size: 1.1em;
    letter-spacing: 2.5px;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
}
.vhs-label .vhs-logo {
    display: none;
}
.vhs-tape-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    width: 480px;
}

.vhs-description {
    min-width: 320px;
    max-width: 380px;
    background: #232323;
    border-left: 6px solid #b22222;
    border-radius: 8px;
    color: #eaeaea;
    font-size: 1.18em;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    padding: 28px 28px 28px 32px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
    margin-bottom: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    line-height: 1.6;
    z-index: 2;
}

.vhs-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.vhs-modal.active {
    display: flex;
}

.vhs-modal-content {
    background: #181818;
    padding: 40px 32px 32px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.9);
    max-width: 95vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.vhs-modal-close {
    position: absolute;
    top: 18px; right: 28px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

#vhs-modal-video iframe {
    width: 70vw;
    max-width: 900px;
    height: 40vw;
    max-height: 500px;
    border: none;
    border-radius: 10px;
    background: #000;
}

#vhs-modal-title {
    margin-top: 24px;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4em;
    text-align: center;
}

@media (max-width: 1100px) {
    .vhs-tape {
        width: 320px;
        height: 160px;
    }
    .vhs-tape::before {
        width: 240px;
        height: 70px;
        top: 45px;
    }
    .vhs-tape::after {
        width: 280px;
        height: 40px;
        top: 60px;
    }
    .vhs-hand-label {
        font-size: 0.9em;
        padding: 5px 8px;
        max-width: 120px;
        top: 40px;
    }
    .vhs-shelf {
        gap: 60px !important;
        padding: 80px 40px 100px 40px !important;
        min-height: 450px !important;
        max-width: 1400px !important;
    }
} 

.vhs-instructions {
    text-align: center;
    color: #fff;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 1.25em;
    margin: 18px 0 8px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    background: #181818;
    padding: 10px 24px;
    border-radius: 8px;
    display: inline-block;
} 

.missing-audio-section {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Force centering for cassette shelf */
body .missing-audio-section .cassette-shelf,
.page-template-page-missing-audio-logs .cassette-shelf,
.site-main .cassette-shelf {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 40px 0 60px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    background: #222 !important;
    min-height: 300px !important;
    position: relative !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    width: 100% !important;
}

.cassette-shelf {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 40px 0 60px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    background: #222 !important;
    min-height: 300px !important;
    position: relative !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    width: 100% !important;
}

.cassette-tape {
    width: 260px;
    height: 120px;
    background: linear-gradient(120deg, #444 80%, #888 100%);
    border: 3px solid #222;
    border-radius: 10px 10px 8px 8px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.8);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 24px;
    overflow: hidden;
}
.cassette-tape:hover {
    transform: translateY(-18px) scale(1.08) rotate(-1deg);
    box-shadow: 0 24px 48px rgba(255,0,0,0.18), 0 12px 36px rgba(0,0,0,0.9);
    z-index: 10;
}
.cassette-tape::before {
    /* Tape window bar */
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 32px;
    background: #e0e0e0;
    border-radius: 6px;
    border: 2px solid #bbb;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) inset;
    pointer-events: none;
}
.cassette-tape::after {
    /* Tape reels and tape strip */
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 36px;
    z-index: 11;
    pointer-events: none;
    background: none;
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg width="140" height="36" xmlns="http://www.w3.org/2000/svg"><rect x="52" y="15" width="36" height="6" rx="3" fill="%23555"/><circle cx="32" cy="18" r="16" fill="%23333" stroke="%23555" stroke-width="2"/><circle cx="32" cy="18" r="7" fill="%23555"/><circle cx="32" cy="18" r="2" fill="%23bbb"/><circle cx="108" cy="18" r="16" fill="%23333" stroke="%23555" stroke-width="2"/><circle cx="108" cy="18" r="7" fill="%23555"/><circle cx="108" cy="18" r="2" fill="%23bbb"/></svg>');
    background-size: 140px 36px;
    background-repeat: no-repeat;
    background-position: center;
}
.cassette-hand-label {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    transform: rotate(-2deg) !important;
    background: #f5f5dc !important;
    color: #333 !important;
    font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
    font-size: 0.8em !important;
    padding: 4px 8px !important;
    border-radius: 2px !important;
    z-index: 25 !important;
    pointer-events: none !important;
    user-select: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    border: 1px solid #d4d4b0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    max-width: 80px !important;
    text-align: center !important;
    line-height: 1.2 !important;
}
.cassette-tab {
    position: absolute;
    top: 0;
    left: 18px;
    width: 22px;
    height: 10px;
    background: #b22222;
    border-radius: 2px 2px 4px 4px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: none;
}
.cassette-tape .cassette-screw {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #bbb;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.18) inset;
    z-index: 30;
}
.cassette-tape .cassette-screw.s1 { top: 8px; left: 8px; }
.cassette-tape .cassette-screw.s2 { top: 8px; right: 8px; }
.cassette-tape .cassette-screw.s3 { bottom: 8px; left: 8px; }
.cassette-tape .cassette-screw.s4 { bottom: 8px; right: 8px; }

.cassette-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}
.cassette-modal.active {
    display: flex;
}
.cassette-modal-content {
    background: #181818;
    padding: 32px 24px 24px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.8);
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.cassette-modal-close {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 2.2em;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}
#cassette-modal-audio audio {
    width: 60vw;
    max-width: 500px;
    margin-top: 10px;
    border-radius: 6px;
    background: #000;
}
#cassette-modal-title {
    margin-top: 18px;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1em;
    text-align: center;
}
@media (max-width: 700px) {
    .cassette-tape {
        width: 100px;
        height: 50px;
    }
    .cassette-hand-label {
        top: 8px !important;
        left: 8px !important;
        transform: rotate(-2deg) !important;
        font-size: 0.6em !important;
        padding: 2px 4px !important;
        background: #f5f5dc !important;
        color: #333 !important;
        text-shadow: none !important;
        border: 1px solid #d4d4b0 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
        max-width: 60px !important;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    .cassette-description {
        min-width: 90px;
        max-width: 99vw;
        font-size: 0.85em;
        padding: 6px 6px 6px 8px;
    }
    #cassette-modal-audio audio {
        width: 95vw;
        max-width: 99vw;
    }
} 

/* Instagram Menu Item */
.menu-item-instagram,
.menu-item-email {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.menu-item-instagram a,
.menu-item-email a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
}

.menu-item-instagram a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

.menu-item-email a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(100, 150, 255, 0.7);
}

.instagram-icon,
.email-icon {
    font-size: 1.2em;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.menu-item-instagram a:hover .instagram-icon {
    filter: grayscale(0%);
}

.menu-item-email a:hover .email-icon {
    filter: grayscale(0%);
    filter: hue-rotate(200deg) saturate(1.5);
}

.instagram-text,
.email-text {
    font-size: 0.9em;
}

/* Footer Social Links */
.social-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.instagram-link {
    color: #888;
    text-decoration: none;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 0.85em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.instagram-link:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .menu-item-instagram {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.5rem;
    }
} 

/* Quiz Results Instagram CTA */
.instagram-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.instagram-cta p {
    margin-bottom: 1rem;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 1.1em;
    color: #ccc;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.instagram-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(145deg, #333, #222);
    border: 2px solid #555;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.instagram-result-link:hover {
    background: linear-gradient(145deg, #444, #333);
    border-color: #ff0000;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.instagram-result-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}

/* Quiz Results Email CTA */
.email-cta {
    margin-top: 1rem;
    text-align: center;
}

.email-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(145deg, #333, #222);
    border: 2px solid #555;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.email-result-link:hover {
    background: linear-gradient(145deg, #444, #333);
    border-color: #4a6b8a;
    color: #fff;
    text-shadow: 0 0 10px rgba(100, 150, 255, 0.7);
    box-shadow: 0 6px 12px rgba(100, 150, 255, 0.3);
    transform: translateY(-2px);
}

.email-result-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(100, 150, 255, 0.4);
} 