/* Pretendard GOV Font Import */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-gov.min.css');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: -1px;
}

/* Base Styles */
:root {
    --gradient-start: #1d2028;
    --gradient-end: #736bfb;
    --text-primary: #ffffff;
}

html {
    font-size: 14px;
}

body {
    font-family: "Pretendard GOV Variable", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(0deg, var(--gradient-start) 50%, var(--gradient-end) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2em 0;
    scrollbar-width: thin;
}

/* Layout */
.container {
    text-align: center;
    padding: 2em;
}

/* Typography */
h1 {
    font-size: 4em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.slogan {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 4em;
    opacity: 0.7;
    letter-spacing: 3px;
}

/* Apps Section */
.apps-section {
    margin: 4em auto 0;
    width: 100%;
    max-width: 800px;
}

.apps-section h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    opacity: 0.9;
}

.apps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    padding: 0 2em;
    justify-content: center;
}

/* App Card */
.app-card {
    backdrop-filter: blur(10em);
    background-color: #ffffff05;
    border-radius: 20px;
    padding: 2em;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: calc((100% - 2em) / 2);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    width: 100%;
    height: 100%;
}
.icon-placeholder > img{
    width: 100%;
}
.app-name {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0;
}

.app-description {
    font-size: 0.95em;
    opacity: 0.7;
    margin: 0;
    text-align: center;
    min-height: 2.5em;
}

/* App Status Badge */
.app-status {
    padding: 0.5em 1.2em;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.app-status.released {
    background: rgba(76, 175, 80, 0.2);
    color: #a8e6a1;
}

.app-status.coming-soon {
    background: rgb(219 219 219 / 20%);
    color: #cfcfcf;
}

/* Store Links */
.store-links {
    display: flex;
    gap: 0.8em;
    margin-top: 0.5em;
    flex-wrap: wrap;
    justify-content: center;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.7em 1.2em;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
}

.store-btn svg {
    width: 18px;
    height: 18px;
}

.store-btn.playstore {
    background: rgb(66 133 244 / 15%);
    color: #4285F4;
}

.store-btn.playstore:hover {
    background: rgb(66 133 244 / 25%);
    transform: translateY(-2px);
}

.store-btn.appstore {
    background: rgba(10, 132, 255, 0.15);
    color: #66b3ff;
}

.store-btn.appstore:hover {
    background: rgba(10, 132, 255, 0.25);
    transform: translateY(-2px);
}

/* Footer */
footer {
    font-size: 0.8em;
    opacity: 0.8;
    letter-spacing: 1px;
    padding: 2em 0;
    text-align: center;
    margin: 4em auto;
    width: 100%;
}

@media screen and (max-width: 650px) {
    html {
        font-size: 10px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        padding: 0 1em;
        gap: 1.5em;
    }

    .apps-section {
        margin-top: 3em;
    }

    .store-links {
        flex-direction: column;
        width: 100%;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }
}