/* 4CLIFF.COM - STYLING WITH MAXIMUM RETRO ENERGY */

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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 50%, #000000 100%);
    background-attachment: fixed;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid #000;
    animation: headerPulse 0.5s ease-in-out;
}

@keyframes headerPulse {
    0% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* FORKLIFT PARADE */
.forklift-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.forklift {
    position: fixed;
    font-size: 48px;
    opacity: 0.7;
    animation: driftAcross linear infinite;
}

.forklift-1 {
    top: 15%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.forklift-2 {
    top: 35%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.forklift-3 {
    top: 55%;
    animation-duration: 22s;
    animation-delay: 5s;
}

.forklift-4 {
    top: 75%;
    animation-duration: 28s;
    animation-delay: 1s;
}

.forklift-5 {
    top: 85%;
    animation-duration: 24s;
    animation-delay: 8s;
}

@keyframes driftAcross {
    0% {
        right: -60px;
        opacity: 0.5;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        right: 100vw;
        opacity: 0.5;
    }
}

.main-title {
    font-size: 72px;
    font-weight: 900;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    margin-bottom: 10px;
    transform: rotate(-2deg);
    color: #000;
    text-transform: uppercase;
}

.subtitle {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.dramatic-text {
    font-size: 18px;
    font-style: italic;
    color: #333;
}

/* SECTIONS */
.section {
    padding: 60px 20px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #000;
    border-radius: 10px;
    box-shadow:
        5px 5px 0px rgba(0, 0, 0, 0.2),
        10px 10px 0px rgba(255, 215, 0, 0.2);
    margin-left: 20px;
    margin-right: 20px;
}

.section h2 {
    font-size: 48px;
    color: #000;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0px rgba(255, 215, 0, 0.5);
    transform: rotate(-1deg);
}

.section h3 {
    font-size: 28px;
    color: #FF8C00;
    margin: 20px 0 10px 0;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

/* SECTION VARIATIONS */
.section-incident {
    background: linear-gradient(135deg, #FFE4E1, #FFF);
    border-color: #FF6347;
}

.section-definitions {
    background: linear-gradient(135deg, #E0FFFF, #FFF);
    border-color: #20B2AA;
}

.section-science {
    background: linear-gradient(135deg, #F0E68C, #FFF);
    border-color: #DAA520;
}

.section-timeline {
    background: linear-gradient(135deg, #DDA0DD, #FFF);
    border-color: #9932CC;
}

.section-merch {
    background: linear-gradient(135deg, #FFB6C1, #FFF);
    border-color: #FF1493;
}

.section-cta {
    background: linear-gradient(135deg, #90EE90, #FFF);
    border-color: #228B22;
}

/* CONTENT BOXES */
.content-box {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed #FF8C00;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.incident-box {
    border-color: #FF6347;
    border-style: solid;
    border-width: 3px;
}

.highlight {
    background-color: #FFD700;
    font-weight: bold;
    padding: 2px 4px;
    text-decoration: underline;
}

.error-quote {
    background: #000;
    color: #0F0;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #0F0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    box-shadow: 0 0 10px rgba(15, 255, 0, 0.3);
}

.error-quote strong {
    color: #0F0;
}

.code-block {
    display: block;
    background: #1a1a1a;
    color: #0F0;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    border-left: 4px solid #0F0;
    overflow-x: auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* DEFINITIONS GRID */
.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.definition-card {
    background: linear-gradient(135deg, #FFE4E1, #FFF);
    border: 2px solid #FF8C00;
    padding: 20px;
    border-radius: 8px;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.definition-card:hover {
    transform: rotate(1deg) scale(1.05);
}

.definition-card h3 {
    color: #FF8C00;
    margin-bottom: 10px;
}

.definition-card p {
    color: #333;
}

.small-text {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* TIMELINE */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-event {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 5px solid #FF8C00;
    background: rgba(255, 140, 0, 0.1);
    position: relative;
}

.timeline-date {
    font-weight: bold;
    color: #FF8C00;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.timeline-event p {
    color: #333;
}

/* MERCH GRID */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.merch-item {
    background: linear-gradient(135deg, #FFE4E1, #FFF);
    border: 3px solid #FF1493;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transform: rotate(2deg);
    box-shadow: 5px 5px 0px rgba(255, 20, 147, 0.3);
    transition: all 0.3s;
}

.merch-item:hover {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 8px 8px 0px rgba(255, 20, 147, 0.4);
}

.merch-placeholder {
    font-size: 80px;
    margin: 20px 0;
}

.merch-item h3 {
    color: #FF1493;
    font-size: 24px;
}

.price {
    font-weight: bold;
    color: #FF8C00;
    font-size: 18px;
    margin-top: 10px;
}

.merch-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 30px;
}

/* CTA SECTION */
.section-cta {
    text-align: center;
}

.cta-text {
    font-size: 20px;
    margin: 20px 0;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.share-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: 3px solid #000;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    transition: all 0.3s;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.share-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.3);
}

.share-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
.footer {
    background: #000;
    color: #FFD700;
    text-align: center;
    padding: 40px 20px;
    border-top: 5px solid #FFD700;
    margin-top: 40px;
}

.footer p {
    margin: 10px 0;
}

.footer-subtitle {
    font-size: 18px;
    font-style: italic;
}

.footer-note {
    font-size: 12px;
    color: #FF8C00;
}

/* DAYS COUNTER */
#days-counter {
    background: #FFD700;
    color: #000;
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 24px;
    }

    .section h2 {
        font-size: 32px;
    }

    .section {
        margin-left: 10px;
        margin-right: 10px;
    }

    .definitions-grid,
    .merch-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }
}

/* ANIMATIONS */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

.blink {
    animation: blink 1s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}
