:root {
    --Clava-Primary-500: #5AA0E1;
    --Clava-Primary-700: #1D61A0;
    --Whitebox: 384px;
    --vh: 1vh;
    --vw: 1vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, var(--Clava-Primary-500, #5AA0E1) 30%, var(--Clava-Primary-700, #1D61A0) 100%);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    color: white;
    text-align: center;
}

.clava-logo {
    width: min(300px, 30vw);
    height: auto;
    flex-shrink: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.mockup-image {
    width: min(600px, 50vw);
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.message {
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    width: min(683px, 90vw);
    font-display: swap;
}

.title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.subtitle {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.9;
    display: block;
    margin-top: 10px;
    max-width: min(800px, 85vw);
    margin-left: auto;
    margin-right: auto;
}

.open-button {
    display: inline-block;
    background: white;
    color: var(--Clava-Primary-700, #1D61A0);
    text-decoration: none;
    padding: clamp(16px, 3vw, 20px) clamp(40px, 8vw, 60px);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(18px, 3.5vw, 22px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-display: swap;
    margin-bottom: 30px;
    min-width: 280px;
    width: min(400px, 80vw);
}

.open-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.open-button:active {
    transform: translateY(0);
}

.fallback-message {
    display: none;
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 500;
    margin-top: 20px;
    padding: clamp(15px, 3vw, 20px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.fallback-link {
    color: #FFF;
    text-decoration: underline;
    font-weight: 600;
}

.download-link {
    color: #FFF;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.download-link:hover {
    opacity: 0.8;
}

.store-message {
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Hide button on desktop */
.open-button {
    display: none;
}

/* Hide store elements on desktop */
.store-message {
    display: none;
}

.store-badge-container {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .clava-logo {
        width: min(400px, 50vw);
        height: auto;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .message {
        width: 100%;
        max-width: min(350px, 85vw);
        font-size: clamp(24px, 6vw, 28px);
        line-height: 1.3;
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .title {
        font-size: clamp(24px, 6vw, 28px);
        line-height: 1.2;
        margin-bottom: 10px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .subtitle {
        font-size: clamp(14px, 3.5vw, 16px);
        line-height: 1.4;
        margin-top: 10px;
        white-space: normal;
        max-width: min(350px, 85vw);
        margin-left: auto;
        margin-right: auto;
    }

    .mockup-image {
        width: min(280px, 60vw);
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* Show button only on mobile */
    .open-button {
        display: inline-block;
        padding: clamp(14px, 3.5vw, 18px) clamp(32px, 8vw, 48px);
        font-size: clamp(16px, 4vw, 18px);
        margin-bottom: 20px;
        min-width: 240px;
        width: min(320px, 85vw);
    }

    /* Show store elements only on mobile */
    .store-message {
        display: block;
        font-size: clamp(10px, 2.5vw, 12px);
        margin-top: 10px;
        margin-bottom: 15px;
    }
} 