/* ============================================
   🌍 GLOBAL STYLES - Mobile First Base
   ============================================ */

/* CSS Reset - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: bold;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

a {
    color: #00ff88;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00cc66;
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

/* Form Feed Effect */
.form-feed {
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.3) 2px,
        rgba(0, 255, 136, 0.3) 4px
    );
    margin: 0.5rem 0;
}

.printout-header {
    color: #00ff88;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.printout-line {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    margin: 0.3rem 0;
    word-break: break-word;
}

.printout-line.error {
    color: #ff4757;
}

.printout-line.warning {
    color: #ff9500;
}

.printout-line.success {
    color: #00ff88;
}

.printout-line.breakthrough {
    color: #ffff00;
}

.printout-line.online {
    color: #00ff88;
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }

    .printout-line {
        font-size: 0.85rem;
        word-break: normal;
    }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }

    .printout-line {
        font-size: 0.9rem;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}
