@font-face {
    font-family: 'CookieRun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/CookieRun-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

/* 기본 데스크탑 배경 (기존 스타일 유지) */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background: linear-gradient(to bottom, #fecbcb, #E0BBE4);
    /* 기본 배경 */
}

/* 모바일일 때 상하단 색상 분리 */
@media (max-width: 768px) {

    html,
    body {
        background: linear-gradient(to bottom,
                #fccbcd 0%,
                #fccbcd 15%,
                #fecbcb 15%,
                #E0BBE4 85%,
                #fab88a 85%,
                #fab88a 100%);
    }
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/img/main.png') no-repeat center center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 5vh;
}

.start-button {
    background-color: #a35b19;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 120px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    min-height: 4.5rem;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.start-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.start-text {
    font-size: 1.875rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-family: 'CookieRun', sans-serif;
}

.participants {
    font-size: 0.9375rem;
    color: #fff;
    font-family: 'CookieRun', sans-serif;
}

.email-link {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #fff;
}

@media (max-width: 768px) {
    .start-button {
        padding: 12px 60px;
        font-size: 1.1rem;
    }

    .start-text {
        font-size: 1.5rem;
    }

    .participants {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .start-button {
        padding: 10px 60px;
        font-size: 1rem;
    }

    .start-text {
        font-size: 1.5rem;
    }

    .participants {
        font-size: 0.9rem;
    }

    .email-link {
        font-size: 0.75rem;
    }
}