/* Root Variables */
:root {
    --text-primary: #f1f1f1;
    --text-secondary: #999;
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --link-hover: #66ccff;
    --accent-color: #bb86fc;
    --button-bg: #333;
    --button-hover: #555;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.9);
    --font-body: 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-normal: 0.02em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 100;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--text-primary);
    margin-bottom: 0.5em;
    line-height: 1.4;
}

h1 {
    font-size: 2.8rem;
    margin: 2rem 0;
    letter-spacing: 0.08em;
}

h2 {
    font-size: 2.2rem;
    margin: 1.8rem 0;
}

h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
}

p {
    font-family: var(--font-body);
    font-weight: 100;
    letter-spacing: var(--letter-spacing-normal);
    margin-bottom: 1em;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Show Info Styles */
.show-info {
    font-size: 1.3rem;
    margin: 2rem 0;
    font-weight: 100;
    color: var(--text-primary);
    letter-spacing: var(--letter-spacing-normal);
}

/* Navigation and Links */
.nav-link, 
.menu-link {
    font-weight: 100;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    margin: 2rem 0;
    padding: 1rem;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 0.625rem;
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: var(--letter-spacing-wide);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--link-hover);
}

/* Button Styles */
button,
.button {
    font-weight: 200;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer and Small Text */
.footer-text,
.small-text {
    font-weight: 100;
    font-size: 0.9rem;
    letter-spacing: var(--letter-spacing-normal);
    color: var(--text-secondary);
}

/* Visit Counter */
.visit-count {
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 100;
    color: var(--text-secondary);
    letter-spacing: var(--letter-spacing-normal);
}

/* Error Messages */
.error-message {
    color: #ff6b6b;
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 4px;
    font-weight: 200;
    letter-spacing: var(--letter-spacing-normal);
}

/* Labels and Form Elements */
label,
input,
textarea,
select {
    font-weight: 100;
    letter-spacing: var(--letter-spacing-normal);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .social-links a {
        margin: 0 0.4rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    p {
        font-size: 1.2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .background-image {
        filter: brightness(0.6);
    }
}