/* 天使のメッセージおみくじ スタイル */
@import url('angel-animation.css');
.angel-message-container {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    padding: 35px 25px;
    background: linear-gradient(135deg, #f6f9ff 0%, #e9f0fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(100, 150, 255, 0.15), 
                0 2px 8px rgba(100, 150, 255, 0.1);
    overflow: hidden;
    text-align: center;
    font-family: 'Arial', 'Hiragino Sans', 'Meiryo', sans-serif;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.angel-message-container:hover {
    transform: translateY(-5px);
}

.angel-message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.angel-character {
    position: relative;
    margin: 0 auto 25px;
    z-index: 2;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.angel-character img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 5px 15px rgba(100, 150, 255, 0.25));
    transition: transform 0.5s ease-in-out;
}

.angel-character:hover img {
    transform: scale(1.05);
}

.angel-wings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('../images/wings.png') no-repeat center;
    background-size: contain;
    opacity: 0.12;
    z-index: 1;
    animation: wing-flutter 10s infinite ease-in-out;
}

.angel-message {
    position: relative;
    z-index: 2;
    color: #445577;
}

.angel-message h3 {
    margin-bottom: 18px;
    font-size: 24px;
    color: #3a5999;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.message-text {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    margin: 0 auto;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(100, 150, 255, 0.1);
    position: relative;
    color: #445566;
}

.message-text::before,
.message-text::after {
    content: '"';
    position: absolute;
    font-size: 40px;
    color: rgba(100, 150, 255, 0.2);
    font-family: Georgia, serif;
}

.message-text::before {
    top: 0;
    left: 10px;
}

.message-text::after {
    bottom: -15px;
    right: 10px;
}

/* 羽のアニメーション */
@keyframes wing-flutter {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.12;
    }
    25% {
        transform: translate(-50%, -50%) scale(1.03) rotate(1deg);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06) rotate(0deg);
        opacity: 0.18;
    }
    75% {
        transform: translate(-50%, -50%) scale(1.03) rotate(-1deg);
        opacity: 0.15;
    }
}

/* 羽根のスタイル */
.feather {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50% 50% 0 50%;
    z-index: 1;
    opacity: 0;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* デバイス別の対応 */
@media (max-width: 767px) {
    .angel-message-container {
        padding: 25px 15px;
        margin: 20px auto;
    }

    .angel-character {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .angel-message h3 {
        font-size: 20px;
    }

    .message-text {
        font-size: 16px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .angel-message-container {
        padding: 20px 10px;
    }

    .angel-character {
        width: 100px;
        height: 100px;
    }

    .message-text {
        font-size: 15px;
        padding: 12px 15px;
    }
}
