/* =====================================================
   ログインページ専用スタイル
===================================================== */

.login-page {
    background: #0f0f23;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #0b0c12;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideUp 0.4s ease;
}

.logo-section {
    text-align: center;
    margin-bottom: 24px;
}

.gogo-lamp-login {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: #0b0c12;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.gogo-lamp-login::after {
    content: '';
    width: 90%;
    height: 90%;
    background: url('../images/SCUELA.png') center/contain no-repeat;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.4));
}

.game-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.game-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.login-content {
    text-align: center;
    margin-bottom: 30px;
}

.login-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 32px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5);
}

.discord-icon {
    width: 28px;
    height: 28px;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.discord-user-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.discord-user-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.discord-username {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.discord-tag {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.logged-in-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.primary-btn,
.ghost-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.primary-btn {
    background: var(--gradient-pink);
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 107, 157, 0.35);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 157, 0.45);
}

.ghost-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* 装飾 */
.decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-symbol {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.s1 { top: 10%; left: 10%; animation-delay: 0s; color: var(--gogo-glow); font-weight: 900; }
.s2 { top: 20%; right: 15%; animation-delay: 1s; }
.s3 { bottom: 30%; left: 8%; animation-delay: 2s; }
.s4 { bottom: 15%; right: 10%; animation-delay: 3s; }

/* レスポンシブ */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: center;
    }
}
