/* Zine-specific styles */
.zine-content {
    margin-top: 80px;
    padding: 0;
}

/* Zine Entry Card */
.zine-entry {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.zine-entry.layered-card {
    box-shadow:
        0 8px 16px var(--shadow-color),
        8px 8px 0px var(--border-color);
}

/* Zine Decorative Tapes */
.zine-tape {
    position: absolute;
    width: 100px;
    height: 35px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(200, 200, 200, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 8;
}

.tape-1 {
    top: -12px;
    left: 20%;
    transform: rotate(-20deg);
}

.tape-2 {
    top: -12px;
    right: 20%;
    transform: rotate(25deg);
}

/* Zine Pins */
.zine-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 30% 30%, #FFD700, #FFA500, #8B4513);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset -1px -1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: pinWobble 4s ease-in-out infinite;
}

.zine-pin::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 10px;
    background: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.pin-1 {
    top: 1.5rem;
    left: 1.5rem;
}

.pin-2 {
    top: 1.5rem;
    right: 1.5rem;
    animation-delay: 0.5s;
}

/* Entry Header Styling */
.entry-header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px dashed var(--primary-color);
    position: relative;
}

.header-decoration {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: spin 8s linear infinite;
}

.entry-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 700;
    transform: rotate(-1deg);
}

.entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Reactions Section */
.reactions-section {
    padding: 2rem;
    margin: 3rem 0;
    background: rgba(215, 38, 56, 0.05);
    border: 2px dashed var(--primary-color);
    border-radius: 15px;
    text-align: center;
}

.reaction-label {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.reaction-btn {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transform: rotate(-1deg);
}

.reaction-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: rotate(1deg) scale(1.1);
    box-shadow: 0 8px 16px rgba(215, 38, 56, 0.3);
}

.reaction-btn:active {
    animation: reactionPress 0.2s ease-in-out;
}

@keyframes reactionPress {
    0%, 100% { transform: rotate(1deg) scale(1.1); }
    50% { transform: rotate(1deg) scale(0.95); }
}

/* Comments Section */
.comments-section {
    padding: 3rem 0;
    border-top: 2px solid var(--border-color);
    margin-top: 3rem;
}

.comments-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.comments-decoration {
    width: 60px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.comments-list {
    margin-bottom: 3rem;
}

.comment-form-container {
    background: rgba(138, 198, 209, 0.08);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    transform: rotate(-0.5deg);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(138, 198, 209, 0.2);
    transform: rotate(-1deg);
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    align-self: center;
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: rotate(1deg) scale(1.05);
    box-shadow: 0 8px 16px rgba(215, 38, 56, 0.3);
}

/* Zine Header */
.zine-header {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zine-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,0 Q50,25 100,0 T100,50 Q50,75 0,50 Z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.zine-header.dark {
    background: linear-gradient(135deg, #1a1a1a, #333333);
}

.zine-number {
    font-family: var(--font-display);
    font-size: 8rem;
    position: absolute;
    top: 1rem;
    right: 2rem;
    opacity: 0.15;
    transform: rotate(-15deg);
    color: var(--primary-color);
}

.zine-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(215, 38, 56, 0.5);
}

.title-part-1 {
    display: block;
    transform: rotate(-2deg);
    margin-left: -2rem;
}

.title-part-2 {
    display: block;
    transform: rotate(3deg);
    margin-left: 2rem;
}

.zine-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.zine-date {
    font-size: 1.2rem;
    opacity: 0.9;
}

.zine-tags {
    display: flex;
    gap: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Zine Scenes */
.zine-scene {
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.zine-scene:nth-child(even) {
    background: var(--surface-color);
}

/* Scene Titles */
.scene-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    transform: skew(-2deg);
}

.scene-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
}

/* Content Blocks */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.zine-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.zine-text.large {
    font-size: 1.5rem;
    text-align: center;
}

.zine-text.centered {
    text-align: center;
}

.highlight {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.2rem 0.4rem;
    transform: skew(-2deg);
    display: inline-block;
}

/* Scene 1 - Digital Rebellion */
.scene-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.scene-visual {
    position: relative;
    height: 400px;
}

.glitch-box {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glitchBox 3s infinite;
}

.floating-text {
    position: absolute;
    top: 20%;
    right: 10%;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--secondary-color);
    animation: float-text 4s ease-in-out infinite;
    transform: rotate(-10deg);
}

@keyframes glitchBox {
    0%, 100% { 
        transform: translate(-50%, -50%);
        background: var(--primary-color);
    }
    25% { 
        transform: translate(-48%, -52%);
        background: var(--secondary-color);
    }
    50% { 
        transform: translate(-52%, -48%);
        background: var(--accent-color);
    }
    75% { 
        transform: translate(-49%, -51%);
        background: var(--primary-color);
    }
}

@keyframes float-text {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-20px); }
}

