@charset "utf-8";
/* OSC-LEAKS Chat Styled Version */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.4);
    --accent-red: #ff3d5a;
    --accent-green: #00d4aa;
    --accent-gold: #ffd700;
    --accent-blue: #4d9fff;
    --glow-red: rgba(255, 61, 90, 0.4);
    --glow-green: rgba(0, 212, 170, 0.4);
    --glow-gold: rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Syne', 'Space Grotesk', sans-serif;
    font-weight: 400;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 61, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 212, 170, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

.particle:nth-child(odd) {
    background: var(--accent-red);
}

.particle:nth-child(3n) {
    background: var(--accent-green);
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-red);
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-red), #ff6b6b) !important;
    color: var(--text-primary) !important;
}

.nav-cta:hover {
    box-shadow: 0 8px 30px var(--glow-red);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Chat Hero Section */
.hero-chat {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 160px 20px 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-chat h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-chat h1 .gradient {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Section Common */
section {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
    max-width: 100vw;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 100%;
    overflow: hidden;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-primary);
    max-width: 100%;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 20px auto 0;
}

/* Chat Container */
.chat-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 61, 90, 0.02) 50%, transparent 100%);
}

.chat-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.chat-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), var(--accent-gold), transparent);
    opacity: 0.6;
}

.chat-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 61, 90, 0.1), transparent 60%);
    pointer-events: none;
}

.chat-container:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow-red);
}

/* Chat Tabs */
.chat-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chat-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 2rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px 12px 0 0;
    font-family: 'Space Grotesk', sans-serif;
}

.chat-tab.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
    background: rgba(255, 61, 90, 0.1);
}

.chat-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--bg-glass);
}

/* Chat Content */
.chat-content-container {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.chat-content-container.active {
    display: block;
}

.chat-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    position: relative;
    transition: all 0.4s ease;
}

.chat-wrapper:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.chat-wrapper iframe,
.chat-wrapper .minnit-chat-sembed {
    width: 100%;
    height: 100%;
    border: none;
}

.chat-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.chat-info a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.chat-info a:hover {
    color: var(--accent-gold);
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 2rem;
}

.back-button:hover {
    background: var(--accent-red);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Webrings Iframe Container */
.webrings-iframe-container {
    margin-top: 4rem;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    position: relative;
}

.webrings-iframe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
    opacity: 0.6;
}

.webrings-iframe-container iframe {
    width: 100%;
    height: 100vh;
    border: none;
    display: block;
}

/* Footer */
footer {
    position: relative;
    z-index: 2;
    padding: 80px 60px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-glass);
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-column h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent-red);
    background: rgba(255, 61, 90, 0.1);
    color: var(--accent-red);
    transform: translateY(-4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    section {
        padding: 100px 40px;
    }
    
    .chat-container {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 920px) {
    header {
        padding: 15px 24px;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 8px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-glass);
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        width: 100%;
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-chat {
        padding: 140px 20px 40px;
    }
    
    section {
        padding: 80px 24px;
    }
    
    .chat-tabs {
        flex-direction: column;
    }
    
    .chat-tab {
        text-align: left;
        border-radius: 12px;
        border-bottom: none;
        margin-bottom: 0.5rem;
    }
    
    .chat-wrapper {
        height: 400px;
    }
    
    .webrings-iframe-container iframe {
        height: 80vh;
    }
    
    footer {
        padding: 60px 24px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-chat {
        padding: 120px 15px 30px;
    }
    
    .hero-chat h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .chat-container {
        padding: 20px 15px;
    }
    
    .chat-wrapper {
        height: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .webrings-iframe-container iframe {
        height: 60vh;
    }
}

/* Previne rolagem horizontal */
body, html {
    overflow-x: hidden;
    max-width: 100%;
}

/* Garante que containers não excedam a largura da tela */
section, .chat-container, .webrings-iframe-container {
    max-width: 100vw;
    box-sizing: border-box;
}