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

:root {
    /* Color Palette */
    --primary-color: #2d5a27;
    --secondary-color: #4a7c59;
    --accent-color: #ffd700;
    --accent-secondary: #ff6b35;
    --dark-bg: #0f1419;
    --darker-bg: #0a0e13;
    --text-light: #ffffff;
    --text-muted: #b8c5d1;
    --text-dark: #2c3e50;
    --mystical-blue: #1e3a8a;
    --mystical-purple: #6366f1;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1rem;
    --border-radius: 12px;
    --border-radius-small: 8px;
    
    /* Shadows */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-small);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--accent-color);
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
}

.cta-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section - Updated for new World Tree image */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/world-tree-main.png') center/cover no-repeat;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(45, 90, 39, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: var(--dark-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content Layout */
.main-content {
    background: var(--dark-bg);
    position: relative;
}

/* Compact Features Section */
.features-compact {
    padding: 4rem 0;
    background: var(--darker-bg);
    position: relative;
}

.features-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(255,215,0,0.03)" points="50,0 93.3,25 93.3,75 50,100 6.7,75 6.7,25"/></svg>') repeat;
    background-size: 80px 80px;
    opacity: 0.1;
}

/* Core Gameplay Highlight */
.gameplay-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 3rem;
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.gameplay-title {
    color: var(--text-light);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gameplay-subtitle {
    color: var(--accent-color);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    margin: 0;
}

/* Main Features Grid */
.features-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(15, 20, 25, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-header .feature-icon {
    font-size: 2rem;
    background: var(--accent-color);
    color: var(--dark-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.feature-content p:last-child {
    margin-bottom: 0;
}

.feature-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Quick Features List for Flyer */
.features-quick-list {
    background: rgba(45, 90, 39, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.features-quick-list h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quick-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.quick-feature {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Legacy features grid */
.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: rgba(45, 90, 39, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(45, 90, 39, 0.1));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-item p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* Compact Special Section */
.special-compact {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.special-item {
    background: rgba(45, 90, 39, 0.1);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
}

.special-item h3 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.special-item ul {
    list-style: none;
    padding-left: 0;
}

.special-item li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.special-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Compact Registration Section */
.register-compact {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
}

.register-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/world-tree-main.png') center/cover no-repeat;
    opacity: 0.05;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.register-header h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.register-header h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.register-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.register-content-compact {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.register-benefits-compact {
    background: rgba(45, 90, 39, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 2rem;
    text-align: center;
}

.register-benefits-compact h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.benefit-item {
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.register-form-compact {
    background: rgba(15, 20, 25, 0.8);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.875rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius-small);
    background: rgba(15, 20, 25, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-row:last-of-type {
    align-items: end;
}

/* Section Titles */
.section-title {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Compact Footer */
.footer-compact {
    background: var(--darker-bg);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-main h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.footer-main p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-reference {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.footer-link-inline {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-link-inline:hover {
    text-decoration: underline;
}

.footer-impressum h4 {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.impressum-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.impressum-details a {
    color: var(--accent-color);
    text-decoration: none;
}

.impressum-details a:hover {
    text-decoration: underline;
}

.footer-share h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.footer-share p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


/* Responsive Design */
/* Tablet and mobile navigation */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .features-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .features-grid-main {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .gameplay-highlight {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        box-shadow: var(--shadow-medium);
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section {
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        /* Better touch targets */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .features-compact,
    .special-compact,
    .register-compact {
        padding: 3rem 0;
    }
    
    .features-grid-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .features-grid-main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .gameplay-highlight {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .feature-header .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }
    
    .quick-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quick-feature {
        min-width: 200px;
        text-align: center;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content-compact {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-impressum {
        text-align: left;
    }
    
    .benefits-list {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .benefit-item {
        text-align: center;
        min-width: 200px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Particle system optimization for mobile */
    .particles {
        opacity: 0.5;
    }
    
    
    .footer-content-compact .footer-links {
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem 0;
        --container-padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        min-height: 85vh;
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .btn {
        max-width: 240px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .gameplay-highlight {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .features-quick-list {
        padding: 1rem;
    }
    
    .feature-header h3 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .feature-item .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .register-benefits-compact,
    .register-form-compact {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }
    
    .special-item {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .footer-compact {
        padding: 1.5rem 0 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .benefits-list {
        gap: 0.5rem;
    }
    
    .benefit-item {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Touch-specific styles */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .nav-link:hover {
        color: var(--text-muted);
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    /* Improve touch targets */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape mobile optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .features-compact,
    .special-compact,
    .register-compact {
        padding: 2rem 0;
    }
}

/* Mobile performance optimizations */
.mobile-device .hero-background {
    transform: translateZ(0);
    will-change: transform;
}

.mobile-device .particles {
    transform: translateZ(0);
    will-change: opacity;
}

.mobile-device .btn {
    will-change: transform;
}

/* Viewport height utilities for mobile */
.full-height {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.hero-section {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-muted: #ffffff;
        --accent-color: #ffff00;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Focus indicators for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles for flyers */
@media print {
    * {
        color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .navbar,
    .particles,
    .hero-background::after {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto !important;
        padding: 0 !important;
        background: #fff !important;
    }
    
    .hero-content {
        color: #000 !important;
        background: #fff !important;
        padding: 1rem !important;
    }
    
    .hero-badge {
        background: #ffd700 !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        page-break-inside: avoid;
    }
    
    .hero-title {
        color: #000 !important;
        text-shadow: none !important;
        font-size: 24pt !important;
        margin: 0.5rem 0 !important;
    }
    
    .hero-subtitle {
        color: #333 !important;
        font-size: 14pt !important;
    }
    
    .hero-description {
        color: #333 !important;
        font-size: 11pt !important;
    }
    
    .btn {
        border: 2px solid #000 !important;
        color: #000 !important;
        background: transparent !important;
        padding: 0.5rem 1rem !important;
        font-size: 10pt !important;
        display: inline-block !important;
        margin: 0.25rem !important;
    }
    
    .features-compact {
        padding: 1rem 0 !important;
        background: #fff !important;
    }
    
    .gameplay-highlight {
        background: #f0f0f0 !important;
        border: 2px solid #000 !important;
        color: #000 !important;
        page-break-inside: avoid;
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .gameplay-title {
        color: #000 !important;
        font-size: 16pt !important;
        text-shadow: none !important;
    }
    
    .gameplay-subtitle {
        color: #333 !important;
        font-size: 12pt !important;
    }
    
    .features-grid-main {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .feature-card {
        background: #fff !important;
        border: 1px solid #000 !important;
        page-break-inside: avoid;
        margin-bottom: 0.5rem !important;
        padding: 0.75rem !important;
        break-inside: avoid;
    }
    
    .feature-card::before {
        background: #000 !important;
    }
    
    .feature-header .feature-icon {
        background: #ffd700 !important;
        color: #000 !important;
        border: 1px solid #000 !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 14pt !important;
    }
    
    .feature-header h3 {
        color: #000 !important;
        font-size: 12pt !important;
    }
    
    .feature-content p {
        color: #333 !important;
        font-size: 10pt !important;
        margin-bottom: 0.25rem !important;
    }
    
    .feature-content strong {
        color: #000 !important;
        font-weight: bold !important;
    }
    
    .features-quick-list {
        background: #f9f9f9 !important;
        border: 1px solid #000 !important;
        page-break-inside: avoid;
        padding: 0.75rem !important;
    }
    
    .features-quick-list h4 {
        color: #000 !important;
        font-size: 11pt !important;
        margin-bottom: 0.5rem !important;
    }
    
    .quick-features {
        display: block !important;
    }
    
    .quick-feature {
        background: #fff !important;
        border: 1px solid #333 !important;
        color: #000 !important;
        display: inline-block !important;
        margin: 0.1rem !important;
        padding: 0.2rem 0.5rem !important;
        font-size: 9pt !important;
    }
    
    .register-compact {
        background: #fff !important;
        padding: 1rem 0 !important;
        page-break-before: auto;
    }
    
    .register-header h2 {
        color: #000 !important;
        font-size: 16pt !important;
    }
    
    .register-header h3 {
        color: #333 !important;
        font-size: 12pt !important;
    }
    
    .register-form-compact {
        background: #f9f9f9 !important;
        border: 1px solid #000 !important;
        padding: 0.75rem !important;
    }
    
    .footer-compact {
        background: #fff !important;
        border-top: 1px solid #000 !important;
        padding: 0.5rem 0 !important;
        font-size: 8pt !important;
    }
    
    .section-title {
        color: #000 !important;
        font-size: 18pt !important;
        page-break-after: avoid;
    }
    
    /* Ensure good page breaks */
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    
    .feature-card,
    .gameplay-highlight,
    .features-quick-list {
        page-break-inside: avoid;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