/* Scene 2 - Asymmetric Layout */
.asymmetric {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    transform: skew(-1deg);
}

.content-column {
    transform: skew(1deg);
}

.visual-column {
    transform: skew(1deg);
    position: relative;
    height: 300px;
}

.zine-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 2rem;
    margin: 2rem 0;
    transform: rotate(-1deg);
    background: var(--surface-color);
    padding: 1.5rem 2rem;
    border: 2px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
}

.quote-author {
    text-align: right;
    font-size: 1rem;
    opacity: 0.8;
    transform: skew(-3deg);
}

.rotating-square {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    position: absolute;
    top: 2rem;
    right: 2rem;
    animation: spin 8s linear infinite;
}

.code-snippet {
    position: absolute;
    bottom: 2rem;
    left: 0;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    transform: rotate(2deg);
}

.code-comment { color: #888; }
.code-function { color: var(--secondary-color); }
.code-name { color: var(--accent-color); }
.code-return { color: var(--primary-color); }
.code-string { color: #ffa500; }

/* Scene 3 - Full Width Visual */
.scene-3 {
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.full-width-visual {
    flex: 1;
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-layers {
    position: relative;
}

.layer {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 12rem);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.layer-1 {
    color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 3;
}

.layer-2 {
    color: rgba(255, 255, 255, 0.6);
    transform: translate(-45%, -45%) rotate(2deg);
    z-index: 2;
}

.layer-3 {
    color: rgba(255, 255, 255, 0.3);
    transform: translate(-55%, -55%) rotate(-3deg);
    z-index: 1;
}

.scene-content.centered {
    background: var(--bg-color);
    padding: 3rem;
    text-align: center;
}

.content-scatter {
    position: relative;
    height: 200px;
    margin-top: 3rem;
}

.scattered-word {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.pos-1 {
    top: 20%;
    left: 10%;
    transform: rotate(-10deg);
    color: var(--primary-color);
}

.pos-2 {
    top: 60%;
    right: 20%;
    transform: rotate(8deg);
    color: var(--secondary-color);
}

.pos-3 {
    bottom: 10%;
    left: 50%;
    transform: rotate(-5deg);
    color: var(--accent-color);
}

/* Scene 4 - Manifesto */
.conclusion {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-color);
    transform: rotate(-2deg);
    margin-bottom: 3rem;
}

.manifesto-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.point-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 40px;
}

.point p {
    font-size: 1.1rem;
    margin: 0;
}

/* Manifesto Styling */
.manifesto-style {
    text-align: left;
}

.large-quote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0 3rem 0;
    transform: rotate(-1deg);
    background: var(--surface-color);
    padding: 1.5rem 2rem;
    border: 2px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
}

.manifesto-point {
    display: flex;
    align-items: flex-start;
    margin: 1.5rem 0;
    transform: rotate(0.5deg);
}

.point-marker {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
    font-family: var(--font-mono);
}

.manifesto-point p {
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

/* Poem Layout */
.poem-layout {
    background: var(--surface-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poem-block {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    line-height: 2;
    text-align: left;
    max-width: 600px;
}

.poem-line {
    margin: 0.8rem 0;
    color: var(--text-color);
    animation: typewriter 0.5s ease-in-out;
}

.indent-1 {
    margin-left: 2rem;
    color: var(--secondary-color);
}

.indent-2 {
    margin-left: 4rem;
    color: var(--primary-color);
}

.poem-break {
    text-align: center;
    margin: 2rem 0;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.glow-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(215, 38, 56, 0.3);
    font-weight: 500;
}

.glow-text:hover {
    text-shadow: 0 0 20px rgba(215, 38, 56, 0.6);
    animation: glow 1s ease-in-out;
}

@keyframes typewriter {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(215, 38, 56, 0.3); }
    50% { text-shadow: 0 0 25px rgba(215, 38, 56, 0.8); }
}

/* Zine 2 Specific Styles */
.zine-2 .scene-1.night-theme {
    background: linear-gradient(135deg, #001122, #002244);
    color: white;
    position: relative;
}

.time-display {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.7;
}

.moon-phases {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.moon-phase {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
}

.phase-1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 60px;
    background: #001122;
    border-radius: 0 60px 60px 0;
}

.phase-2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #001122;
    border-radius: 50%;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.diagonal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    transform: skew(-2deg);
}

.content-diagonal,
.visual-diagonal {
    transform: skew(2deg);
}

.thought-bubbles {
    position: relative;
    height: 300px;
}

.thought-bubble {
    position: absolute;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 20px;
    max-width: 200px;
    font-size: 0.9rem;
    transform: rotate(-2deg);
}

.bubble-1 {
    top: 10%;
    left: 0;
}

.bubble-2 {
    top: 40%;
    right: 0;
    transform: rotate(3deg);
}

.bubble-3 {
    bottom: 10%;
    left: 20%;
    transform: rotate(-1deg);
}

.spinning-vinyl {
    width: 120px;
    height: 120px;
    background: #000;
    border-radius: 50%;
    position: relative;
    animation: spin 3s linear infinite;
}

.spinning-vinyl::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sound-waves {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    align-items: end;
}

.wave {
    width: 4px;
    background: var(--secondary-color);
    animation: wave 1s ease-in-out infinite;
}

.wave-1 {
    height: 20px;
    animation-delay: 0s;
}

.wave-2 {
    height: 35px;
    animation-delay: 0.2s;
}

.wave-3 {
    height: 25px;
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* Chaotic Layout - Fixed positioning and layering */
.chaotic-layout {
    position: relative;
    min-height: 80vh;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.chaos-element {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    text-shadow: 2px 2px 0 var(--bg-color);
}

.elem-1 {
    top: 8%;
    left: 5%;
    color: var(--primary-color);
    animation: chaosFloat1 6s ease-in-out infinite;
}

.elem-2 {
    top: 15%;
    right: 8%;
    color: var(--secondary-color);
    animation: chaosFloat2 7s ease-in-out infinite;
}

.elem-3 {
    bottom: 25%;
    left: 8%;
    color: var(--accent-color);
    animation: chaosFloat3 5s ease-in-out infinite;
}

.elem-4 {
    bottom: 12%;
    right: 5%;
    color: var(--primary-color);
    animation: chaosFloat4 8s ease-in-out infinite;
}

.chaos-center {
    position: relative;
    z-index: 10;
    background: var(--bg-color);
    padding: 2.5rem;
    border: 3px solid var(--border-color);
    max-width: 450px;
    text-align: center;
    box-shadow:
        8px 8px 0 var(--primary-color),
        16px 16px 0 rgba(0,0,0,0.1);
    transform: rotate(-1deg);
}

@keyframes chaosFloat1 {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-15px) rotate(-10deg); }
}

@keyframes chaosFloat2 {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

@keyframes chaosFloat3 {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-12px) rotate(-12deg); }
}

@keyframes chaosFloat4 {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

/* Mirror Section */
.mirror-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.mirror-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.mirror-list {
    list-style: none;
    font-size: 1.1rem;
}

.mirror-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.left {
    text-align: right;
    opacity: 0.7;
}

.right {
    text-align: left;
}

.right .mirror-list li {
    color: var(--secondary-color);
    font-weight: bold;
}

.mirror-divider {
    width: 2px;
    height: 300px;
    background: var(--border-color);
    position: relative;
}

.cracked-mirror {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 0% 50%, 50% 100%, 100% 50%);
    animation: crack 2s ease-in-out infinite;
}

@keyframes crack {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Dawn Section */
.dawn-breaking {
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
}

.sunrise-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, 
        #ff6b35 0%, 
        #ffa500 25%, 
        #ffff00 50%, 
        rgba(255, 255, 255, 0) 100%);
    opacity: 0.3;
}

.final-thoughts {
    position: relative;
    z-index: 2;
}

.dawn-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transform: rotate(-1deg);
}

.signature {
    margin-top: 3rem;
    font-style: italic;
}

.sign-text {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.sign-author {
    font-size: 1rem;
    opacity: 0.8;
}

/* Zine Footer */
.zine-footer {
    background: var(--surface-color);
    padding: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.footer-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: skew(-5deg);
}

/* Reactions Section */
.reactions-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(244, 233, 240, 0.1);
    border-radius: 15px;
    border: 2px dashed var(--secondary-color);
}

.reactions-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
}

