:root {
    --primary-gradient: linear-gradient(135deg, #8A2BE2, #000080);
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --accent-color: #00f2fe;
    --glass-blur: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Alinhado ao topo para evitar cortes */
    background: var(--primary-gradient);
    background-attachment: fixed;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 4rem 1.5rem; /* Aumentado padding para garantir respiro no topo e rodapé */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centraliza o card dentro do container */
    gap: 2rem;
    animation: fadeIn 1s ease-out;
    min-height: 100vh;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 2rem;
    padding: 3rem 2rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    /* Removido overflow: hidden se houver */
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.icon-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

#app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    z-index: 2;
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.description-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px;
    margin-top: -1rem;
}

.description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.data-usage-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 1.2rem;
    width: 100%;
    max-width: 480px;
    margin-top: -1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-usage-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.data-usage-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    margin-bottom: 0.8rem;
}

.data-usage-text:last-child {
    margin-bottom: 0;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 320px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.8rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #000080;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.secondary-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.primary-btn:hover {
    background: #fff;
}

.secondary-btn:hover {
    background: rgba(43, 85, 206, 0.3);
    border-color: #8A2BE2;
}

.btn-icon {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.footer {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.privacy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.privacy-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Privacy Page Specifics */
.policy-content {
    text-align: left;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 1rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.policy-content::-webkit-scrollbar {
    width: 6px;
}

.policy-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.policy-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--accent-color);
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.back-btn {
    margin-top: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

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

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 2.5rem 1.5rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .icon-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .btn {
        padding: 1rem 1.5rem;
    }
}
