.chalk-texture { position: relative; }
.chalk-texture::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04; pointer-events: none; z-index: 1;
}
.chalk-texture > * { position: relative; z-index: 2; }
.chalk-texture > nav { z-index: 40; }
.chalk-splatter {
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='40' r='8' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='80' cy='20' r='5' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='150' cy='60' r='12' fill='%23ffffff' opacity='0.25'/%3E%3Ccircle cx='120' cy='130' r='6' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='50' cy='160' r='9' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='170' cy='150' r='4' fill='%23ffffff' opacity='0.15'/%3E%3Ccircle cx='90' cy='90' r='3' fill='%23ffffff' opacity='0.2'/%3E%3C/svg%3E");
}
.tape-strip { position: relative; }
.tape-strip::after {
    content: ''; position: absolute; top: -3px; left: 8px; right: 8px; height: 8px;
    background: linear-gradient(90deg, transparent 0%, rgba(240,230,140,0.6) 15%, rgba(240,230,140,0.8) 50%, rgba(240,230,140,0.6) 85%, transparent 100%);
    transform: rotate(-1deg); border-radius: 2px;
}
.card-lift { transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card-lift:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 20px 40px -12px rgba(45, 45, 53, 0.25); }
a.card-lift { display: block; color: inherit; text-decoration: none; }
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.float-anim { animation: float 4s ease-in-out infinite; }
@keyframes dust { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { transform: translateY(-100px) translateX(20px); opacity: 0; } }
.dust-particle { animation: dust 6s ease-in-out infinite; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F5F0E8; }
::-webkit-scrollbar-thumb { background: #D95D39; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #C44D2A; }
.filter-pill.active { background-color: #2D2D35; color: #FFFCF5; transform: scale(1.05); }
#world-map { z-index: 1; }
.leaflet-popup-content-wrapper { background: #2D2D35; color: #FFFCF5; border-radius: 12px; }
.leaflet-popup-tip { background: #2D2D35; }
.leaflet-popup-content { font-family: 'DM Sans', sans-serif; margin: 12px 16px; line-height: 1.5; }
.leaflet-popup-content a { color: #E87A5A; }

#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.prose-bw p { margin-bottom: 1.1rem; line-height: 1.75; color: rgba(45, 45, 53, 0.78); }
.prose-bw h2 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.5rem; margin: 2rem 0 0.75rem; color: #2D2D35; }
.prose-bw h3 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: #2D2D35; }
.prose-bw ul, .prose-bw ol { margin: 0 0 1.25rem 1.2rem; color: rgba(45, 45, 53, 0.78); }
.prose-bw li { margin-bottom: 0.4rem; line-height: 1.6; }
.prose-bw a { color: #D95D39; font-weight: 600; }

.guide-hero {
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 2rem 2rem;
}

.stat-block {
    background: #FFFCF5;
    border-radius: 1rem;
    padding: 0.9rem;
    text-align: center;
}

.affiliate-card {
    background: #FFFCF5;
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 10px 30px -16px rgba(45, 45, 53, 0.25);
}

.form-field {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 2px solid rgba(45, 45, 53, 0.1);
    background: #FFFCF5;
    font-family: 'DM Sans', sans-serif;
    color: #2D2D35;
}
.form-field:focus {
    outline: none;
    border-color: #D95D39;
    box-shadow: 0 0 0 4px rgba(217, 93, 57, 0.15);
}

.disclosure {
    font-size: 0.75rem;
    color: rgba(45, 45, 53, 0.45);
    line-height: 1.5;
}
