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

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    flex: 0 0 auto;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    flex-grow: 1;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(90deg, #ffc979 0%, #fca7e8 50%, #93bdff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-button {
    background: linear-gradient(90deg, #ffc979 0%, #fca7e8 50%, #93bdff 100%);
    border: none;
    color: white;
    padding: 24px 60px;
    border-radius: 100px;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    letter-spacing: 1.6px;
    line-height: 1.3;
}

.gradient-button:hover {
    transform: translateY(-2px);
}

.header {
    background: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-header-button {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    transition: transform 0.3s ease;
    border: none;
    background: none;
    padding: 0;
    overflow: hidden;
}

.discord-header-button:hover {
    transform: translateY(-2px);
}

.discord-header-button img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* 큰 데스크톱 (1440px+) - 최대 크기 */
@media (min-width: 1440px) {
    .discord-header-button img {
        height: 80px;
    }
}

.header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
    position: relative;
    z-index: 2;
}

.logo {
    width: 644px;
    height: 151px;
    background-color: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #999;
    margin: 0 auto;
}

.footer .logo {
    width: 400px;
    height: 94px;
}

.main-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #738393;
    opacity: 0.8;
    letter-spacing: 1.6px;
}

.section {
    display: flex;
    padding: 120px 0;
    flex-direction: column;
    align-items: center;
    gap: 54px;
    align-self: stretch;
    text-align: center;
}

.section-content {
    max-width: 1536px; /* FHD 기본값 (80%) */
    width: 100%;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
}

/* QHD (2560px) 70% = 1792px */
@media (min-width: 2560px) {
    .section-content {
        max-width: 1792px;
    }
}

/* 4K (3840px) 60% = 2304px */
@media (min-width: 3840px) {
    .section-content {
        max-width: 2304px;
    }
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 2.2px;
    margin-bottom: 0;
}

.footer .section-title {
    margin-top: 0;
}

.charm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    margin-top: 54px;
}

.charm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.charm-image {
    width: 100%;
    aspect-ratio: 720/492;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.charm-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,201,121,0.1) 0%, rgba(252,167,232,0.1) 50%, rgba(147,189,255,0.1) 100%);
    border-radius: 60px;
}

.charm-icon {
    width: 120px;
    height: 120px;
    z-index: 1;
}

.charm-icon svg {
    width: 100%;
    height: 100%;
    fill: #738393;
}

.charm-title {
    font-size: 28px;
    font-weight: 800;
    color: #738393;
    letter-spacing: 1.4px;
}

.charm-description {
    font-size: 16px;
    font-weight: 600;
    color: #b1bbc6;
    letter-spacing: 0.8px;
    line-height: 1.5;
}

.bg-light {
    background: rgba(255, 255, 255, 0.1);
}

.bg-gradient {
    background: linear-gradient(90deg, rgba(255, 225, 144, 0.1) 0%, rgba(252, 167, 232, 0.1) 50%, rgba(147, 189, 255, 0.1) 100%);
}

.download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.download-button {
    background: #738393;
    color: white;
    padding: 16px;
    padding-left: 32px;
    padding-right: 48px;
    border-radius: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.3s ease;
}

.download-button div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.download-button div div:first-child {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1.2px;
    line-height: 1.3;
}

.download-button div div:last-child {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.3;
}

.download-button:hover {
    background: #5a6a7a;
}

.download-icon {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: contain;
}

.discord-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
}

