/* Survival Valley Landing Page - Baseado no estilo original */

/* Font Faces */
@font-face {
    font-family: 'Montserrat';
    src: url('estilo-designer/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('estilo-designer/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('estilo-designer/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('estilo-designer/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('estilo-designer/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* CSS Variables - Exatamente iguais ao original */
:root {
    --primary: #9772F2;
    --primary-dark: #694fa8;
    --primary-light: rgba(151, 114, 242, 0.1);
    --primary-hover: #7445DB;

    --secondary: #E6BA6A;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    --bg-dark: #101010;
    --bg-card: #141416;
    --bg-hover: #1C1C1F;
    --bg-glass: rgba(20, 20, 22, 0.9);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --border-light: rgba(255, 255, 255, 0.1);
    --border-primary: rgba(151, 114, 242, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 2px 8px rgba(151, 114, 242, 0.2);
}

/* Body */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, rgba(16,16,16,0.95), rgba(16,16,16,1));
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 0;
}

/* Barra de anúncio */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.announcement-bar.hidden {
    transform: translateY(-100%);
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    position: relative;
}


.announcement-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    letter-spacing: 0.5px;
}

.player-count {
    color: #32FF32;
    font-weight: 800;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    margin-top: 50px;
}

/* Hero Section igual ao site original */
.hero {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        rgba(16, 16, 16, 0.92) 0%,
        rgba(16, 16, 16, 0.88) 50%,
        rgba(16, 16, 16, 0.92) 100%
    ), url('valley.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(151, 114, 242, 0.15) 0%,
        rgba(16, 16, 16, 0.3) 70%,
        rgba(16, 16, 16, 0.6) 100%
    );
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
    padding-bottom: 70px;
}

.hero-main {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.hero-headline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.highlight-word {
    background: linear-gradient(135deg, var(--primary) 0%, #B794F6 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Video Section */
.video-section {
    margin-bottom: 3rem;
}

.video-container {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(151, 114, 242, 0.08);
}

.wistia_responsive_padding {
    padding: 56.25% 0 0 0;
    position: relative;
}

.wistia_responsive_wrapper {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.wistia_embed {
    height: 100%;
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
}

/* Buttons Section */
.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    box-sizing: border-box;
    min-width: 200px;
    height: 54px;
    margin: 0;
    outline: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 2px 10px rgba(151, 114, 242, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}


.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    box-shadow: 0 4px 15px rgba(151, 114, 242, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.02);
}

/* Modal completo estilo estilo-designer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 16, 16, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(20, 20, 22, 0.95);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(151, 114, 242, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-btn i {
    font-size: 1.2rem;
}

.modal-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.modal-container .video-section {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-light);
    display: none;
    transition: all 0.3s ease;
}

.modal-container .video-section.visible {
    display: block;
}

.modal-container .video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.modal-container .video-container iframe {
    border-radius: var(--radius-lg);
}

.video-tip {
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.video-tip i {
    color: var(--primary);
    font-size: 0.9rem;
}

.modal-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.85rem;
    flex: 1;
}

.btn-guide:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-guide .fa-external-link-alt {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: 0.2rem;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.85rem;
    flex: 1;
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-video.video-visible {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.btn-video.video-visible:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    color: var(--danger);
}

.btn-video.video-visible .fa-play-circle {
    display: none;
}

.btn-video.video-visible::before {
    content: '\f04d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.connection-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.copy-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-field input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
}

.copy-field input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(151, 114, 242, 0.1);
}

.copy-btn {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.copy-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    z-index: 3000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-description {
    margin-bottom: 2rem;
}

.footer-description p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-info p {
    margin: 0;
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-primary);
    font-weight: 600;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.credits {
    color: var(--text-secondary);
    font-weight: 500;
}

.credits strong {
    color: var(--primary);
    font-weight: 700;
}

/* Mobile responsivo completo */
@media (max-width: 768px) {
    .main-content {
        margin-top: 45px;
    }

    .announcement-content {
        padding: 0.6rem 1rem;
    }

    .announcement-text {
        font-size: 0.8rem;
    }

    .player-count {
        font-size: 0.9rem;
    }

    .hero {
        background-attachment: scroll;
        padding: 2rem 0;
        min-height: 90vh;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        text-align: center;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 14px 24px;
    }

    .video-container {
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }

    .modal-container {
        width: 95%;
        max-width: 500px;
        margin: 1rem;
        max-height: 80vh;
    }

    .modal-header, .modal-content {
        padding: 1.5rem;
    }

    .connection-info {
        text-align: center;
    }

    .info-item {
        align-items: center;
    }

    .info-item label {
        text-align: center;
        margin-bottom: 0.8rem;
    }

    .copy-field {
        justify-content: center;
        width: 100%;
    }

    .copy-field input {
        text-align: center;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
    }

    .btn-video, .btn-guide {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .copy-notification {
        top: 3rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 40px;
    }

    .announcement-text {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }

    .player-count {
        font-size: 0.85rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        max-width: 260px;
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .modal-container {
        width: 98%;
        margin: 0.5rem;
        max-height: 85vh;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-header, .modal-content {
        padding: 1rem;
    }

    .tab-btn {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .tab-btn i {
        font-size: 1rem;
    }

    .connection-info {
        text-align: center;
        align-items: center;
    }

    .info-item {
        align-items: center;
        text-align: center;
    }

    .info-item label {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }

    .info-item p {
        font-size: 0.8rem;
        text-align: center;
    }

    .copy-field {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .copy-field input {
        text-align: center;
        width: 100%;
        max-width: 280px;
    }

    .copy-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.6rem;
    }

    .modal-actions {
        align-items: center;
        justify-content: center;
    }

    .btn-video, .btn-guide {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
}