/* ログインモーダルのスタイル */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.login-modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.login-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: linear-gradient(145deg, #121212, #1e1e1e);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalPop 0.3s ease;
}

.login-modal-header {
    padding: 20px;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.login-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}

.login-modal-close:hover {
    color: #ffffff;
}

.login-modal-body {
    padding: 25px;
}

.login-modal-body p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: center;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.login-button:hover {
    transform: translateY(-3px);
}

.login-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Xログインボタン */
.login-twitter {
    background: linear-gradient(45deg, #1DA1F2, #0c85d0);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.login-twitter:hover {
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.5);
}

/* Googleログインボタン */
.login-google {
    background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
    background-size: 300% 300%;
    animation: gradient 5s ease infinite;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.login-google:hover {
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.5);
}

/* LINEログインボタン */
.login-line {
    background: linear-gradient(45deg, #06C755, #00b900);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

.login-line:hover {
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.5);
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPop {
    0% { transform: translate(-50%, -60%); opacity: 0; }
    100% { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* レスポンシブスタイル */
@media (max-width: 480px) {
    .login-modal-content {
        width: 95%;
        max-width: 350px;
    }

    .login-modal-header h3 {
        font-size: 1.3rem;
    }

    .login-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
