/* ============================================
   ATLANTA RP - O MELHOR DO VELHO OESTE
   Tema: Velho Oeste / Western
   ============================================ */

:root {
    /* Cores do Velho Oeste */
    --parchment: #e8dcc4;
    --parchment-dark: #d4c4a8;
    --wood-dark: #2a1810;
    --wood-medium: #4a3020;
    --leather: #8b5a2b;
    --gold: #c9a227;
    --gold-light: #dbb84d;
    --rust: #8b3a3a;
    --dust: #c4a77d;
    --sunset-orange: #d4652f;
    --sunset-red: #a63d2b;
    --night-sky: #1a1520;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'IM Fell English', serif;
    background: #0a0a0a;
}

/* ============================================
   VÍDEO DE FUNDO
   ============================================ */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, 
            rgba(10, 10, 10, 0.7) 0%,
            rgba(26, 21, 32, 0.5) 30%,
            rgba(42, 24, 16, 0.4) 60%,
            rgba(10, 10, 10, 0.8) 100%
        );
    pointer-events: none;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ============================================
   CACTOS DECORATIVOS
   ============================================ */

.cactus-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.cactus {
    position: absolute;
    font-size: 3rem;
    filter: brightness(0.4) sepia(0.5);
    opacity: 0.7;
}

/* Cactos da esquerda */
.cactus-1 {
    bottom: 5%;
    left: 3%;
    font-size: 4rem;
    animation: sway-left 4s ease-in-out infinite;
}

.cactus-2 {
    bottom: 15%;
    left: 8%;
    font-size: 2.5rem;
    animation: sway-left 3.5s ease-in-out infinite 0.5s;
}

.cactus-3 {
    bottom: 25%;
    left: 2%;
    font-size: 3rem;
    animation: sway-left 5s ease-in-out infinite 1s;
}

/* Cactos da direita */
.cactus-4 {
    bottom: 5%;
    right: 3%;
    font-size: 4rem;
    animation: sway-right 4s ease-in-out infinite;
}

.cactus-5 {
    bottom: 18%;
    right: 7%;
    font-size: 2.5rem;
    animation: sway-right 3.5s ease-in-out infinite 0.7s;
}

.cactus-6 {
    bottom: 28%;
    right: 1%;
    font-size: 3rem;
    animation: sway-right 5s ease-in-out infinite 1.2s;
}

@keyframes sway-left {
    0%, 100% { 
        transform: rotate(-3deg) translateX(0); 
    }
    50% { 
        transform: rotate(3deg) translateX(5px); 
    }
}

@keyframes sway-right {
    0%, 100% { 
        transform: rotate(3deg) translateX(0); 
    }
    50% { 
        transform: rotate(-3deg) translateX(-5px); 
    }
}

/* ============================================
   PARTÍCULAS DE POEIRA
   ============================================ */

.dust-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(196, 167, 125, 0.4);
    border-radius: 50%;
    animation: float-dust 15s infinite linear;
}

.dust:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.dust:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 14s; }
.dust:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 11s; }
.dust:nth-child(4) { left: 60%; animation-delay: 1s; animation-duration: 16s; }
.dust:nth-child(5) { left: 75%; animation-delay: 3s; animation-duration: 13s; }
.dust:nth-child(6) { left: 90%; animation-delay: 5s; animation-duration: 15s; }

@keyframes float-dust {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   HERO SECTION - TELA ÚNICA
   ============================================ */

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    width: 100%;
    max-width: 500px;
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   POSTER ESTILO "WANTED"
   ============================================ */

.wanted-poster {
    position: relative;
    animation: poster-entrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes poster-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

.poster-border {
    background: var(--wood-medium);
    padding: 6px;
    border-radius: 4px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.poster-inner {
    background: 
        linear-gradient(135deg, var(--parchment) 0%, var(--parchment-dark) 50%, var(--parchment) 100%);
    padding: 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    border-radius: 2px;
    box-shadow: 
        inset 0 0 50px rgba(139, 90, 43, 0.2),
        inset 0 0 100px rgba(139, 58, 58, 0.1);
}

.poster-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 90, 43, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 58, 58, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.poster-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--rust);
    font-size: 1rem;
}

.poster-subtitle {
    font-family: 'Almendra', serif;
    font-size: 0.8rem;
    color: var(--wood-medium);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ============================================
   LOGO DO ATLANTA
   ============================================ */

.logo-container {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.atlanta-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: 
        drop-shadow(0 4px 8px rgba(42, 24, 16, 0.4))
        brightness(0)
        sepia(1) 
        saturate(0.5)
        hue-rotate(-10deg);
}

/* ============================================
   TÍTULOS PRINCIPAIS
   ============================================ */

.main-title {
    font-family: 'Rye', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.title-line {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--wood-dark);
    text-shadow: 2px 2px 0 rgba(139, 90, 43, 0.3);
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.title-do {
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    color: var(--leather);
    letter-spacing: 0.5em;
    margin: 0.2rem 0;
}

.poster-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem 0;
}

.deco-star {
    color: var(--gold);
    font-size: 0.9rem;
}

.deco-line {
    width: 60px;
    height: 1px;
    background: var(--leather);
}

.description {
    font-size: 0.95rem;
    color: var(--wood-medium);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-style: italic;
}

/* ============================================
   BOTÃO DISCORD
   ============================================ */

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    color: var(--gold);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: 'Rye', serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid var(--leather);
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(201, 162, 39, 0.3);
    border-color: var(--gold);
}

.discord-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   ATLANTA NETWORK (PARTE INFERIOR)
   ============================================ */

.network-container {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 90, 43, 0.3);
}

.network-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.network-link:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.5));
}

.network-logo {
    height: 40px;
    width: auto;
    filter: 
        drop-shadow(0 2px 5px rgba(42, 24, 16, 0.3))
        brightness(0)
        sepia(1) 
        saturate(0.5);
}

/* ============================================
   FOOTER
   ============================================ */

.poster-footer {
    margin-top: 1rem;
}

.footer-deco {
    color: var(--leather);
    font-size: 1rem;
    letter-spacing: 0.3em;
}

.copyright {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--wood-medium);
    opacity: 0.7;
    letter-spacing: 0.1em;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-height: 700px) {
    .poster-inner {
        padding: 1rem;
    }

    .atlanta-logo {
        max-width: 150px;
    }

    .description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .poster-decoration {
        margin: 0.8rem 0;
    }

    .discord-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .network-container {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }

    .network-logo {
        height: 30px;
    }

    .cactus {
        font-size: 2rem;
    }

    .cactus-1, .cactus-4 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-content {
        max-width: 95%;
    }

    .poster-border {
        padding: 4px;
    }

    .poster-inner {
        padding: 1rem 0.8rem;
    }

    .poster-header {
        gap: 0.5rem;
    }

    .poster-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .atlanta-logo {
        max-width: 140px;
    }

    .deco-line {
        width: 40px;
    }

    .description {
        font-size: 0.85rem;
    }

    .description br {
        display: none;
    }

    .cactus {
        font-size: 1.8rem;
    }

    .cactus-1, .cactus-4 { font-size: 2.2rem; }
    .cactus-3, .cactus-6 { display: none; }
}

/* Efeito de hover no poster */
.wanted-poster:hover .poster-inner {
    box-shadow: 
        inset 0 0 50px rgba(139, 90, 43, 0.25),
        inset 0 0 100px rgba(139, 58, 58, 0.15);
}
