@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@600&family=Work+Sans:wght@400&family=Noto+Sans:wght@400&display=swap');

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

:root {
    --red: #E63946;
    --black: #1A1A1A;
    --white: #F5F0E8;
    --yellow: #FFD166;
    --blue: #2D6FCC;
    --orange: #F77F00;
    --gray: #ABABAB;
    --teal: #1B998B;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ============================================
   BACKGROUND GEOMETRIC SHAPES
   ============================================ */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    pointer-events: auto;
    cursor: default;
}

.bg-circle-yellow {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--yellow);
    top: 28%;
    right: -40px;
}

.bg-wedge-red {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--red);
    bottom: 18%;
    left: -60px;
    transform: rotate(15deg);
}

.bg-rect-blue {
    width: 180px;
    height: 120px;
    background: var(--blue);
    top: 58%;
    right: 8%;
    transform: rotate(12deg);
}

.bg-circle-orange {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--orange);
    bottom: 8%;
    right: 30%;
    opacity: 0.7;
}

.bg-shape.shaking {
    animation: shapeShake 0.2s ease;
}

@keyframes shapeShake {
    0%, 100% { translate: 0 0; }
    25% { translate: 3px -3px; }
    75% { translate: -3px 3px; }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.red-wedge {
    position: absolute;
    bottom: -80px;
    left: -120px;
    width: 0;
    height: 0;
    border-left: 280px solid transparent;
    border-right: 280px solid transparent;
    border-bottom: 550px solid var(--red);
    transform: rotate(-30deg) scale(0.5);
    opacity: 0;
    z-index: 0;
    transition: transform 0.6s ease-out, opacity 0.4s ease;
}

.red-wedge.visible {
    opacity: 1;
    transform: rotate(-7deg) scale(1);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.03em;
    color: var(--black);
    z-index: 2;
    transform: rotate(-7deg) translateY(-100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), opacity 0.2s ease;
}

.hero-title.visible {
    opacity: 1;
    transform: rotate(-7deg) translateY(0);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--black);
    z-index: 2;
    writing-mode: vertical-rl;
    position: absolute;
    right: 10%;
    top: 28%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero-subtitle.visible {
    opacity: 1;
}

/* ============================================
   LANGUAGE STRIPS
   ============================================ */
.language-strip {
    overflow: hidden;
    background: var(--black);
    padding: 14px 0;
    position: relative;
    z-index: 5;
}

.strip-alt {
    background: var(--red);
}

.strip-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: stripScroll 35s linear infinite;
    width: max-content;
}

.strip-reverse {
    animation-direction: reverse;
}

@keyframes stripScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.strip-word {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

/* ============================================
   CONTENT STACKS
   ============================================ */
.content-stack {
    padding: 80px 8%;
    position: relative;
    z-index: 2;
}

.content-block {
    background: var(--white);
    padding: 40px 48px;
    margin-bottom: 24px;
    max-width: 650px;
    position: relative;
    box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.content-block.visible {
    opacity: 1;
}

.block-left {
    margin-left: 5%;
}

.block-right {
    margin-left: 30%;
}

.block-center {
    margin-left: 15%;
}

.block-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.block-body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================
   ROTATED LABELS
   ============================================ */
.rotated-label {
    display: inline-block;
    margin-bottom: 16px;
}

.label-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 4px solid var(--red);
    padding-bottom: 4px;
}

/* ============================================
   TOWER SECTION
   ============================================ */
.tower-section {
    padding: 80px 8%;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.tower {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.tower-block {
    padding: 16px 24px;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.tower-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.tower-adjacent {
    flex: 1;
    margin-left: 0;
}

/* ============================================
   FOOTER RUBBLE
   ============================================ */
#footer-rubble {
    padding: 120px 8% 80px;
    position: relative;
    z-index: 2;
}

.rubble-field {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.rubble-block {
    width: 80px;
    height: 60px;
    opacity: 0.75;
}

.rubble-block.rb-small {
    width: 50px;
    height: 35px;
}

.footer-text-block {
    text-align: center;
    margin-top: 48px;
}

.footer-domain {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    color: var(--gray);
}

/* ============================================
   LINK STYLES
   ============================================ */
a {
    color: var(--blue);
    text-decoration: none;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--blue);
    transition: width 0.2s ease;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: var(--orange);
}

a:hover::after {
    background: var(--orange);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .tower-section {
        flex-direction: column;
    }
    .content-block {
        max-width: 100%;
        padding: 28px 32px;
    }
    .block-left,
    .block-right,
    .block-center {
        margin-left: 0;
    }
    .hero-subtitle {
        writing-mode: horizontal-tb;
        position: static;
        margin-top: 16px;
    }
    .bg-shapes {
        display: none;
    }
    .content-stack {
        padding: 60px 5%;
    }
    .tower-section {
        padding: 60px 5%;
    }
}
