/* moot.ing - Neubrutalism Raw Edges Graffiti Debate */
/* Colors: #9D4EDD, #2D2D2D, #FFD60A, #1A1A1A, #FFFBEB, #E85D04, #FFE5B4 */

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

body {
    width: 100%;
    min-height: 100vh;
    background: #FFFBEB;
    color: #1A1A1A;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Watermarks */
#bg-watermarks {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.watermark {
    position: absolute;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 200px;
    color: #FFE5B4;
    opacity: 0.5;
    user-select: none;
}

.wm-1 { top: 5%; left: 10%; transform: rotate(-15deg); }
.wm-2 { top: 30%; right: 5%; transform: rotate(10deg); }
.wm-3 { bottom: 20%; left: 5%; transform: rotate(20deg); }
.wm-4 { bottom: 5%; right: 15%; transform: rotate(-8deg); }

/* Hero Section */
#hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    z-index: 1;
    overflow: hidden;
}

/* Hero Title */
#hero-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 96px;
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

.title-moot {
    color: #1A1A1A;
}

.title-dot {
    color: #E85D04;
}

.title-ing {
    color: #9D4EDD;
}

/* Debate Blocks */
.debate-block {
    position: absolute;
    background: #FFFBEB;
    border: 3px solid #1A1A1A;
    padding: 20px 24px;
    box-shadow: 6px 6px 0 #1A1A1A;
    max-width: 280px;
    z-index: 5;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.debate-block.entered {
    opacity: 1;
}

.debate-block p {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #1A1A1A;
}

.db-1 { top: 10%; left: 8%; transform: translateX(-300px) rotate(-2deg); }
.db-1.entered { transform: translateX(0) rotate(-2deg); }

.db-2 { top: 8%; right: 8%; transform: translateX(300px) rotate(1.5deg); }
.db-2.entered { transform: translateX(0) rotate(1.5deg); }

.db-3 { bottom: 15%; left: 50%; transform: translate(-50%, 300px) rotate(0.5deg); }
.db-3.entered { transform: translate(-50%, 0) rotate(0.5deg); }

.db-4 { bottom: 30%; left: 5%; transform: translateX(-300px) rotate(-1deg); }
.db-4.entered { transform: translateX(0) rotate(-1deg); }

.db-5 { bottom: 25%; right: 6%; transform: translateX(300px) rotate(2deg); }
.db-5.entered { transform: translateX(0) rotate(2deg); }

/* Debate Tags */
.debate-tag {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-contested { background: #FFD60A; color: #1A1A1A; }
.tag-refuted { background: #E85D04; color: #FFFBEB; }
.tag-upheld { background: #9D4EDD; color: #FFFBEB; }
.tag-pending { background: #2D2D2D; color: #FFFBEB; }

/* Doodles */
.doodle {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.doodle-arrow {
    width: 120px;
    top: 45%;
    left: 30%;
    transform: rotate(-10deg);
}

.doodle-circle {
    width: 70px;
    top: 20%;
    right: 25%;
}

.doodle-underline {
    width: 150px;
    bottom: 12%;
    left: 40%;
}

/* Argument Cards Section */
#arguments {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.argument-card {
    background: #FFFBEB;
    border: 3px solid #1A1A1A;
    box-shadow: 8px 8px 0 #1A1A1A;
    padding: 32px 36px;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.argument-card.visible {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-number {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 48px;
    color: #FFE5B4;
    line-height: 1;
}

.caveat-tag {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 16px;
    color: #E85D04;
}

.card-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 28px;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.2;
    background-image: linear-gradient(transparent 60%, #FFD60A 60%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.6s ease;
    display: inline;
}

.argument-card.visible .card-title {
    background-size: 100% 100%;
}

.card-body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: #2D2D2D;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 12px;
}

.card-vote {
    display: flex;
    justify-content: space-between;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.vote-for { color: #9D4EDD; }
.vote-against { color: #E85D04; }

.vote-bar {
    width: 100%;
    height: 8px;
    background: #FFE5B4;
    border: 2px solid #1A1A1A;
    overflow: hidden;
}

.vote-fill {
    height: 100%;
    background: #9D4EDD;
    transition: width 1s ease;
}

/* Alternating card offsets */
.ac-1 { margin-left: 0; }
.ac-2 { margin-left: 60px; }
.ac-3 { margin-left: 20px; }
.ac-4 { margin-left: 80px; }
.ac-5 { margin-left: 10px; }

/* Footer */
#site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 40px;
    border-top: 3px solid #1A1A1A;
}

.footer-text {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.footer-note {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    #hero-title {
        font-size: 52px;
    }

    .debate-block {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 12px auto;
        max-width: 100%;
    }

    .db-1, .db-2, .db-3, .db-4, .db-5 {
        transform: none;
    }
    .db-1.entered, .db-2.entered, .db-3.entered, .db-4.entered, .db-5.entered {
        transform: none;
    }

    #hero {
        flex-direction: column;
        align-items: stretch;
    }

    .ac-1, .ac-2, .ac-3, .ac-4, .ac-5 {
        margin-left: 0;
    }

    .doodle { display: none; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFFBEB;
}

::-webkit-scrollbar-thumb {
    background: #1A1A1A;
    border: 2px solid #FFFBEB;
}
