/* Design Variables */
:root {
    --paper-white: #f4f1ea; 
    --ink-black: #1a1a1a;
    --accent-red: #bc0000;
    --newsprint-gray: #dcdcdc;
}

/* General Section Setup */
.zine-section {
    background-color: var(--newsprint-gray);
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); 
    padding: 60px 20px;
    font-family: 'Special Elite', Courier, monospace;
    color: var(--ink-black);
}

/* The "Canvas" */
.zine-canvas {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Headline style */
.zine-header {
    font-family: 'Rubik Mono One', sans-serif;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 0.9;
    background: var(--ink-black);
    color: var(--paper-white);
    display: inline-block;
    padding: 10px 20px;
    transform: rotate(-2deg);
    box-shadow: 8px 8px 0px var(--accent-red);
    margin-bottom: 50px;
}

/* Layout Grid */
.zine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

/* Base "Scrap" Style */
.scrap {
    background: var(--paper-white);
    border: 1px solid #bbb;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
    padding: 20px;
    position: relative;
    transition: all 0.2s ease;
}

/* Hover effect */
.scrap:hover {
    transform: scale(1.04) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 6px 6px 20px rgba(0,0,0,0.2);
}

/* Layout Modifiers */
.wide-card {
    grid-column: span 2;
}

.grey-paper {
    background: #e0e0e0;
    border: 1px solid #999;
}

/* Specific tilts for the collage effect */
.tilt-left  { transform: rotate(-1.5deg); }
.tilt-right { transform: rotate(1.8deg); }
.tilt-heavy { transform: rotate(-3deg); }

/* Typography */
h3 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0;
    border-bottom: 3px solid var(--ink-black);
    display: inline-block;
    margin-bottom: 15px;
}

.big-text {
    font-size: 1.2rem; 
    line-height: 1.5;
}

.accent-text {
    color: var(--accent-red);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
}

/* Red Marker Stamp */
.stamp {
    position: absolute;
    top: -12px;
    right: -10px;
    border: 4px solid var(--accent-red);
    color: var(--accent-red);
    font-family: 'Rubik Mono One', sans-serif;
    padding: 4px 8px;
    text-transform: uppercase;
    transform: rotate(12deg);
    opacity: 0.8;
    font-size: 0.7rem;
    background: var(--paper-white);
}

/* Footer */
.zine-footer {
    margin-top: 60px;
    text-align: center;
    border-top: 2px dashed var(--ink-black);
    padding: 20px 0;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.zine-link {
    color: var(--ink-black); /* Keep it black or use var(--accent-red) */
    text-decoration: none; 
    border-bottom: 2px solid var(--ink-black); /* A rough underline instead of a default one */
    transition: all 0.2s ease;
}

.zine-link:hover {
    background-color: var(--accent-red);
    color: white;
    border-bottom: 2px solid var(--accent-red);
}


/* Mobile Responsiveness */
@media (max-width: 900px) {
    .zine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .zine-grid {
        grid-template-columns: 1fr;
    }
    .wide-card {
        grid-column: span 1;
    }
    .zine-header {
        font-size: 2rem;
    }
}

