/* ============================================
   LARBSOFT RETRO 80s/90s ARCADE STYLESHEET
   Matching the bold arcade aesthetic of the logo
   ============================================ */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    background: #1a1a1a;
    background-attachment: fixed;
    color: #f5f5dc;
    height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Subtle texture - lightweight */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

/* Header */
.header {
    text-align: center;
    background: transparent;
    padding: 1rem;
    border: none;
    position: relative;
}

.logo {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    image-rendering: crisp-edges;
}

.tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f4b844;
    margin: 1rem 0 0 0;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 0 #0d1b2a,
        3px 3px 6px rgba(0, 0, 0, 0.6);
}

/* Retro stripe divider */
.retro-stripe {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, 
        #f4b844 0%, 
        #ff8c42 50%, 
        #e84a3f 100%);
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    text-align: center;
    background: rgba(26, 26, 26, 0.98);
    z-index: 100;
    border-top: 3px solid #f4b844;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.5);
}

.footer p {
    font-size: 0.7rem;
    color: #f5f5dc;
    margin: 0 0 0.75rem 0;
    text-shadow: 1px 1px 2px #000;
    font-weight: 400;
}

.footer a {
    color: #ff8c42;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 2px 6px;
    font-weight: 500;
}

.footer a:hover {
    color: #f4b844;
    text-decoration: underline;
}

/* Footer badges container */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid rgba(244, 184, 68, 0.3);
}

.footer-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-badge:hover {
    transform: translateY(-3px);
}

.footer-badge img {
    display: block;
    height: 28px;
    width: auto;
    image-rendering: crisp-edges;
}

/* Visitor Counter - now in footer */
.visitor-counter {
    display: inline-block;
    text-align: center;
}

.counter-label {
    font-size: 0.65rem;
    color: #f4b844;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px #000;
}

.counter-display {
    display: inline-block;
    background: #0d1b2a;
    border: 3px solid #f4b844;
    padding: 0.4rem 0.8rem;
    box-shadow: 
        0 0 0 1px #1a3a5c,
        0 3px 0 0 #000,
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.counter-digits {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: bold;
    color: #ff8c42;
    text-shadow: 0 0 8px rgba(255, 140, 66, 0.6);
    letter-spacing: 0.2em;
}

/* Content pages styling */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 250px;
    background: rgba(45, 90, 140, 0.15);
    border: 3px solid #f4b844;
    border-radius: 0;
    box-shadow: 
        0 0 0 2px #1a3a5c,
        0 6px 0 0 #0d1b2a,
        0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Content pages need different body behavior */
body.content-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

.back-button {
    display: inline-block;
    color: #f4b844;
    background: #1a3a5c;
    text-decoration: none;
    margin-bottom: 2rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 3px solid #f4b844;
    border-radius: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 
        0 4px 0 0 #0d1b2a,
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.back-button:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 0 #0d1b2a,
        0 2px 4px rgba(0, 0, 0, 0.4);
    background: #2d5a8c;
    color: #ffffff;
}

.back-button:active {
    transform: translateY(4px);
    box-shadow: none;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f4b844;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 0 #0d1b2a,
        4px 4px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    border-bottom: 4px solid #ff8c42;
    padding-bottom: 1rem;
}

.privacy-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #ff8c42;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 0 #0d1b2a,
        3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.03em;
}

.privacy-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #f4b844;
    text-shadow: 1px 1px 3px #000;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #f5f5dc;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.privacy-content ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
    color: #f5f5dc;
}

.privacy-content li {
    margin-bottom: 0.7rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.privacy-content li::marker {
    color: #ff8c42;
}

.privacy-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #f4b844 20%,
        #ff8c42 50%,
        #f4b844 80%,
        transparent 100%);
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.privacy-content a {
    color: #00d4ff;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.2s ease;
}

.privacy-content a:hover {
    color: #f4b844;
}

.about-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f4b844;
    margin-top: 2rem;
    letter-spacing: 0.05em;
    text-transform: none;
    text-shadow: 
        2px 2px 0 #0d1b2a,
        3px 3px 6px rgba(0, 0, 0, 0.6);
}

/* Retro badges - legacy style, kept for content pages */
.retro-badge {
    display: inline-block;
    background: #1a3a5c;
    border: 2px solid #f4b844;
    padding: 0.5rem 1rem;
    margin: 1rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f4b844;
    box-shadow: 
        0 3px 0 0 #0d1b2a,
        0 3px 6px rgba(0, 0, 0, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 1.5rem;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .privacy-content {
        padding: 1.5rem;
        margin-bottom: 200px;
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content h3 {
        font-size: 1.2rem;
    }
    
    .counter-digits {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
    
    .footer p {
        font-size: 0.7rem;
    }
    
    .footer {
        padding: 1rem 0.5rem;
    }
    
    .footer-badges {
        gap: 0.5rem;
    }
    
    .footer-badge {
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
    }
    
    .footer-badge img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-y: auto;
    }
    
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 1rem;
        border-width: 2px;
    }
    
    .header::before,
    .header::after {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.05em;
    }
    
    .privacy-content {
        padding: 1rem;
        border-width: 2px;
        margin-bottom: 180px;
    }
    
    .privacy-content h1 {
        font-size: 1.6rem;
    }
    
    .privacy-content h2 {
        font-size: 1.3rem;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem;
    }
    
    .counter-digits {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }
    
    .counter-display {
        padding: 0.35rem 0.6rem;
    }
    
    .back-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 0.75rem 0.5rem;
    }
    
    .footer p {
        font-size: 0.65rem;
    }
    
    .footer-badges {
        gap: 0.4rem;
    }
    
    .footer-badge {
        font-size: 0.55rem;
        padding: 0.3rem 0.5rem;
    }
    
    .footer-badge img {
        height: 20px;
    }
}

/* Banner ads */
.banner-ad {
    text-align: center;
    padding: 0.5rem 1rem;
    max-width: 100%;
    flex-shrink: 0;
}

.banner-ad img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    image-rendering: crisp-edges;
    border: 3px solid #f4b844;
    box-shadow: 
        0 0 0 2px #0d1b2a,
        0 4px 0 0 #0d1b2a,
        0 4px 12px rgba(0, 0, 0, 0.5);
}

.banner-ad-top {
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.banner-ad-bottom {
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
