/* Barq Media Website Styles - Retro Theme */

/* Import Retro Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Passion+One:wght@400;700;900&family=Righteous&family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

/* Color Palette from Logo */
:root {
    --retro-red: #D63C2F;
    --retro-orange: #F5A623;
    --retro-teal: #2B4C53;
    --retro-cream: #F5E6D3;
    --retro-light: #FFF8F0;
    --retro-dark: #1A2F35;
    --retro-text: #2B2B2B;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animation utility classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-fill-mode: both;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 0.6s ease-out forwards;
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--retro-text);
    background-color: var(--retro-light);
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(43, 76, 83, 0.03) 2px,
            rgba(43, 76, 83, 0.03) 4px
        );
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--retro-teal);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(245, 230, 211, 0.05) 10px,
            rgba(245, 230, 211, 0.05) 20px
        );
    color: var(--retro-cream);
    padding: 2.5rem 0;
    box-shadow: 0 8px 0 var(--retro-dark), 0 10px 20px rgba(0,0,0,0.3);
    border-bottom: 4px solid var(--retro-orange);
    position: relative;
    text-align: center;
}

header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--retro-red) 0%, var(--retro-orange) 50%, var(--retro-red) 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.logo-container img {
    height: 220px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 4s ease-in-out infinite;
}

.logo-container img:hover {
    transform: scale(1.1) rotate(-2deg);
    animation-play-state: paused;
}

header h1 {
    font-family: 'Passion One', cursive;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        3px 3px 0 var(--retro-dark),
        4px 4px 0 var(--retro-orange);
    color: var(--retro-cream);
}

header .tagline {
    font-family: 'Righteous', cursive;
    font-size: 1.4rem;
    color: var(--retro-orange);
    text-shadow: 2px 2px 0 var(--retro-dark);
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    padding: 0;
}

header nav {
    margin-top: 1.5rem;
}

header nav a {
    font-family: 'Righteous', cursive;
    color: var(--retro-cream);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.6rem 1.5rem;
    border: 3px solid var(--retro-orange);
    background-color: var(--retro-red);
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-block;
    text-shadow: 2px 2px 0 var(--retro-dark);
    box-shadow: 0 4px 0 var(--retro-dark);
    position: relative;
    top: 0;
}

header nav a:hover {
    background-color: var(--retro-orange);
    border-color: var(--retro-cream);
    top: 2px;
    box-shadow: 0 2px 0 var(--retro-dark);
}

header nav a:active {
    top: 4px;
    box-shadow: none;
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Sections */
section {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0;
    border: 4px solid var(--retro-teal);
    box-shadow: 8px 8px 0 var(--retro-cream), 8px 8px 0 4px var(--retro-teal);
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--retro-red) 0px,
        var(--retro-red) 10px,
        var(--retro-orange) 10px,
        var(--retro-orange) 20px
    );
}

section h2 {
    font-family: 'Passion One', cursive;
    color: var(--retro-red);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 4px solid var(--retro-orange);
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(43, 76, 83, 0.2);
}

section h3 {
    font-family: 'Righteous', cursive;
    color: var(--retro-teal);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

section h4 {
    font-family: 'Righteous', cursive;
    color: var(--retro-orange);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

section ul, section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

/* Intro Section */
.intro {
    text-align: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--retro-cream) 0%, white 100%);
}

.intro h2 {
    border-bottom: none;
    color: var(--retro-teal);
}

/* Showcase Sections */
.showcase-section {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 4px solid var(--retro-teal);
    box-shadow: 8px 8px 0 var(--retro-cream), 8px 8px 0 4px var(--retro-teal);
    position: relative;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--retro-red) 0px,
        var(--retro-red) 10px,
        var(--retro-orange) 10px,
        var(--retro-orange) 20px
    );
}

.showcase-section h2 {
    font-family: 'Passion One', cursive;
    color: var(--retro-red);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 4px solid var(--retro-orange);
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(43, 76, 83, 0.2);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* App Cards */
.app-card {
    background: var(--retro-light);
    padding: 1.5rem;
    border: 4px solid var(--retro-teal);
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--retro-orange);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.app-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 15px;
    right: 15px;
    height: 6px;
    background: var(--retro-red);
}

.app-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--retro-red);
}

