/* Main Stylesheet for Rota do Drama */

/*
   Note on Tailwind: This project uses Tailwind CSS via CDN.
   This file contains custom overrides, animations, and specific component styles
   that go beyond standard utility classes.
*/

/* Global Background - Outer Layer (Flat Dark) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1C20; /* Nanquim Profundo (Base) */
    color: #F9F7F2; /* Off-White (Text Main) */
}

/* Typography Overrides */
h1,
h2,
h3,
.font-serif {
    font-family: 'Cinzel', serif;
}

/* Ad Placeholder Pattern */
.ad-pattern {
    background-image: repeating-linear-gradient(45deg, #25282e 0, #25282e 10px, #2a2d33 10px, #2a2d33 20px);
}

/* NProgress Customization (Loading Bar) */
#nprogress .bar {
    background: #ff4500 !important;
    height: 3px !important;
}

#nprogress .peg {
    box-shadow: 0 0 10px #ff4500, 0 0 5px #ff4500 !important;
}

#nprogress .spinner-icon {
    border-top-color: #ff4500 !important;
    border-left-color: #ff4500 !important;
}

/* Compass Loader (Top Line Animation) */
#compass-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#compass-loader.loading {
    opacity: 1;
}

.compass-line {
    height: 100%;
    background: linear-gradient(90deg, transparent, #C5A065, #D94F3D, #C5A065, transparent);
    width: 50%;
    animation: oscilate 2s infinite ease-in-out;
    position: absolute;
}

@keyframes oscilate {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* Footer Texture (Unique Map Pattern) */
.footer-map-bg {
    background-color: #000;
    /* SVG Pattern (Opacity 0.05) - Only applied to footer */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23C5A065' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center;
    background-blend-mode: soft-light;
}
