:root {
    --bg-main: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --accent-glow: rgba(0, 113, 227, 0.08);
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-main);
    background-image: radial-gradient(#f0f0f0 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fading Header Logo - Always Visible */
.header {
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    -webkit-mask-image: none;
    mask-image: none;
}

.header img {
    width: 10vw;
    min-width: 110px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.05);
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1100px;
    padding: 20px 20px 80px 20px;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* Button (Card) container made smaller */
.service-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    aspect-ratio: 1 / 1;
    max-width: 160px;
    margin: 0 auto;
    background: linear-gradient(110deg, #f9f9f9 8%, #f2f2f2 18%, #f9f9f9 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    box-shadow: 0 15px 45px var(--accent-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.service-card:hover::after {
    opacity: 1;
}

/* Link Images made larger relative to the button */
.service-card img {
    width: 140%;
    max-width: 220px;
    height: auto;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
    z-index: 1;
    will-change: transform;
}

.service-card:hover img {
    transform: scale(1.04);
}

.main-site-card {
    border-style: dashed;
}

@media (max-width: 900px) {
    .dashboard { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .dashboard { grid-template-columns: 1fr; }
    .header img { width: 130px; }
}
