/* 폰트 정의 */
@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-3Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-7Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-9Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Paperlogy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    padding: 0;
}

/* 헤더 스타일 */
header {
    width: 100%;
    max-width: 970px;
    height: 70px;
    background: linear-gradient(135deg, #4285f4, #2b5ab3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: fixed;
    top: 10px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 auto;
    text-align: center;
}

.logo span {
    color: #ffffff;
    opacity: 0.9;
}

nav {
    display: none;
}

/* 버튼 스타일 */
.btn, .download-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    width: fit-content;
}

.btn:hover, .download-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* 애드센스 광고 섹션 스타일 */
.adsense {
    width: 100%;
    max-width: 970px;
    height: auto;
    background-color: #fff;
    padding: 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.ad-container {
    width: 100%;
    height: auto;
    min-height: 250px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.adsbygoogle {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

/* 카드 섹션 스타일 */
.cards {
    width: 100%;
    max-width: 970px;
    padding: 0 0 5px 0;
    background-color: #f8f9fa;
    margin-top: 100px;
    margin-bottom: 5px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cards h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    padding-top: 15px;
}

.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 15px 5px;
}

.card {
    flex: 1 1 280px;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#snipaste {
    border-top: 4px solid #4285f4;
}

#everything {
    border-top: 4px solid #fbbc05;
}

#photoscape {
    border-top: 4px solid #34a853;
}

.card-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-bottom: 25px;
}

.features li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34a853;
}

.download-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

#snipaste .download-btn {
    background-color: #4285f4;
}

#snipaste .download-btn:hover {
    background-color: #3367d6;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

#everything .download-btn {
    background-color: #fbbc05;
    color: #333;
}

#everything .download-btn:hover {
    background-color: #f5a800;
    box-shadow: 0 4px 12px rgba(251, 188, 5, 0.3);
}

#photoscape .download-btn {
    background-color: #34a853;
}

#photoscape .download-btn:hover {
    background-color: #2d9045;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

/* 푸터 스타일 */
footer {
    width: 100%;
    max-width: 970px;
    padding: 30px 15px;
    background-color: #ffffff;
    margin-top: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px 12px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4285f4;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #34a853;
}

.copyright {
    color: #999;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.6;
    padding: 0 15px;
}

/* 미디어 쿼리 - 모바일 반응형 */
@media only screen and (max-width: 768px) {
    body .cards {
        margin-top: 80px;
    }
    
    body header {
        height: 50px !important;
        top: 10px;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .card-container {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
    }
    
    .footer-links a {
        margin: 0 10px 10px 10px;
    }
}

@media only screen and (max-width: 480px) {
    body .cards {
        margin-top: 60px;
    }
    
    body header {
        height: 50px !important;
        top: 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .btn, .download-btn {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
    
    .cards h2, .adsense h2 {
        font-size: 1.25rem;
    }
    
    .card-container {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
    }
} 