.reaction-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reaction-btn {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reaction-btn:hover {
    background: var(--secondary-color);
    transform: rotate(-5deg) scale(1.1);
    border-color: var(--primary-color);
}

.reaction-btn:active {
    animation: reactionPress 0.2s ease-in-out;
}

.reaction-counts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.reaction-count {
    background: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

@keyframes reactionPress {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.9); }
}

/* Comments Section */
.comments-section {
    background: var(--bg-color);
    padding: 4rem 2rem;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

.comments-list {
    margin-bottom: 4rem;
}

.comment {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.comment:nth-child(even) {
    transform: rotate(-0.5deg);
    margin-left: 2rem;
}

.comment:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--secondary-color);
}

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

.comment-author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.comment-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.6;
}

.comment-content {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
}

/* Comment Form */
.comment-form-container {
    background: rgba(138, 198, 209, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    transform: rotate(-1deg);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.comment-form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: rotate(-1deg);
}

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

.submit-btn {
    background: var(--primary-color);
    color: var(--bg-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    transform: rotate(1deg) scale(1.05);
}

.submit-btn:active {
    animation: submitPress 0.2s ease-in-out;
}

/* Alias for dynamic entry forms */
.form-submit {
    background: var(--primary-color);
    color: var(--bg-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    display: block;
    margin: 0 auto;
}

.form-submit:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    transform: rotate(1deg) scale(1.05);
}

.form-submit:active {
    animation: submitPress 0.2s ease-in-out;
}

@keyframes submitPress {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); }
}

