/* gamelicensor.info - Bauhaus Geometric Energy */

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

body {
    font-family: 'Fira Sans', sans-serif;
    color: #1A1A1A;
    background: #FAF5EE;
    overflow-x: hidden;
}

.section {
    width: 100%;
    position: relative;
}

/* ========== HERO CANVAS ========== */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-diagonal {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 140%;
    height: 140%;
    background: #2B5EA7;
    transform: rotate(15deg);
    transform-origin: top right;
    clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
    opacity: 0;
    animation: floodIn 600ms ease 400ms forwards;
}

@keyframes floodIn {
    to { opacity: 1; }
}

.hero-upper {
    position: absolute;
    top: 30%;
    left: 6%;
    z-index: 2;
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.hero-underline {
    display: block;
    height: 3px;
    background: #C94432;
    width: 0;
    animation: drawUnderline 500ms ease 800ms forwards;
}

@keyframes drawUnderline {
    to { width: 100%; }
}

.hero-tld {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #E8C840;
    margin-top: 0.5rem;
}

.hero-lower {
    position: absolute;
    bottom: 25%;
    right: 8%;
    z-index: 2;
}

.hero-tagline {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #1A1A1A;
    opacity: 0;
    animation: fadeIn 500ms ease 1200ms forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ========== INFO BLOCKS ========== */

.info-section {
    padding: 100px 6%;
    position: relative;
}

.module {
    padding: 24px;
    margin-bottom: -20px;
    position: relative;
    max-width: 600px;
    opacity: 0;
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.module.visible {
    opacity: 1;
}

.module-1 {
    background: #F5E6CC;
    margin-left: 5%;
}

.module-2 {
    background: #2B5EA7;
    color: #FFFFFF;
    margin-left: 15%;
}

.module-2 .module-title,
.module-2 .module-body {
    color: #FFFFFF;
}

.module-3 {
    background: #E8C840;
    margin-left: 8%;
}

.module-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.module-body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #1A1A1A;
}

/* ========== BOTANICAL ACCENT BAND ========== */

.botanical-band {
    width: 100%;
    height: 200px;
    background: #FAF5EE;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.botanical-shape {
    position: absolute;
    transition: transform 300ms ease, filter 300ms ease;
}

.shape-1 {
    width: 80px; height: 120px;
    background: #4A8B5C;
    opacity: 0.5;
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
    left: 5%; top: 20%;
    transform: rotate(10deg);
}

.shape-2 {
    width: 100px; height: 60px;
    background: #E8C840;
    opacity: 0.4;
    clip-path: polygon(0% 50%, 30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%);
    left: 18%; top: 40%;
    transform: rotate(-5deg);
}

.shape-3 {
    width: 60px; height: 140px;
    background: #4A8B5C;
    opacity: 0.35;
    clip-path: polygon(50% 0%, 80% 30%, 70% 100%, 30% 100%, 20% 30%);
    left: 32%; top: 10%;
    transform: rotate(15deg);
}

.shape-4 {
    width: 90px; height: 80px;
    background: #E8C840;
    opacity: 0.5;
    clip-path: polygon(20% 0%, 80% 0%, 100% 60%, 50% 100%, 0% 60%);
    left: 45%; top: 35%;
    transform: rotate(-10deg);
}

.shape-5 {
    width: 70px; height: 130px;
    background: #4A8B5C;
    opacity: 0.45;
    clip-path: polygon(50% 0%, 90% 25%, 80% 100%, 20% 100%, 10% 25%);
    left: 58%; top: 5%;
    transform: rotate(20deg);
}

.shape-6 {
    width: 110px; height: 70px;
    background: #4A8B5C;
    opacity: 0.3;
    clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    left: 72%; top: 45%;
    transform: rotate(5deg);
}

.shape-7 {
    width: 65px; height: 100px;
    background: #E8C840;
    opacity: 0.4;
    clip-path: polygon(50% 0%, 100% 35%, 85% 100%, 15% 100%, 0% 35%);
    left: 85%; top: 15%;
    transform: rotate(-15deg);
}

.shape-8 {
    width: 80px; height: 90px;
    background: #4A8B5C;
    opacity: 0.5;
    clip-path: polygon(50% 0%, 95% 40%, 75% 100%, 25% 100%, 5% 40%);
    left: 92%; top: 40%;
    transform: rotate(8deg);
}

.botanical-band:hover .botanical-shape {
    transform: scale(1.1);
    filter: hue-rotate(15deg);
}

/* ========== MONDRIAN DATA GRID ========== */

.data-section {
    padding: 100px 6%;
    background: #FAF5EE;
    min-height: auto;
}

.data-heading {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: #1A1A1A;
    margin-bottom: 2rem;
}

.mondrian-grid {
    display: grid;
    grid-template-columns: repeat(4, 120px);
    grid-auto-rows: 120px;
    gap: 4px;
    max-width: 500px;
}

.mondrian-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 300ms ease;
}

.mondrian-cell.visible {
    transform: scale(1);
}

.cell-blue { background: #2B5EA7; color: #FFFFFF; }
.cell-red { background: #C94432; color: #FFFFFF; }
.cell-yellow { background: #E8C840; color: #1A1A1A; }
.cell-cream { background: #F5E6CC; color: #1A1A1A; }

.cell-wide { grid-column: span 2; }
.cell-tall { grid-row: span 2; }

.cell-number {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    display: block;
}

.cell-label {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.8;
    text-align: center;
    margin-top: 0.25rem;
}

/* ========== FOOTER ========== */

.footer {
    background: #1A1A1A;
    padding: 60px 6%;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 3rem);
    color: #FFFFFF;
    text-transform: uppercase;
}

.footer-shapes {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #C94432;
}

.footer-rect {
    width: 60px;
    height: 30px;
    background: #E8C840;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .module {
        margin-left: 0 !important;
        max-width: 100%;
        transform: rotate(0deg) !important;
    }

    .mondrian-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
