/**
 * Filename: layout.css
 * Author: Amey Thakur
 * GitHub: https://github.com/Amey-Thakur
 * Repository: https://github.com/Amey-Thakur/CLAUDE-SPINNER-WORDS
 * Release Date: 2026-03-26
 * License: MIT
 *
 * Tech Stack: CSS3 Flexbox/Grid
 *
 * Description: 
 * Branded layout architecture and viewport positioning for the simulator workspace.
 */

.no-wrap {
    white-space: nowrap;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    z-index: 10;
    width: 100%;
    max-width: 950px;
}

.header-branding {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: flex-start;
    margin-bottom: 1.5vh;
}

@media (max-width: 768px) {
    .header-branding {
        flex-direction: column;
        text-align: center;
        gap: 15px; /* Unified gap for tablets */
        justify-content: center;
        margin-bottom: 3vh;
        margin-top: 2vh; /* Top clearance */
    }
}

@media (max-width: 480px) {
    .header-branding {
        gap: 12px; /* Tighter integration for mobile */
    }
}

.branding-logo {
    width: clamp(50px, 9vh, 110px); /* Lowered minimum for mobile balance */
    height: clamp(50px, 9vh, 110px);
    flex-shrink: 0;
}
.branding-logo svg path { fill: var(--accent-color); }

.title-group { text-align: left; }

@media (max-width: 768px) {
    .title-group { 
        text-align: center; 
        width: 100%;
    }
}

.repo-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(44px, 7.5vh, 88px); /* Lowered from 92px */
    font-weight: 700;
    margin: 0;
    letter-spacing: 1.4px; /* Lowered from 2.5px to match accurately */
    color: var(--text-primary);
    line-height: 0.9;
    text-transform: none;
    display: block;
    width: 100%; 
}

@media (max-width: 480px) {
    .repo-title {
        font-size: clamp(32px, 5vh, 48px); 
        letter-spacing: 0.2px;
        line-height: 1.1; 
    }
}

.repo-title span { font-weight: 300; color: var(--accent-color); opacity: 0.95; }

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(12px, 1.5vh, 18px);
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--text-secondary);
    margin: 12px 0 0 0;
    opacity: 0.8;
    white-space: nowrap; /* Prevent wrap on mobile */
    overflow: hidden;
}

@media (max-width: 480px) {
    .tagline {
        font-size: 10px; /* Smaller font on mobile to fit 1 line */
        letter-spacing: 2.2px; /* Tighter tracking to fit 1 line */
        width: 100%;
        text-align: center;
    }
}

footer {
    margin-top: 4vh;
    text-align: center;
    font-size: clamp(14px, 1.8vh, 18px); /* Slightly refined mobile footer size */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    line-height: 1.6;
}

@media (max-width: 480px) {
    footer p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}