/* View Counter - Enhanced */
.view-counter {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-color);
    z-index: 100;
    transform: rotate(-2deg);
    box-shadow: 4px 4px 0 var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-counter:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0 var(--primary-color);
}

.counter-icon {
    font-size: 1rem;
    animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

.counter-text {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Glitch Effect - for the authentic glitch brand */
.glitch-hover {
    position: relative;
}

.glitch-hover:hover {
    animation: glitchEffect 0.3s ease-in-out;
}

@keyframes glitchEffect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    40% { transform: translate(2px, -2px); filter: hue-rotate(180deg); }
    60% { transform: translate(-1px, 1px); filter: hue-rotate(270deg); }
    80% { transform: translate(1px, -1px); filter: hue-rotate(360deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

/* Scanlines overlay effect */
.scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Enhanced floating collage shapes */
.collage-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.collage-square {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    opacity: 0.8;
}

.collage-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
}

.collage-diamond {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    transform: rotate(45deg);
}

/* Handwritten scribble effect */
.scribble-underline {
    position: relative;
    display: inline-block;
}

.scribble-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    right: -5px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,5 Q25,0 50,5 T100,5' stroke='%23D72638' stroke-width='2' fill='none' opacity='0.6'/%3E%3C/svg%3E") repeat-x;
    background-size: 50px 10px;
}

/* Torn paper edge effect */
.torn-top {
    clip-path: polygon(
        0% 2%, 3% 0%, 6% 2%, 9% 1%, 12% 3%, 15% 0%, 18% 2%, 21% 1%,
        24% 3%, 27% 0%, 30% 2%, 33% 1%, 36% 3%, 39% 0%, 42% 2%, 45% 1%,
        48% 3%, 51% 0%, 54% 2%, 57% 1%, 60% 3%, 63% 0%, 66% 2%, 69% 1%,
        72% 3%, 75% 0%, 78% 2%, 81% 1%, 84% 3%, 87% 0%, 90% 2%, 93% 1%,
        96% 3%, 100% 1%,
        100% 100%, 0% 100%
    );
}

/* Tape strip decoration */
.tape-strip {
    position: absolute;
    width: 100px;
    height: 30px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(200, 200, 200, 0.3);
    z-index: 20;
    pointer-events: none;
}

/* Marker highlight effect */
.marker-highlight {
    background: linear-gradient(
        104deg,
        rgba(255, 224, 102, 0) 0.9%,
        rgba(255, 224, 102, 0.4) 2.4%,
        rgba(255, 224, 102, 0.3) 5.8%,
        rgba(255, 224, 102, 0.2) 93%,
        rgba(255, 224, 102, 0.5) 96%,
        rgba(255, 224, 102, 0) 98%
    );
    padding: 0.1em 0.3em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* ==========================================
   RESPONSIVE DESIGN - Mobile First Approach
   ========================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .zine-scene {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .scene-1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scene-visual {
        height: 300px;
        order: -1;
    }

    .asymmetric,
    .diagonal {
        grid-template-columns: 1fr;
        transform: none;
        gap: 2rem;
    }

    .content-column,
    .visual-column,
    .content-diagonal,
    .visual-diagonal {
        transform: none;
    }

    .visual-column,
    .visual-diagonal {
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .zine-content {
        margin-top: 100px;
    }

    /* Hide floating badge and ambient toggle on zine entry pages to prevent overlap */
    .zine-content ~ .floating-badge,
    .ambient-toggle {
        display: none !important;
    }

    .zine-header {
        padding: 3rem 1.5rem;
    }

    .zine-number {
        font-size: 5rem;
        top: 0.5rem;
        right: 1rem;
        opacity: 0.2;
    }

    .zine-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .title-part-1,
    .title-part-2 {
        margin-left: 0;
        transform: none;
    }

    .zine-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .zine-tags {
        justify-content: center;
    }

    /* Scene layouts */
    .scene-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        transform: none;
    }

    .scene-subtitle {
        font-size: 1.5rem;
    }

    /* Quote blocks */
    .large-quote {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }

    .zine-quote {
        font-size: 1.2rem;
        padding-left: 1.5rem;
    }

    /* Thought bubbles - stack vertically */
    .thought-bubbles {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .thought-bubble {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        max-width: 100%;
    }

    .thought-bubble:nth-child(odd) {
        align-self: flex-start;
        transform: rotate(-2deg);
    }

    .thought-bubble:nth-child(even) {
        align-self: flex-end;
        transform: rotate(2deg);
    }

    /* Chaotic layout - mobile friendly */
    .chaotic-layout {
        min-height: auto;
        padding: 6rem 1rem 3rem;
        flex-direction: column;
    }

    .chaos-element {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        font-size: 1.8rem;
        margin: 0.5rem 0;
        display: inline-block;
    }

    .chaotic-layout::before {
        content: '';
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .chaos-center {
        margin-top: 2rem;
        padding: 1.5rem;
        max-width: 100%;
        box-shadow: 4px 4px 0 var(--primary-color);
    }

    /* Mirror section - stack */
    .mirror-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .mirror-text.left,
    .mirror-text.right {
        text-align: center;
    }

    .mirror-divider {
        width: 80%;
        height: 2px;
        margin: 0 auto;
    }

    .cracked-mirror {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Visual elements scale down */
    .spinning-vinyl {
        width: 80px;
        height: 80px;
    }

    .rotating-square {
        width: 60px;
        height: 60px;
    }

    .glitch-box {
        width: 120px;
        height: 120px;
    }

    /* Vertical text - hide on mobile */
    .vertical-text {
        display: none;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Full width visual section */
    .full-width-visual {
        min-height: 40vh;
    }

    .visual-layers .layer {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    /* Poem layout */
    .poem-block {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .indent-1 {
        margin-left: 1rem;
    }

    .indent-2 {
        margin-left: 2rem;
    }

    /* Comments and reactions */
    .reactions-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .reaction-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .comment-form-container {
        padding: 1.5rem;
        transform: none;
    }

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

/* Mobile portrait */
@media (max-width: 480px) {
    .zine-header {
        padding: 2rem 1rem;
    }

    .zine-title {
        font-size: clamp(3rem, 12vw, 5rem) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .title-part-1,
    .title-part-2 {
        display: block;
        margin-left: 0 !important;
        transform: none !important;
    }

    .zine-number {
        font-size: 4rem;
        position: static;
        opacity: 0.15;
        margin-bottom: -1rem;
        display: block;
        text-align: center;
    }

    .scene-title {
        font-size: 1.6rem;
    }

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

    .zine-text.large {
        font-size: 1.2rem;
    }

    .large-quote {
        font-size: 1.1rem;
    }

    .chaos-element {
        font-size: 1.4rem;
    }

    .chaos-center {
        padding: 1rem;
    }

    .chaos-center .zine-text {
        font-size: 0.95rem;
    }

    /* Stacked chaos words on very small screens */
    .chaotic-layout {
        padding: 3rem 1rem 2rem;
    }

    .elem-1, .elem-2, .elem-3, .elem-4 {
        animation: none;
    }

    /* Comments */
    .comment {
        margin-left: 0 !important;
        transform: none !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* View counter positioning */
    .view-counter {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 10px;
        right: auto;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        transform: none;
        z-index: 100;
    }

    /* Hide floating badge and ambient toggle on zine entry pages to prevent overlap */
    .zine-content ~ .floating-badge,
    .ambient-toggle,
    .reading-progress {
        display: none !important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .zine-title {
        font-size: 1.8rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .scene-title {
        font-size: 1.4rem;
    }

    .poem-line {
        font-size: 1rem;
    }
}
