@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Mono:wght@400;500;600;700;800;900&display=swap');

:root {
    --pink: #FF0099;
    --magenta: #CC00FF;
    --purple: #9933FF;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #666666;
    --light-green: #CCFF00;
    --bright-green: #B8FF00;
    --red: #FF0033;
}

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

body {
    font-family: 'Red Hat Mono', monospace;
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Top menu bar */
._sobremenu_f0aq5_8 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    display: flex;
    z-index: 1000;
    background-color: var(--black);
}

._barrasup_f0aq5_16 {
    flex: 1;
    position: relative;
    height: 100%;
}

._barrasup_f0aq5_16:nth-child(1) ._espaciointerno_f0aq5_28 {
    background-color: var(--pink);
    width: 100%;
    height: 100%;
}

._barrasup_f0aq5_16:nth-child(2) ._espaciointerno_f0aq5_28 {
    background-color: var(--magenta);
    width: 100%;
    height: 100%;
}

._barrasup_f0aq5_16:nth-child(3) ._espaciointerno_f0aq5_28 {
    background-color: var(--black);
    width: 100%;
    height: 100%;
}

._espaciointerno_f0aq5_28 {
    width: 100%;
    height: 100%;
}

/* PHACKER·25 logo top left */
.top-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    z-index: 999;
    letter-spacing: 0.05em;
}

/* Language selector top right */
.lang-selector-top {
    position: fixed;
    top: 15px;
    right: 30px;
    display: flex;
    gap: 0.5rem;
    z-index: 999;
}

.lang-btn {
    background-color: var(--red);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    background-color: var(--red);
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem 2rem;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

/* Grid layout - text on left, image on right */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.text-section {
    text-align: left;
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Much bigger title */
.title {
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    color: var(--white);
    text-transform: uppercase;
}

/* Dog on the right side */
.robot-dog {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
}

.status-container {
    margin-top: 3rem;
}

.status-text {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.status-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Spinner - much slower */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    margin: 2rem 0;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer - horizontal layout with different sections */
._root_ad7og_1 {
    display: flex;
    width: 100%;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

/* Red rectangle button */
._rect_ad7og_41 {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

._redRect_ad7og_47.bgRed {
    width: 60px;
    background-color: var(--red);
    border: none;
    cursor: pointer;
}

/* Japanese text section with pink lines background */
._jp_ad7og_51.bgGrey800.bgPinkLines {
    width: 200px;
    background-color: #1a1a1a;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--pink) 2px,
        var(--pink) 3px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Static links section - black background, white text */
._links_ad7og_12 {
    flex-shrink: 0;
    display: flex;
    gap: 0;
    background-color: var(--black);
}

._link_ad7og_12 {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

._link_ad7og_12:hover {
    opacity: 0.7;
}

.text-eyebrow {
    font-size: 0.85rem;
}

.text-uppercase {
    text-transform: uppercase;
}

/* Scrolling date/location info - green background with lines */
._info_ad7og_31 {
    flex: 1;
    height: 60px;
    overflow: hidden;
    position: relative;
}

.bgGrey200.bgGreenLines {
    background-color: #e0e0e0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--light-green) 2px,
        var(--light-green) 3px
    );
}

/* Marquee animation */
.rfm-marquee-container {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.rfm-marquee {
    display: flex;
    min-width: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.rfm-initial-child-container {
    display: flex;
}

.rfm-child {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.05em;
}

.rfm-child span {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-section {
        text-align: center;
    }
    
    .status-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .title {
        font-size: clamp(4rem, 12vw, 8rem);
    }
    
    .robot-dog {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 4rem 1.5rem 1rem;
    }
    
    .top-logo {
        font-size: 1rem;
        left: 20px;
        top: 15px;
    }
    
    .lang-selector-top {
        right: 20px;
        top: 12px;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .title {
        margin-bottom: 2rem;
        font-size: 3.5rem;
    }
    
    .robot-dog {
        max-width: 280px;
    }
    
    .status-container {
        margin-top: 2rem;
    }
    
    /* Footer responsive */
    ._root_ad7og_1 {
        flex-wrap: wrap;
    }
    
    ._redRect_ad7og_47.bgRed {
        width: 40px;
        height: 40px;
    }
    
    ._jp_ad7og_51 {
        width: 150px;
        font-size: 1rem;
    }
    
    ._links_ad7og_12 {
        width: 100%;
        order: 3;
    }
    
    ._link_ad7og_12 {
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
        flex: 1;
        justify-content: center;
    }
    
    ._info_ad7og_31 {
        width: calc(100% - 190px);
        order: 2;
    }
    
    .rfm-child {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.8rem;
    }
    
    .robot-dog {
        max-width: 220px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    /* Footer responsive for small screens */
    ._jp_ad7og_51 {
        width: 120px;
        font-size: 0.9rem;
    }
    
    ._link_ad7og_12 {
        font-size: 0.7rem;
        padding: 0.8rem 1rem;
    }
    
    .rfm-child {
        font-size: 0.75rem;
    }
}