.discord-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.discord-icon {
    width: 574px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.discord-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.discord-subtitle {
    font-size: 24px;
    font-weight: 800;
    color: #738393;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-align: center;
}

.mirrativ-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mirrativ-logo {
    background: linear-gradient(90deg, #29ccb1 0%, #14bdcc 100%);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mirrativ-logo img {
    width: 446px;
    height: 115px;
    object-fit: cover;
}

.feature-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border: 2px solid #29ccb1;
    border-radius: 24px;
    padding: 24px 0;
    width: 270px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.feature-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #29ccb1;
    letter-spacing: 0.85px;
    line-height: 1.3;
}

.feature-card-number {
    font-size: 36px;
    font-weight: 900;
    color: #29ccb1;
    line-height: 1.2;
}

.mirrativ-button {
    background: #29ccb1;
    color: white;
    padding: 16px 54px;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    min-width: 200px;
    transition: background-color 0.3s ease;
}

.mirrativ-button:hover {
    background: #239a84;
}

.footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 120px 100px;
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-link {
    color: #b1bbc6;
    text-decoration: underline;
    font-size: 16px;
    letter-spacing: 0.8px;
}

.copyright {
    font-size: 12px;
    color: #b1bbc6;
    letter-spacing: 0.6px;
}

.section-description {
    font-size: 16px;
    color: #738393;
    opacity: 0.8;
    letter-spacing: 0.8px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.powered-by {
    font-size: 14px;
    color: #b1bbc6;
    letter-spacing: 0.7px;
    margin-bottom: 8px;
}

.mirrativ-footer-logo {
    width: 316px;
    height: 68px;
    background: #b1bbc6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 32px auto;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
}

.footer-text-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-download-section {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-download-description {
    font-size: 24px;
    font-weight: 800;
    color: #738393;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0;
}

/* 태블릿/중간 크기 화면 대응 */
@media (max-width: 880px) {
    .section-content {
        padding: 0 40px;
    }
    
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-download-description {
        font-size: 20px;
    }
    .discord-icon {
        width: 400px;
        height: 244px;
    }
    
    .discord-subtitle {
        font-size: 20px;
    }
    .charm-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-content {
        padding: 0 30px;
    }
    
    .header {
        height: 100vh;
    }
    
    .header-content {
        gap: 50px;
    }
    
    .footer {
        padding: 80px 30px;
    }
    
    .discord-header-button {
        top: 15px;
        right: 15px;
    }
    
    .discord-header-button img {
        height: 36px;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .logo {
        width: 300px;
        height: 70px;
    }
    
    .gradient-button {
        font-size: 20px;
        padding: 16px 32px;
        line-height: 1.2;
        text-align: center;
        max-width: 90%;
    }
    
    .mirrativ-logo {
        width: 95%;
        max-width: 450px;
        padding: 35px 25px;
    }
    
    .mirrativ-logo img {
        width: 100%;
        height: auto;
        max-width: 380px;
    }
    
    .footer .logo {
        width: 280px;
        height: 66px;
    }
    
    .mirrativ-button {
        font-size: 20px;
        padding: 14px 40px;
        min-width: 160px;
    }
    
    .feature-card {
        width: 240px;
        height: 200px;
        padding: 20px 0;
    }
    
    .feature-card-number div {
        font-size: 18px !important;
    }
    
    .feature-card-number div:nth-child(2) {
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .footer-download-description {
        font-size: 18px;
    }
    .discord-icon {
        width: 320px;
        height: 195px;
    }
    
    .discord-subtitle {
        font-size: 18px;
    }
    .logo {
        width: 250px;
        height: 59px;
    }
    
    .gradient-button {
        font-size: 18px;
        padding: 14px 28px;
    }
    
    .mirrativ-logo {
        width: 90%;
        max-width: 350px;
        padding: 30px 20px;
    }
    
    .mirrativ-logo img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    .footer .logo {
        width: 220px;
        height: 52px;
    }
    
    .mirrativ-button {
        font-size: 18px;
        padding: 12px 32px;
        min-width: 140px;
    }
    
    .feature-card {
        width: 200px;
        height: 180px;
        padding: 16px 0;
    }
    
    .feature-card-title {
        font-size: 15px;
    }
    
    .feature-card-number {
        font-size: 28px;
    }
    
    .feature-card-number div {
        font-size: 20px !important;
    }
    
    .feature-card-number div:nth-child(2) {
        font-size: 24px !important;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-content {
        padding: 0 20px;
    }
    
    .header {
        height: 100vh;
    }
    
    .header-content {
        gap: 40px;
    }
    
    .footer {
        padding: 60px 20px;
    }
}