:root {
    --bg-dark: #0a0b10;
    --card-bg: linear-gradient(165deg, #161b22 0%, #0d1117 100%);
    --signal-blue: #2c6bed;
    --signal-blue-glow: rgba(44, 107, 237, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --font-main: 'Outfit', sans-serif;
    --radius-lg: 32px;
    --radius-md: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-lg);
}

.premium-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    color: #fff;
    padding: 20px 32px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-buy-fixed {
    position: fixed;
    bottom: 25px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2c6bed 0%, #9d50bb 100%);
    color: #fff;
    padding: 18px 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(44, 107, 237, 0.4);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.banner-locked {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
}

.banner-locked img {
    width: 100%;
    height: auto;
    display: block;
    filter: blur(5px) brightness(0.5);
    transform: scale(1.1);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lock-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.link-preview-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fade-in { animation: fadeIn 0.5s ease-out forwards; opacity: 0; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 30px 20px 140px 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-back {
    position: absolute;
    top: 25px;
    left: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}

.btn-back:hover { background: rgba(255, 255, 255, 0.1); }

.lang-dropdown {
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 100;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-menu.show { display: flex; }
.lang-option {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.lang-option:hover, .lang-option.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.splash-bg {
    position: fixed;
    inset: 0;
    background-image: url('../fundo.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.7);
    transform: scale(1.2);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
}

.splash-bg.visible { opacity: 1; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44, 107, 237, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(44, 107, 237, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44, 107, 237, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 2s linear infinite; }

.anim-progress { position: relative; overflow: hidden; }
.anim-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: flow 2s infinite;
}

@keyframes flow { to { left: 100%; } }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--signal-blue); }