/* CSS */
body {
    background-color: #1a1a2e;
    color: #e94560;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    text-align: center;
}

header, main, footer {
    width: 90%;
    max-width: 600px;
    margin: auto;
}

header {
    padding: 1rem 0;
    background-color: #141625; /* 2. ヘッダーを少し暗く色付け */
}

footer {
    color: #fff;
    margin-top: 2rem;
}

h1 {
    color: #e94560;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e94560, 0 0 40px #e94560, 0 0 50px #e94560, 0 0 60px #e94560, 0 0 70px #e94560;
    margin-bottom: 2rem;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    background-color: #ff477e;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff639d;
}

#updateButton {
    margin-top: 2rem;
}

.album-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.album-images {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.album-images img {
    flex: 0 0 auto;
    width: 100px;
    margin: 5px;
    transition: transform 0.2s;
}

.album-images img:hover {
    transform: scale(1.1);
}

.image-count {
    color: #fff;
    margin-top: 1rem;
}

.gacha-button {
    background-color: #0f3460;
    color: #e94560;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border: 2px solid #e94560;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px #e94560;
    transition: all 0.3s ease;
}

.gacha-button:hover {
    background-color: #16213e;
    box-shadow: 0 0 40px #e94560;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    z-index: 1000;
    display: none;
    border-radius: 8px;
}

.modal img {
    max-width: 500px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}
