/* Fade-in animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Background */
body {
    background-color: black;
    background-image: linear-gradient(to top right, rgba(149, 195, 82, 0.35) 0%, rgba(120, 64, 180, 0.55) 100%);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Mulish', sans-serif;
    padding: 24px;
}

h1 {
    color: white;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.brand-logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .brand-logo {
        margin-left: 0;
    }
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Translucent content box */
.content-box {
    background-color: rgba(31, 31, 31, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    text-align: center;
    max-width: 980px;
    width: min(95%, 980px);
    overflow: visible;
    animation: fadeInUp 0.5s ease both;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-panel {
    width: 100%;
}

/* Base button */
.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 15px;
    background-color: #7840B4;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    cursor: pointer;
}

.button:hover {
    background-color: #A855D4;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(120, 64, 180, 0.5);
    color: white;
}

.button:active {
    transform: translateY(0px) scale(0.97);
    box-shadow: 0 2px 8px rgba(120, 64, 180, 0.4);
}

.button:focus-visible {
    outline: 3px solid #A855D4;
    outline-offset: 3px;
}

.button img {
    object-fit: contain;
    margin-bottom: 8px;
    width: 56px;
    height: 56px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    width: 100%;
}

.service-tile {
    width: 100%;
}

.btn-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.btn-hint {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.03em;
    opacity: 0.65;
    margin-top: 4px;
    text-transform: uppercase;
}

/* All buttons same size */
.btn-large,
.btn-small {
    min-height: 130px;
    padding: 24px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .btn-large,
    .btn-small {
        min-height: 100px;
        padding: 18px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        text-align: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .btn-large,
    .btn-small {
        min-height: 115px;
        padding: 20px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}
