@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Source+Sans+3:wght@400;600&display=swap");

:root {
    --ink: #e8ecf4;
    --slate: #1e293b;
    --mist: #e2e8f0;
    --fog: #f1f5f9;
    --teal: #14b8a6;
    --teal-dark: #0f766e;
    --blue: #2563eb;
    --rose: #f43f5e;
    --gold: #f59e0b;
}

/* Reset Mobile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--slate);
    background: radial-gradient(circle at top, #eef7ff 0%, #f8fafc 45%, #f1f5f9 100%);
    padding: 0;
    margin: 0;
}

/* Container Principal */
.mobile-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}

/* Header */
.mobile-header {
    text-align: left;
    padding: 18px 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1f2a44 55%, #0b4c5f 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    color: #f8fafc;
}

.mobile-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.25), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.28), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.2), transparent 42%);
    pointer-events: none;
}

.mobile-header>* {
    position: relative;
    z-index: 1;
    animation: riseIn 0.6s ease forwards;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.app-title {
    color: #f8fafc;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}

.app-subtitle {
    color: rgba(248, 250, 252, 0.92);
    font-size: 15px;
    margin-bottom: 8px;
}

.app-tagline {
    color: rgba(248, 250, 252, 0.86);
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

.hero-header {
    padding: 22px 18px 20px;
}

.app-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.12);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.hero-title {
    margin: 10px 0 4px;
    font-size: 34px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.92;
}

.hero-tagline {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.82;
}

.app-hero-cta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-chip {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.2);
    color: #f8fafc;
    backdrop-filter: blur(6px);
}

.chip-blue {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.4);
}

.chip-green {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.45);
}

.chip-rose {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.45);
}

/* Seções */
.section {
    background: #ffffff;
    border-radius: 1px;
    padding: 22px 0px;
    margin-bottom: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--mist);
}

.section-title {
    text-align: center;
    color: var(--teal-dark);
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f7;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

/* ==================== Prêmios em Destaque ==================== */
.premios-destaque-section {
    /* background: linear-gradient(135deg, #fefce8 0%, #fef3c7 50%, #fde68a 100%); 
    border: 2px solid #fbbf24;*/
    position: relative;
    overflow: hidden;
}

.premios-destaque-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.destaque-header {
    position: relative;
    z-index: 1;
}

.destaque-header .section-title {
    color: #92400e;
    border-bottom-color: #fbbf24;
}

.destaque-header .section-subtitle {
    color: #78350f;
    font-weight: 600;
}

.premios-destaque-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .premios-destaque-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.premio-destaque-card {
    background: white;
    border-radius: 14px;
    padding: 18px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.premio-destaque-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.premio-destaque-card.button-mega {
    border-color: #209869;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.premio-destaque-card.button-lotofacil {
    border-color: #9333ea;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.premio-destaque-card.button-lotomania {
    border-color: #ea580c;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.premio-destaque-card.button-quina {
    border-color: #0284c7;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.premio-destaque-card.button-dupla {
    border-color: #dc2626;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.premio-destaque-card.button-milionaria {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}

.premio-destaque-card.button-federal {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.premio-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.premio-content {
    text-align: center;
}

.premio-nome {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.premio-valor {
    font-family: "Sora", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #f8f9fa;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.premio-info {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: #cbd1d8;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.premio-data {
    font-weight: 600;
    color: #ecf2ff;
}

.btn-jogar-premio {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-jogar-premio:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
}

.premios-disclaimer {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.premios-disclaimer small {
    color: #78350f;
    font-size: 12px;
    line-height: 1.4;
}

.hero-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.12);
    font-size: 11px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(248, 250, 252, 0.2);
}

.hero-dot::before {
    content: "•";
    color: #22c55e;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

/* Botões de Números */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.number-button-mega {
    background: radial-gradient(circle at top, #159066, #7fc88f);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 14px rgba(15, 118, 110, 0.25);
}

.number-button-quina {
    background: linear-gradient(135deg, rgb(38, 0, 133) 0%, rgb(19, 0, 66) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 14px rgba(2, 132, 199, 0.25);
}

/* Botões de Ação */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
    background: #028a4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #0f172a;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Cards de Resultados */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.result-body {
    padding: 15px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
}

.result-label {
    color: #666;
}

.result-value {
    color: #333;
    font-weight: 500;
}

.numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
    min-height: 40px;
}

.number-badge {
    background: var(--teal-dark);
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.result-status {
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.btn-share {
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* Cores por Modalidade */
.button-mega {
    background: linear-gradient(135deg, rgb(32, 152, 105) 0%, rgb(0, 128, 96) 100%) !important;
}

.button-lotofacil {
    background: linear-gradient(135deg, rgb(147, 0, 137) 0%, rgb(75, 0, 75) 100%) !important;
}

.button-lotomania {
    background: linear-gradient(135deg, rgb(247, 129, 0) 0%, rgb(255, 165, 0) 100%) !important;
}

.button-quina {
    background: linear-gradient(135deg, rgb(38, 0, 133) 0%, rgb(19, 0, 66) 100%) !important;
}

.button-dupla {
    background: linear-gradient(135deg, rgb(138, 138, 9) 0%, rgb(85, 85, 0) 100%) !important;
}

.button-timemania {
    background: linear-gradient(135deg, rgb(255, 0, 0) 0%, rgb(128, 0, 0) 100%) !important;
}

.button-dia-de-sorte {
    background: linear-gradient(135deg, rgb(40, 167, 69) 0%, rgb(30, 126, 52) 100%) !important;
}

.button-super-sete {
    background: linear-gradient(135deg, rgb(255, 195, 0) 0%, rgb(255, 87, 51) 100%) !important;

}

.button-milionaria {
    background: linear-gradient(135deg, rgb(128, 0, 128) 0%, rgb(75, 0, 75) 100%) !important;
}

.button-federal {
    background: linear-gradient(135deg, rgb(30, 58, 138) 0%, rgb(17, 24, 39) 100%) !important;
}

/* Links de Estatística */
.stats-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.stat-link {
    background: white;
    border: 2px solid #02a057;
    color: #02a057;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.stat-link:hover {
    background: #02a057;
    color: white;
    transform: translateY(-2px);
}

/* Responsividade Adicional */
@media (max-width: 320px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .number-button {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }

    .app-title {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .mobile-container {
        max-width: 750px;
        padding: 22px;
    }

    .numbers-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .action-buttons {
        flex-direction: row;
    }
}

/* Desktop: layout mais amplo */
@media (min-width: 900px) {
    .mobile-container {
        max-width: 1100px;
        padding: 30px;
    }

    .mobile-header {
        padding: 32px 26px;
        border-radius: 20px;
    }

    .logo {
        max-width: 320px;
    }

    .section {
        padding: 30px 25px;
    }

    .results-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .action-buttons {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-links {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: fadeIn 0.4s ease-out;
}

/* Melhorias de Toque */
button,
.btn,
.stat-link {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button:active,
.btn:active,
.stat-link:active {
    transform: scale(0.98);
}

/* Scroll Suave */
html {
    scroll-behavior: smooth;
}

/* Estilos específicos para Federal nos cards de resultado */
.federal-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.federal-bilhete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.federal-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 600;
}

.federal-numero {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}
