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

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: url("../image/background.png") no-repeat center center;
    background-size: cover;
}
.pc-mode body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.pc-mode .app-container {
    width: 375px;
    max-width: 100%;
    height: 812px;
    max-height: calc(100vh - 40px);
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
    z-index: 1;
}

.app-container {
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    z-index: 1;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.enter-img-btn {
    display: inline-block;
    text-decoration: none;
}
.enter-img-btn img {
    display: block;
    border: none;
}
.logo {
width: 60px;
height: 60px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-wrapper {
position: absolute;
top: 20px;
left: 20px;
z-index: 10;
display: flex;
align-items: center;
gap: 12px;
}

.logo-text {
display: flex;
flex-direction: column;
gap: 4px;
color: #ffffff;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.logo-name {
font-size: 18px;
font-weight: bold;
}

.logo-desc {
font-size: 14px;
opacity: 0.9; 
font-weight: bold;
}
@media (max-width: 375px) {
    .logo-name {
        font-size: 16px;
    }
    .logo-desc {
        font-size: 12px;
    }
}

@media (min-width: 428px) {
    .logo-name {
        font-size: 20px;
    }
    .logo-desc {
        font-size: 15px;
    }
}
.slide-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; 
}

.slide-list {
    width: 100%;
    height: calc(3 * 100%);
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.5s ease-in-out;
}

.slide-item {
    width: 100%;
    height: calc(100% / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 80px; 
    padding-bottom: 20px;
    overflow: hidden; 
}

.text-img {
    width: 88%;
    margin-bottom: 20px;
    animation: scaleAnimation 1.5s ease-in-out infinite alternate;
    overflow: hidden;
}

.text-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-img {
    width: 100%;
}
.product-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes scaleAnimation {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.page-indicator {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.indicator-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

.footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    gap: 10px;
}

.footer-img {
    width: 100%;
}
.footer-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.btn-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.enter-img-btn {
    flex: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}
.enter-img-btn img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.enter-img-btn:hover {
    transform: scale(0.98);
}

@media (max-width: 375px) {
    .logo {
        width: 50px;
        height: 50px;
    }
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
    .enter-img-btn img {
        max-height: 35px;
    }
    .slide-item {
        padding-top: 60px; 
    }
}

@media (min-width: 428px) {
    .enter-img-btn img {
        max-height: 45px;
    }
    .slide-item {
        padding-top: 100px; 
    }
}
#install-guide-btn {
    position: fixed;
    right: 20px;
    top: 36%;
    z-index: 1000;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 50px;
    text-decoration: none;
    user-select: none;
}
.blink-button {
    animation: colorChange 4s infinite;
}
@keyframes colorChange {
    0% { background-color: yellow; color: #333; }
    50% { background-color: red; color: white; }
    100% { background-color: yellow; color: #333; }
}
#guide-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}
#guide-modal-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
#guide-modal-img {
    width: 100%;
    height: auto;
    display: block;
}
#guide-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: background-color 0.2s ease;
}
#guide-modal-close:hover {
    background: rgba(255, 0, 0, 0.7);
}
#guide-modal-mask.active {
    display: flex;
    opacity: 1;
}
#guide-modal-mask.active #guide-modal-content {
    transform: scale(1);
}
.enter-btn {
    flex: 1;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.enter-btn:hover {
    border-color: rgba(255, 255, 255, 1);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}