/* The Murphy Experiment - Common Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Special+Elite&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background: #d4c5a0 url('media/background-texture.png') center/cover fixed;
    color: #2a2a2a;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   STICKY NAVIGATION
   ============================================ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(212, 197, 160, 0.95);
    border-bottom: 3px solid rgba(101, 67, 33, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.site-nav.scrolled {
    background: rgba(212, 197, 160, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height 0.3s ease;
}

.site-nav.scrolled .nav-container {
    height: 55px;
}

/* Nav Logo */
.nav-logo {
    font-family: 'Special Elite', cursive;
    font-size: 1.1rem;
    color: #014208;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
    border: 2px solid #8b0000;
    padding: 6px 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-logo:hover {
    background: rgba(139, 0, 0, 0.1);
}

.site-nav.scrolled .nav-logo {
    font-size: 0.95rem;
    padding: 4px 10px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Special Elite', cursive;
    font-size: 0.85rem;
    color: #3d2813;
    text-decoration: none;
    padding: 8px 14px;
    display: block;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: #014208;
    background: rgba(1, 66, 8, 0.1);
    border-color: rgba(1, 66, 8, 0.3);
}

.nav-link.active {
    color: #8b0000;
    border-bottom: 2px solid #8b0000;
}

/* Dropdown Trigger */
.nav-link.has-dropdown {
    padding-right: 22px;
}

.nav-link.has-dropdown::after {
    content: '▼';
    font-size: 0.6rem;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(245, 230, 211, 0.98);
    border: 2px solid rgba(101, 67, 33, 0.6);
    border-top: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    list-style: none;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    border-bottom: 1px solid rgba(101, 67, 33, 0.2);
}

.nav-dropdown li:last-child {
    border-bottom: none;
}

.nav-dropdown .nav-link {
    font-size: 0.8rem;
    padding: 10px 16px;
}

.nav-dropdown .nav-link:hover {
    background: rgba(1, 66, 8, 0.15);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: 2px solid #3d2813;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #3d2813;
    transition: all 0.3s ease;
}

/* Body padding to account for fixed nav */
body {
    padding-top: 70px;
}

body.nav-scrolled {
    padding-top: 55px;
}

/* ============================================
   LOGO AND BRANDING
   ============================================ */

.logo {
    font-family: 'Special Elite', cursive;
    font-size: 3rem;
    font-weight: bold;
    color: #014208;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.archive-label {
    font-family: 'Special Elite', cursive;
    font-size: 0.9rem;
    color: #8b0000;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #8b0000;
    padding: 8px 20px;
    background: rgba(139, 0, 0, 0.1);
    display: inline-block;
}

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    text-align: left;
    font-size: 0.75rem;
    color: #014208;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Page subtitle - appears below stamp container in header */
.page-subtitle {
    font-family: 'Special Elite', cursive;
    color: #3d2813;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: bold;
    margin-top: 55px;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ============================================
   HEADER LAYOUTS
   ============================================ */

/* Default header */
header {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: transparent;
}

/* Page header - inner pages with stamp (about, boney-files, videos, shapes, bio pages) */
.page-header {
    padding: 60px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header .archive-label {
    margin-bottom: 40px;
}

/* Home header - full viewport height for index.html */
.home-header {
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-header .archive-label {
    margin-bottom: 40px;
}

/* ============================================
   STAMP CONTAINER
   ============================================ */

.stamp-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.stamp-container .logo {
    font-size: 3.5rem;
    color: #014208;
    letter-spacing: 0.1em;
    transform: rotate(-2.5deg);
    border: 4px solid #8b0000;
    outline: 3px solid #8b0000;
    outline-offset: 5px;
    padding: 25px 45px;
    opacity: 0.85;
    filter: url(#stamp-rough);
    text-align: center;
    line-height: 1.3;
    margin: 0;
    text-shadow: none;
}

.logo-line {
    display: block;
}

.postmark {
    position: absolute;
    top: 50%;
    right: -90px;
    transform: translateY(-50%) rotate(12deg);
    width: 200px;
    height: 200px;
    border: 4px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Special Elite', cursive;
    color: rgba(0, 0, 0, 0.6);
    filter: url(#stamp-rough);
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(
        135deg,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.8) 30%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.6) 75%,
        rgba(0,0,0,0.2) 100%
    );
    mask-image: linear-gradient(
        135deg,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.8) 30%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.6) 75%,
        rgba(0,0,0,0.2) 100%
    );
}

.postmark::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.postmark-text-top {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.postmark-date {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.postmark-text-bottom {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* ============================================
   HEADINGS
   ============================================ */

h2 {
    font-family: 'Special Elite', cursive;
    font-size: 2rem;
    color: #3d2813;
    margin-bottom: 25px;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

h2.centered {
    text-align: center;
}

h3 {
    font-family: 'Special Elite', cursive;
    font-size: 1.6rem;
    color: #3d2813;
    margin-bottom: 20px;
    text-align: left;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    position: relative;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* First section after page-header - reduced top padding */
.section-first {
    padding-top: 20px;
}

/* Content Column for narrow layout - centered */
.content-column {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   BODY TEXT
   ============================================ */

.body-text {
    font-family: 'Lora', serif;
    color: #1a1a1a;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: left;
    margin-bottom: 25px;
}

/* Data tag footer */
.data-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #014208;
    opacity: 0.7;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(1, 66, 8, 0.2);
    text-align: left;
}

/* ============================================
   BUTTONS AND LINKS
   ============================================ */

.back-link {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(180deg, #d4b896 0%, #b89860 100%);
    color: #3d2813;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #8a6d3b, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.1);
    margin: 10px;
}

.back-link:hover {
    background: linear-gradient(180deg, #c4a886 0%, #a88850 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8a6d3b, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.back-link:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #8a6d3b, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.cta-button {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(180deg, #d4b896 0%, #b89860 100%);
    color: #3d2813;
    padding: 14px 28px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #8a6d3b, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.1);
    margin: 5px;
}

.cta-button:hover {
    background: linear-gradient(180deg, #c4a886 0%, #a88850 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8a6d3b, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #8a6d3b, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.cta-button.new {
    background: linear-gradient(180deg, #d4a0a0 0%, #b86060 100%);
    color: #5a0000;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3), -1px -1px 0 rgba(0,0,0,0.1);
    box-shadow: 0 4px 0 #8b3a3a, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    animation: pulse-glow-folder 2s infinite;
}

.cta-button.new:hover {
    background: linear-gradient(180deg, #c49090 0%, #a85050 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8b3a3a, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.cta-button.new:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #8b3a3a, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.conclusion-link {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(180deg, #a0c4a0 0%, #60986a 100%);
    color: #014208;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #3a6b3a, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.1);
    margin: 5px;
}

.conclusion-link:hover {
    background: linear-gradient(180deg, #90b490 0%, #50885a 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #3a6b3a, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.conclusion-link:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #3a6b3a, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.prev-link,
.next-link {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(180deg, #d4b896 0%, #b89860 100%);
    color: #3d2813;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #8a6d3b, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.1);
    margin: 5px;
}

.prev-link:hover,
.next-link:hover {
    background: linear-gradient(180deg, #c4a886 0%, #a88850 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8a6d3b, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.prev-link:active,
.next-link:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #8a6d3b, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.social-link {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(180deg, #d4b896 0%, #b89860 100%);
    color: #3d2813;
    padding: 14px 28px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #8a6d3b, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.1);
}

.social-link:hover {
    background: linear-gradient(180deg, #c4a886 0%, #a88850 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8a6d3b, 0 3px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.social-link:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #8a6d3b, 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Button container for horizontal grouping */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.button-group.centered {
    justify-content: center;
}

/* ============================================
   CONTENT BOXES
   ============================================ */

.content-box {
    background: rgba(245, 230, 211, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid rgba(101, 67, 33, 0.6);
    backdrop-filter: blur(10px);
    line-height: 1.8;
    font-size: 1.1rem;
    color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.content-box.large-padding {
    padding: 60px 40px;
}

.content-box.centered {
    text-align: center;
}

/* Legacy aliases */
.about-content,
.profile-content,
.discovery-content {
    background: rgba(245, 230, 211, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid rgba(101, 67, 33, 0.6);
    backdrop-filter: blur(10px);
    line-height: 1.8;
    font-size: 1.1rem;
    color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.profile-content {
    padding: 60px 40px;
}

.album-section {
    background: rgba(245, 230, 211, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(101, 67, 33, 0.6);
}

.album-title {
    font-family: 'Special Elite', cursive;
    font-size: 2.5rem;
    color: #3d2813;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-weight: bold;
    text-align: left;
}

.album-title.centered {
    text-align: center;
}

.album-subtitle {
    font-size: 1.2rem;
    color: #5a3a1a;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: left;
}

.album-subtitle.centered {
    text-align: center;
}

/* ============================================
   NOTES AND CALLOUTS
   ============================================ */

.artifact-note {
    font-family: 'IBM Plex Mono', monospace;
    color: #1a1a1a;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(1, 66, 8, 0.08);
    border-left: 3px solid #014208;
    border-radius: 0 5px 5px 0;
}

.artifact-note strong {
    color: #014208;
}

/* Alternate artifact note style (red border) */
.artifact-note.urgent {
    background: rgba(139, 90, 43, 0.15);
    border-left: 4px solid #8b0000;
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
}

.artifact-note.urgent strong {
    color: #8b0000;
}

/* Evidence note - green variant */
.evidence-note {
    background: rgba(1, 66, 8, 0.1);
    border-left: 5px solid #014208;
    padding: 25px;
    border-radius: 5px;
    margin: 30px 0;
    font-style: italic;
}

/* ============================================
   ALERT BOXES
   ============================================ */

.urgent-box {
    background: rgba(139, 0, 0, 0.2);
    border: 4px double #8b0000;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    animation: pulse-border 2s infinite;
}

.urgent-box h3 {
    color: #8b0000;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.breaking-news {
    background: rgba(139, 0, 0, 0.15);
    border: 3px solid #8b0000;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    animation: pulse-border 3s infinite;
}

/* ============================================
   BIO PAGES
   ============================================ */

.revelation-box {
    background: rgba(139, 0, 0, 0.15);
    border: 3px solid #8b0000;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.revelation-box h3 {
    font-family: 'Special Elite', cursive;
    color: #8b0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.character-image {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 3px solid rgba(139, 0, 0, 0.6);
    margin: 20px auto;
    display: block;
}

.navigation-box {
    background: rgba(1, 66, 8, 0.1);
    border: 2px solid #014208;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

/* ============================================
   GRIDS AND CARDS
   ============================================ */

/* Generic 2-column grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 8px;
}

/* Auto-fit grid for flexible columns */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Content card - generic */
.content-card {
    background: rgba(245, 230, 211, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid rgba(101, 67, 33, 0.6);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.content-card.placeholder {
    background: rgba(212, 197, 160, 0.7);
    border: 3px dashed rgba(139, 0, 0, 0.5);
    opacity: 0.8;
}

/* Info card - smaller variant */
.info-card {
    background: rgba(212, 197, 160, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(101, 67, 33, 0.5);
}

.info-card h3,
.info-card h4 {
    color: #3d2813;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.info-card p {
    color: #2a2a2a;
    line-height: 1.6;
}

/* Member Cards */
.members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background: rgba(245, 230, 211, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid rgba(101, 67, 33, 0.6);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.member-card:hover {
    border-color: rgba(101, 67, 33, 0.8);
    transform: scale(1.05);
    background: rgba(212, 197, 160, 0.95);
}

.member-name {
    font-family: 'Special Elite', cursive;
    font-size: 1.5rem;
    color: #3d2813;
    margin-bottom: 10px;
    font-weight: bold;
}

.member-role {
    color: #5a3a1a;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ============================================
   VIDEO COMPONENTS
   ============================================ */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.placeholder-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: repeating-linear-gradient(
        45deg,
        rgba(139, 0, 0, 0.1),
        rgba(139, 0, 0, 0.1) 10px,
        rgba(139, 0, 0, 0.05) 10px,
        rgba(139, 0, 0, 0.05) 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 0, 0, 0.3);
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #8b0000;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-title {
    font-size: 1.5rem;
    color: #3d2813;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.content-card.placeholder .video-title {
    color: #8b0000;
    opacity: 0.7;
}

.video-code {
    text-align: center;
    font-size: 0.75rem;
    color: #8b0000;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: bold;
}

/* ============================================
   STATUS BADGES
   ============================================ */

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-left: 10px;
    font-weight: bold;
}

.status-badge.available {
    background: rgba(0, 100, 0, 0.2);
    color: #006400;
    border: 1px solid #006400;
}

.status-badge.pending {
    background: rgba(139, 0, 0, 0.2);
    color: #8b0000;
    border: 1px solid #8b0000;
}

/* ============================================
   TRACKLIST
   ============================================ */

.tracklist {
    background: rgba(245, 230, 211, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid rgba(101, 67, 33, 0.6);
    margin-top: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(101, 67, 33, 0.3);
    transition: all 0.3s;
}

.track:last-child {
    border-bottom: none;
}

.track:hover {
    background: rgba(212, 197, 160, 0.5);
    padding-left: 25px;
}

.track-number {
    font-weight: bold;
    color: #5a3a1a;
    min-width: 40px;
}

.track-title {
    flex: 1;
    color: #1a1a1a;
    font-weight: bold;
}

.track-duration {
    color: #5a3a1a;
    font-weight: bold;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(139, 0, 0, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(139, 0, 0, 1);
    transform: rotate(90deg);
}

/* ============================================
   IMAGES
   ============================================ */

/* Clickable image container with hover effect */
.image-clickable {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.image-clickable img {
    transition: all 0.3s;
}

.image-clickable:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.image-clickable::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.image-clickable:hover::after {
    opacity: 1;
}

.image-label {
    text-align: center;
    font-size: 0.9rem;
    color: #5a3a1a;
    margin-top: 10px;
    font-weight: bold;
    font-style: italic;
}

/* Standard bordered image */
.bordered-image {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 3px solid rgba(101, 67, 33, 0.6);
}

/* Banner image - full width */
.banner-image {
    max-width: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    border: 4px solid rgba(139, 0, 0, 0.8);
    margin: 30px 0;
    display: block;
}

/* Comic frame image */
.comic-frame {
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 3px solid rgba(101, 67, 33, 0.6);
    margin: 30px auto;
    display: block;
}

/* ============================================
   INDEX PAGE SPECIFIC
   ============================================ */

.tagline {
    font-size: 1.3rem;
    color: #3d2813;
    margin-bottom: 5px;
    font-style: italic;
    font-weight: bold;
}

.genre {
    font-size: 1.1rem;
    color: #5a3a1a;
    margin-bottom: 20px;
    font-weight: bold;
}

.location {
    font-size: 1rem;
    color: #5a3a1a;
    margin-bottom: 20px;
    font-weight: bold;
}

.case-number {
    font-size: 1.1rem;
    color: #8b0000;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #3d2813;
    font-weight: bold;
}

/* Album header on index */
.album-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.album-header img {
    max-width: 350px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 3px solid rgba(101, 67, 33, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    text-align: center;
    padding: 40px 20px;
    color: #3d2813;
    border-top: 2px solid rgba(101, 67, 33, 0.6);
    margin-top: 80px;
    font-weight: bold;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(139, 0, 0, 0.8); }
}

@keyframes pulse-glow-folder {
    0%, 100% { box-shadow: 0 4px 0 #8b3a3a, 0 6px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 4px 0 #8b3a3a, 0 6px 12px rgba(139, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.4); }
}

@keyframes pulse-border {
    0%, 100% { border-color: #8b0000; }
    50% { border-color: #a00000; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-italic { font-style: italic; }
.text-bold { font-weight: bold; }
.text-urgent { color: #8b0000; }
.text-muted { opacity: 0.7; }

.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Navigation responsive */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(245, 230, 211, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 3px solid rgba(101, 67, 33, 0.6);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav.scrolled .nav-menu {
        top: 55px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(101, 67, 33, 0.2);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #014208;
        margin-left: 16px;
        background: rgba(212, 197, 160, 0.5);
    }

    .nav-link.has-dropdown::after {
        right: 16px;
    }
}

@media (max-width: 1024px) {
    .members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .logo {
        font-size: 2rem;
    }

    .stamp-container .logo {
        font-size: 2.2rem;
        padding: 18px 30px;
        border-width: 3px;
        outline-width: 2px;
    }

    .postmark {
        width: 140px;
        height: 140px;
        right: -60px;
        border-width: 3px;
    }

    .postmark::before {
        border-width: 2px;
    }

    .postmark-date {
        font-size: 1rem;
    }

    .postmark-text-top,
    .postmark-text-bottom {
        font-size: 0.55rem;
    }

    .page-subtitle {
        font-size: 1.3rem;
        margin-top: 40px;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .album-title {
        font-size: 1.8rem;
    }

    .members {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .profile-content,
    .content-box {
        padding: 25px;
    }

    .content-column {
        max-width: 100%;
    }

    .cta-button,
    .back-link,
    .social-link,
    .prev-link,
    .next-link,
    .conclusion-link {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .button-group {
        justify-content: center;
    }

    .track {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-modal {
        padding: 10px;
    }

    .nav-logo {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
}
