:root {
    --vilian-blue: #0209f4;
    --vilian-light: #eef0ff;
    --bg-body: #f8f9fc;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: #333;
    overflow-x: hidden;
}

/* Navbar Customizada */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(2, 9, 244, 0.1);
}

.navbar-brand img {
    height: 35px; /* Ajuste conforme necessário para o logo */
}

/* Hero Section */
.hero-section {
    padding: 80px 0 40px;
    text-align: center;
}

.hero-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.hero-subtitle {
    color: #666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.software-house-tag {
    background-color: var(--vilian-light);
    color: var(--vilian-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Cards das Aplicações */
.app-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 9, 244, 0.15);
}

.app-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--vilian-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.app-card:hover .app-icon-wrapper {
    background: var(--vilian-blue);
}

.app-icon {
    font-size: 1.8rem;
    color: var(--vilian-blue);
    transition: color 0.3s ease;
}

.app-card:hover .app-icon {
    color: white;
}

.app-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.app-desc {
    font-size: 0.85rem;
    color: #95a5a6;
}

/* Estilização dos Modais (As Apps) */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
}

.btn-vilian {
    background-color: var(--vilian-blue);
    color: white;
    border-radius: 10px;
    padding: 10px 25px;
    border: none;
    transition: opacity 0.2s;
}

.btn-vilian:hover {
    background-color: #0207bf;
    color: white;
}

/* Estilos Específicos das Apps */

/* Calculadora */
.calc-btn {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    border: none;
    background-color: #f1f3f5;
    color: #333;
    font-weight: 600;
}
.calc-btn:hover { background-color: #e9ecef; }
.calc-btn.operator { background-color: var(--vilian-light); color: var(--vilian-blue); }
.calc-btn.equal { background-color: var(--vilian-blue); color: white; }


#calc-display {
    width: 100%;
    height: 60px;
    font-size: 28px;
    text-align: right;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #f8f9fa;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Evita que o texto estoure o input */
#calc-display::-webkit-scrollbar {
    display: none; /* Oculta scrollbar caso apareça */
}

/* Loterias */
.lottery-ball {
    width: 50px;
    height: 50px;
    background: var(--vilian-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 5px;
    box-shadow: 0 4px 10px rgba(2, 9, 244, 0.3);
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 30px 0;
    background: white;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}

.link-reset {
    color: inherit;            /* mantém a cor do elemento pai */
    text-decoration: none;     /* remove sublinhado */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;           /* mantém cursor de link */
}

.link-reset:hover,
.link-reset:focus,
.link-reset:active,
.link-reset:visited {
    color: inherit;
    text-decoration: none;
    outline: none;
}
