@font-face {
    font-family: 'Google Sans';
    src: url('assets/fonts/GoogleSans-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    height: 100vh;
    background-image: url('assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Scrim overlay */
.scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Content Container */
.container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
}

/* Spacers mapped to Compose weight ratios */
.spacer-top {
    flex-grow: 1;
}

.spacer-middle {
    flex-grow: 5;
}

.spacer-bottom {
    flex-grow: 0.5;
}

.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    animation: fadeIn 1.2s ease-out;
}

/* Logo styling matching Android 100.dp height */
.logo {
    height: 100px;
    width: auto;
    filter: invert(1);
}

/* App name styling */
.app-name {
    color: #ffffff;
    font-size: 32px; /* Matches headlineLarge (32sp) */
    font-weight: 600; /* Matches SemiBold */
    letter-spacing: -0.5px;
    margin-top: 24px; /* Matches Spacer(24.dp) */
}

/* Tagline styling */
.tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px; /* Matches headlineSmall (24sp) */
    font-weight: 400; /* Matches Normal */
    letter-spacing: 0.5px;
    margin-top: 8px; /* Matches Spacer(8.dp) */
}

.download-section {
    flex-shrink: 0;
    min-height: 72px; /* Matches min = 72.dp heightIn box */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-out;
}

.google-play-badge {
    height: 54px;
    width: auto;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.2s ease;
}

.google-play-badge:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.google-play-badge:active {
    transform: scale(0.98);
}

/* Simple fade-in animation for a premium feel */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
