/* =========================================
   BOSS RYAN - GLOBAL STYLES (SWISS MODERNIST)
   ========================================= */

/* 1. Fonts & Imports - Moved to HTML for parallel loading */

/* 2. Global Variables */
:root {
    /* Swiss Modernist Color Palette */
    --color-bg: #0a0c0e;
    --color-surface: #121417;
    --color-text: #ffffff;
    --color-accent: #ff3e00;
    --color-border: #222222;
    --color-border-muted: #1a1a1a;
    --color-muted: #888888;

    /* Typography System */
    --font-main: 'Pretendard Variable', 'Pretendard', 'Inter', -apple-system, sans-serif;
    --letter-spacing-tight: -0.05em;
    --letter-spacing-wide: 0.15em;

    /* Animation & Transitions */
    --transition-speed: 0.4s;
    --ease-swiss: cubic-bezier(0.23, 1, 0.32, 1);
}

/* 3. Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #000000;
}

body {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
    user-select: none;
    border-left: 1px solid var(--color-border-muted);
    border-right: 1px solid var(--color-border-muted);
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
    position: relative;
    overflow-x: hidden;
}

/* 4. Common Components */

/* Home Button */
.home-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4vh;
    margin-bottom: 4vh;
    padding: 0 24px;
}

.home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-bg);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 12px 32px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s var(--ease-swiss);
    min-height: 44px;
}

.home-button:hover, .home-button:active {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: scale(0.98);
}

.home-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* Accessibility */
.app-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