/* App Icon */
.app-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 3px solid var(--retro-teal);
    border-radius: 16px;
    overflow: hidden;
    background: var(--retro-cream);
    box-shadow: 3px 3px 0 var(--retro-dark);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 4px 4px 0 var(--retro-red);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* App Content */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.app-content h3 {
    font-family: 'Passion One', cursive;
    color: var(--retro-red);
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.app-content p {
    color: var(--retro-text);
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* App Store Links */
.app-store-links {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.store-badge {
    font-family: 'Righteous', cursive;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: var(--retro-teal);
    color: var(--retro-cream);
    border: 2px solid var(--retro-dark);
    box-shadow: 2px 2px 0 var(--retro-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Websites Section */
.websites-section h2 {
    color: var(--retro-teal);
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.website-card {
    background: var(--retro-light);
    border: 4px solid var(--retro-teal);
    box-shadow: 6px 6px 0 var(--retro-red);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.website-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 15px;
    right: 15px;
    height: 6px;
    background: var(--retro-orange);
}

.website-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--retro-orange);
}

.website-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.website-content h3 {
    font-family: 'Passion One', cursive;
    color: var(--retro-teal);
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.website-content p {
    color: var(--retro-text);
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    flex-grow: 1;
    line-height: 1.5;
}

.website-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.website-links a {
    flex: 1;
    text-align: center;
    font-family: 'Righteous', cursive;
    padding: 0.6rem 1rem;
    background-color: var(--retro-teal);
    color: var(--retro-cream);
    text-decoration: none;
    border: 3px solid var(--retro-dark);
    transition: all 0.3s;
    box-shadow: 0 4px 0 var(--retro-dark);
    position: relative;
    top: 0;
    font-size: 0.9rem;
}

.website-links a:hover {
    background-color: var(--retro-red);
    top: 2px;
    box-shadow: 0 2px 0 var(--retro-dark);
}

.website-links a:active {
    top: 4px;
    box-shadow: none;
}

.coming-soon-text {
    text-align: center;
    font-family: 'Righteous', cursive;
    color: var(--retro-teal);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Legal Pages */
.legal-page h1 {
    font-family: 'Passion One', cursive;
    color: var(--retro-red);
    margin-bottom: 0.5rem;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(43, 76, 83, 0.2);
}

.last-updated {
    color: var(--retro-teal);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 600;
}

.legal-page section {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 1rem 0;
}

.legal-page section::before {
    display: none;
}

.app-specific {
    background: var(--retro-cream);
    padding: 1.5rem;
    border-radius: 0;
    margin: 1.5rem 0;
    border: 3px solid var(--retro-teal);
    border-left: 8px solid var(--retro-red);
    box-shadow: 4px 4px 0 rgba(43, 76, 83, 0.2);
}

.app-specific h3 {
    margin-top: 0;
    color: var(--retro-red);
}

/* Support Pages */
.support-page h1 {
    font-family: 'Passion One', cursive;
    color: var(--retro-red);
    margin-bottom: 2rem;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(43, 76, 83, 0.2);
}

.support-page h2 {
    font-family: 'Passion One', cursive;
    color: var(--retro-teal);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    border-bottom: 4px solid var(--retro-orange);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-page h3 {
    font-family: 'Righteous', cursive;
    color: var(--retro-red);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.support-page h4 {
    font-family: 'Righteous', cursive;
    color: var(--retro-orange);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Links */
a {
    color: var(--retro-red);
    transition: color 0.3s;
    text-decoration: underline;
    text-decoration-color: var(--retro-orange);
    text-decoration-thickness: 2px;
}

a:hover {
    color: var(--retro-orange);
    text-decoration-color: var(--retro-red);
}

/* Legal and Contact Sections */
.legal, .contact {
    text-align: center;
    background: var(--retro-cream);
}

.legal p, .contact p {
    font-size: 1.15rem;
}

/* Footer */
footer {
    background-color: var(--retro-teal);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(245, 230, 211, 0.05) 10px,
            rgba(245, 230, 211, 0.05) 20px
        );
    color: var(--retro-cream);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 8px solid var(--retro-red);
    box-shadow: 0 -4px 0 var(--retro-orange);
}

footer p {
    margin: 0;
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    text-shadow: 2px 2px 0 var(--retro-dark);
}

/* Lists with Strong Labels */
li strong {
    color: var(--retro-red);
    font-weight: 700;
}

/* Code and Pre */
code {
    background-color: var(--retro-cream);
    padding: 0.2rem 0.4rem;
    border: 2px solid var(--retro-teal);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--retro-red);
}

/* =====================================================
   RESPONSIVE DESIGN - Mobile Optimized
   ===================================================== */

/* Tablet and smaller (768px and below) */
@media (max-width: 768px) {
    header {
        padding: 2rem 0;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .logo-container {
        gap: 1rem;
        margin-bottom: 0.75rem;
    }

    .logo-container img {
        height: 150px;
    }

    header .tagline {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 15px;
    }

    main {
        padding: 2rem 0;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 5px 5px 0 var(--retro-cream), 5px 5px 0 3px var(--retro-teal);
    }

    section::before {
        left: 15px;
        right: 15px;
        height: 6px;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    section h3 {
        font-size: 1.4rem;
        margin-top: 1.25rem;
    }

    section h4 {
        font-size: 1.1rem;
    }

    section p {
        font-size: 1rem;
    }

    section ul, section ol {
        margin-left: 1.5rem;
    }

    .intro {
        font-size: 1.1rem;
    }

    .showcase-section {
        padding: 1.5rem;
        box-shadow: 5px 5px 0 var(--retro-cream), 5px 5px 0 3px var(--retro-teal);
    }

    .showcase-section::before {
        left: 15px;
        right: 15px;
        height: 6px;
    }

    .showcase-section h2 {
        font-size: 2rem;
    }

    .apps-grid,
    .websites-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-card {
        padding: 1.25rem;
        padding-bottom: 1rem;
        box-shadow: 5px 5px 0 var(--retro-orange);
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        overflow: visible;
    }

    .app-card::before {
        left: 10px;
        right: 10px;
        height: 5px;
    }

    .app-card:hover {
        transform: none;
        box-shadow: 5px 5px 0 var(--retro-orange);
    }

    .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 14px;
        flex-shrink: 0;
    }

    .app-content {
        flex: none;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .app-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .app-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        text-align: center;
        flex-grow: 0;
    }

    .app-store-links {
        gap: 0.5rem;
        justify-content: center;
        margin-top: 0;
    }

    .store-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .website-card:hover {
        transform: none;
        box-shadow: 6px 6px 0 var(--retro-red);
    }

    .website-preview {
        height: 150px;
    }

    .website-content {
        padding: 1rem;
    }

    .website-content h3 {
        font-size: 1.3rem;
    }

    .coming-soon-text {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .website-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .website-links a {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header nav {
        margin-top: 1.25rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    header nav a {
        margin: 0;
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .legal-page h1,
    .support-page h1 {
        font-size: 2.25rem;
        letter-spacing: 1px;
        text-shadow: 2px 2px 0 rgba(43, 76, 83, 0.2);
    }

    .support-page h2 {
        font-size: 1.8rem;
        margin-top: 2rem;
    }

    .support-page h3 {
        font-size: 1.4rem;
    }

    .support-page h4 {
        font-size: 1.15rem;
    }

    .app-specific {
        padding: 1.25rem;
        margin: 1.25rem 0;
        border-left-width: 6px;
    }

    .legal, .contact {
        padding: 1.5rem;
    }

    .legal p, .contact p {
        font-size: 1.05rem;
    }

    footer {
        padding: 2rem 0;
        margin-top: 3rem;
        border-top-width: 6px;
    }

    footer p {
        font-size: 1rem;
    }
}

/* Medium mobile devices (640px and below) */
@media (max-width: 640px) {
    header {
        padding: 1.5rem 0;
        box-shadow: 0 6px 0 var(--retro-dark), 0 8px 15px rgba(0,0,0,0.25);
    }

    header h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 0 var(--retro-dark), 3px 3px 0 var(--retro-orange);
    }

    .logo-container img {
        height: 120px;
    }

    header .tagline {
        font-size: 1rem;
    }

    .container {
        padding: 0 12px;
    }

    main {
        padding: 1.5rem 0;
    }

    section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        border-width: 3px;
        box-shadow: 4px 4px 0 var(--retro-cream), 4px 4px 0 3px var(--retro-teal);
    }

    section::before {
        left: 12px;
        right: 12px;
        height: 5px;
    }

    section h2 {
        font-size: 1.75rem;
        border-bottom-width: 3px;
        padding-bottom: 0.4rem;
    }

    section h3 {
        font-size: 1.25rem;
    }

    section h4 {
        font-size: 1.05rem;
    }

    section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    section ul, section ol {
        margin-left: 1.25rem;
    }

    section li {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .intro {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .showcase-section {
        padding: 1.25rem;
        border-width: 3px;
        box-shadow: 4px 4px 0 var(--retro-cream), 4px 4px 0 3px var(--retro-teal);
    }

    .showcase-section h2 {
        font-size: 1.75rem;
        border-bottom-width: 3px;
    }

    .app-card {
        padding: 1rem;
        border-width: 3px;
        box-shadow: 4px 4px 0 var(--retro-orange);
        gap: 0.875rem;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        border-width: 2px;
    }

    .app-content h3 {
        font-size: 1.35rem;
    }

    .app-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .website-card {
        border-width: 3px;
        box-shadow: 4px 4px 0 var(--retro-red);
    }

    .website-preview {
        height: 130px;
        border-bottom-width: 2px;
    }

    .website-content h3 {
        font-size: 1.2rem;
    }

    .website-content p {
        font-size: 0.9rem;
    }

    .coming-soon-text {
        font-size: 0.95rem;
    }

    .legal-page h1,
    .support-page h1 {
        font-size: 1.85rem;
    }

    .support-page h2 {
        font-size: 1.5rem;
        border-bottom-width: 3px;
    }

    .support-page h3 {
        font-size: 1.25rem;
    }

    .support-page h4 {
        font-size: 1.05rem;
    }

    .app-specific {
        padding: 1rem;
        border-width: 2px;
        border-left-width: 5px;
        box-shadow: 3px 3px 0 rgba(43, 76, 83, 0.15);
    }

    .last-updated {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    footer {
        padding: 1.5rem 0;
        margin-top: 2.5rem;
        border-top-width: 5px;
        box-shadow: 0 -3px 0 var(--retro-orange);
    }

    footer p {
        font-size: 0.9rem;
    }

    .retro-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
        border-width: 2px;
        box-shadow: 2px 2px 0 var(--retro-dark);
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    header {
        padding: 1.25rem 0;
        box-shadow: 0 5px 0 var(--retro-dark), 0 6px 12px rgba(0,0,0,0.2);
        border-bottom-width: 3px;
    }

    header::after {
        bottom: -6px;
        height: 3px;
    }

    header h1 {
        font-size: 1.65rem;
        letter-spacing: 1px;
        text-shadow: 2px 2px 0 var(--retro-dark);
    }

    .logo-container {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .logo-container img {
        height: 100px;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    }

    header .tagline {
        font-size: 0.9rem;
        text-shadow: 1px 1px 0 var(--retro-dark);
    }

    .container {
        padding: 0 10px;
    }

    main {
        padding: 1.25rem 0;
    }

    section {
        padding: 1rem;
        margin-bottom: 1.25rem;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--retro-cream), 3px 3px 0 2px var(--retro-teal);
    }

    section::before {
        left: 8px;
        right: 8px;
        height: 4px;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
        border-bottom-width: 2px;
        padding-bottom: 0.35rem;
    }

    section h3 {
        font-size: 1.15rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    section h4 {
        font-size: 1rem;
        margin-top: 0.75rem;
    }

    section p {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
        line-height: 1.55;
    }

    section ul, section ol {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }

    section li {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .intro {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .intro h2 {
        font-size: 1.4rem;
    }

    .showcase-section {
        padding: 1rem;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--retro-cream), 3px 3px 0 2px var(--retro-teal);
    }

    .showcase-section::before {
        left: 8px;
        right: 8px;
        height: 4px;
    }

    .showcase-section h2 {
        font-size: 1.5rem;
        border-bottom-width: 2px;
    }

    .apps-grid,
    .websites-grid {
        gap: 1rem;
    }

    .app-card {
        padding: 1rem;
        padding-bottom: 1.25rem;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--retro-orange);
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow: visible;
    }

    .app-icon {
        width: 72px;
        height: 72px;
        border-radius: 14px;
        box-shadow: 2px 2px 0 var(--retro-dark);
        margin-bottom: 0.5rem;
    }

    .app-content {
        flex: none;
        align-items: center;
        width: 100%;
    }

    .app-content h3 {
        font-size: 1.25rem;
    }

    .app-content p {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 0.75rem;
        flex-grow: 0;
    }

    .app-store-links {
        justify-content: center;
        margin-top: 0;
    }

    .store-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }

    .website-card {
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--retro-red);
    }

    .website-preview {
        height: 120px;
    }

    .website-content {
        padding: 0.875rem;
    }

    .website-content h3 {
        font-size: 1.1rem;
    }

    .website-content p {
        font-size: 0.85rem;
    }

    .coming-soon-text {
        font-size: 0.9rem;
    }

    .app-card::before {
        left: 8px;
        right: 8px;
        height: 4px;
    }

    .app-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.6rem;
    }

    .app-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    header nav {
        margin-top: 1rem;
        gap: 0.4rem;
    }

    header nav a {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
        border-width: 2px;
        box-shadow: 0 3px 0 var(--retro-dark);
    }

    .legal-page h1,
    .support-page h1 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.4rem;
    }

    .support-page h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .support-page h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .support-page h4 {
        font-size: 0.95rem;
    }

    .app-specific {
        padding: 0.875rem;
        margin: 1rem 0;
        border-width: 2px;
        border-left-width: 4px;
        box-shadow: 2px 2px 0 rgba(43, 76, 83, 0.1);
    }

    .app-specific h3 {
        font-size: 1.1rem;
    }

    .last-updated {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .legal, .contact {
        padding: 1rem;
    }

    .legal h2, .contact h2 {
        font-size: 1.4rem;
    }

    .legal p, .contact p {
        font-size: 0.95rem;
    }

    footer {
        padding: 1.25rem 0;
        margin-top: 2rem;
        border-top-width: 4px;
        box-shadow: 0 -2px 0 var(--retro-orange);
    }

    footer p {
        font-size: 0.85rem;
        text-shadow: 1px 1px 0 var(--retro-dark);
    }

    code {
        padding: 0.15rem 0.3rem;
        font-size: 0.85em;
        border-width: 1px;
    }

    .retro-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
        border-width: 1px;
        box-shadow: 2px 2px 0 var(--retro-dark);
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    header h1 {
        font-size: 1.4rem;
    }

    .logo-container img {
        height: 80px;
    }

    header .tagline {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 8px;
    }

    section {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }

    section h2 {
        font-size: 1.35rem;
    }

    section h3 {
        font-size: 1.05rem;
    }

    section p, section li {
        font-size: 0.85rem;
    }

    .app-card h3 {
        font-size: 1.2rem;
    }

    .legal-page h1,
    .support-page h1 {
        font-size: 1.3rem;
    }

    .support-page h2 {
        font-size: 1.15rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    header {
        padding: 1rem 0;
    }

    .logo-container img {
        height: 60px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    main {
        padding: 1rem 0;
    }

    section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    footer {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
}

/* Improve touch targets globally for mobile */
@media (max-width: 768px) {
    /* Ensure all clickable elements have adequate touch target size */
    a {
        padding: 0.25rem 0;
        display: inline-block;
    }

    /* Prevent text selection issues on touch */
    .app-card,
    header nav a {
        -webkit-tap-highlight-color: rgba(214, 60, 47, 0.2);
    }

    /* Disable hover effects that don't work well on touch */
    .app-card:hover {
        transform: none;
    }

    /* Improve scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* High contrast preference support */
@media (prefers-contrast: high) {
    section {
        border-width: 3px;
    }

    .app-card {
        border-width: 3px;
    }

    a {
        text-decoration-thickness: 3px;
    }
}

/* Reduced motion preference support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    .logo-container img:hover {
        transform: none;
    }

    .app-card:hover {
        transform: none;
    }

    header nav a:hover,
    header nav a:active {
        top: 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--retro-red);
    color: var(--retro-cream);
}

::-moz-selection {
    background-color: var(--retro-red);
    color: var(--retro-cream);
}

/* Retro Decorative Elements */
.retro-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--retro-orange);
    color: var(--retro-dark);
    font-family: 'Righteous', cursive;
    font-size: 0.9rem;
    border: 2px solid var(--retro-dark);
    box-shadow: 3px 3px 0 var(--retro-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
