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

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #1e1b4b;
    --accent-color: #a855f7;
    --text-color: #ffffff;
    --light-text: #cbd5e1;
    --background-color: #0f0f23;
    --light-bg: #1a1a2e;
    --border-color: #312e81;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 8px 30px rgba(139, 92, 246, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Utility Classes */
html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

img[loading] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

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

.trail-card,
.community-card,
.rule-item,
.contact-card {
    animation: fadeInUp 0.6s ease forwards;
} 