/* 全局样式 */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #ff9800;
    --secondary-dark: #f57c00;
    --secondary-light: #ffb74d;
    --mobile-color: #1e88e5;
    --unicom-color: #00b158;
    --telecom-color: #eb6100;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #757575;
    --background-light: #f5f5f5;
    --background-dark: #263238;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 10px 20px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --card-radius: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0.1;
    z-index: -1;
    border-radius: var(--border-radius);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* 数据更新时间样式 */
.update-time {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.8;
}

.update-time i {
    margin-right: 6px;
    color: var(--primary-color);
}

.update-time span {
    font-weight: 400;
}

/* 标签页样式 */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 15px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.tab-btn {
    padding: 12px 24px;
    margin: 0 5px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
    border-radius: 30px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--text-light);
}

.tab-btn.active::before {
    opacity: 1;
}

/* 标签页内容 */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* 卡片容器 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

/* 运营商头部容器样式 */
.operator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* 推荐指数样式 */
.recommendation-score {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* 防止在小屏幕上被压缩 */
}

.stars-container {
    display: flex;
    align-items: center;
}

.stars-container i {
    color: #FFD700;
    /* 金色星星 */
    font-size: 14px;
    margin: 0 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stars-container .far.fa-star {
    color: #D3D3D3;
    /* 浅灰色未填充星星 */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card-main {
    padding: 25px 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.operator {
    display: flex;
    align-items: center;
}

.operator-logo {
    width: 70px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
}

.operator-tag {
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.operator-tag.mobile {
    background-color: var(--mobile-color);
}

.operator-tag.unicom {
    background-color: var(--unicom-color);
}

.operator-tag.telecom {
    background-color: var(--telecom-color);
}

/* 卡名称样式 */
.card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 10px 0 5px;
    position: relative;
    /* 固定2行文字高度，保持布局一致性 */
    min-height: 2.8rem;
    /* 约等于2行文字的高度 (1.2rem * 1.4 line-height * 2行) */
    max-height: 2.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 最多显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    /* 长单词自动换行 */
}

.card-name::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

/* 价格区域固定高度 */
.price {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 水平居中 */
    margin: 10px 0 20px 0;
    /* 上10px 右0 下20px 左0 */
    min-height: 60px;
    /* 固定最小高度，适合两行 */
    max-height: 60px;
    /* 固定最大高度 */
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 5px;
    line-height: 1.2;
    text-align: center;
    /* 文本居中 */
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 当金额文本过长时自动缩小字体 */
.amount.long-text {
    font-size: 2rem;
}

.amount.very-long-text {
    font-size: 1.7rem;
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
}

.features {
    display: flex;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature i {
    color: var(--primary-color);
}

.card-details {
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
    position: relative;
}

/* 卡片详情描述固定高度 */
.card-details p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    min-height: 50px;
    /* 固定最小高度 */
    max-height: 50px;
    /* 固定最大高度 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 年龄段样式 - 保留用于向后兼容 */
.age-range {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.age-range i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* 信息标签区域 - 新的优雅设计 */
.info-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

/* 单个信息标签样式 */
.info-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    padding: 6px 0;
    transition: all 0.2s ease;
}

.info-tag:hover {
    color: var(--text-dark);
}

/* FontAwesome图标样式 */
.info-tag i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* SVG图标样式 */
.info-tag .info-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.info-tag:hover .info-icon {
    opacity: 1;
}

/* 响应式设计 - 在较大屏幕上使用网格布局 */
@media (min-width: 480px) {
    .info-tags {
        grid-template-columns: 1fr 1fr;
        gap: 10px 15px;
    }

    .info-tag:first-child {
        grid-column: 1 / -1;
        /* 年龄范围占满整行 */
    }
}

.tag {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-light);
}

.tag.limited {
    background: linear-gradient(45deg, #ff9800, #ff5722);
}

.tag.hot {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

.tag.new {
    background: linear-gradient(45deg, #4caf50, #2e7d32);
}

.tag.special {
    background: linear-gradient(45deg, #9c27b0, #7b1fa2);
}

.tag.premium {
    background: linear-gradient(45deg, #ffc107, #ff8f00);
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn-order {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-light);
    text-align: center;
    min-width: 120px;
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* 返现标签基础样式 */
.rebate-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 10;
    transition: all var(--transition-fast);
}

.rebate-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.rebate-tag i {
    font-size: 0.75rem;
    color: #fff;
}

/* 方案一：按钮上方中间 */
.rebate-above-button {
    position: relative;
    margin: 0 auto 10px auto;
    width: fit-content;
}

/* 方案二：右上角固定（推荐） */
.rebate-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 15;
}

/* 响应式适配 */
@media (max-width: 576px) {
    .rebate-tag {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .rebate-corner {
        top: 12px;
        right: 12px;
    }
}

/* 推荐模块 */
.recommendations {
    margin-top: 50px;
    padding: 30px 0;
    position: relative;
}

.recommendations h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.carousel-container {
    position: relative;
    padding: 0 40px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    padding: 10px 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 250px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.mini-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-normal);
    height: 100%;
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mini-card-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mini-price {
    font-weight: 700;
    color: var(--text-dark);
}

.mini-card-body {
    padding: 15px;
    position: relative;
}

.mini-card-body p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* 联系区域 */
.contact-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

.qr-code {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: transform var(--transition-normal);
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-code img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.qr-code p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.feedback-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform var(--transition-fast);
}

.feedback-btn:hover {
    transform: scale(1.1);
}

.feedback-btn i {
    font-size: 1.2rem;
}

.feedback-btn span {
    font-size: 0.8rem;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

/* 当模态框显示时，使用flex布局居中 */
.modal.show,
.modal[style*="block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.4s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

.close:hover {
    color: var(--text-dark);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* 二维码模态框专用样式 */
.qr-modal-content {
    max-width: 400px;
    text-align: center;
}

.qr-modal-body h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.qr-code-large {
    padding: 20px;
}

.qr-code-large img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 15px;
}

.qr-code-large p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

/* 立即办理模态框专用样式 */
.order-modal-content {
    max-width: 450px;
    text-align: center;
}

.order-modal-body h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.order-modal-desc {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 25px;
}

.order-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* 单个按钮时居中 */
.order-buttons-container.single-button {
    align-items: center;
}

/* 多个按钮时均分布局 */
.order-buttons-container.multiple-buttons {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
}

.order-action-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-light);
    text-align: center;
    min-width: 120px;
    border: none;
    cursor: pointer;
}

.order-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
    text-decoration: none;
}

/* 多个按钮时的样式调整 */
.order-buttons-container.multiple-buttons .order-action-btn {
    flex: 1;
    max-width: 140px;
    margin: 0 5px;
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn,
.btn-submit {
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-light);
    display: block;
    margin: 0 auto;
}

.submit-btn:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* 提示框 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4caf50;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    z-index: 2000;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    font-size: 1.2rem;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 15px;
        margin-bottom: 5px;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    /* 响应式运营商头部样式 */
    .operator-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .recommendation-score {
        padding: 4px 8px;
    }

    .stars-container i {
        font-size: 12px;
    }

    .contact-container {
        right: 20px;
        bottom: 20px;
    }

    .qr-code img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .update-time {
        font-size: 0.8rem;
        margin-top: 8px;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        width: 200px;
    }

    .contact-container {
        right: 15px;
        bottom: 15px;
    }

    .qr-code {
        display: none;
    }

    .modal-content {
        padding: 20px;
    }

    /* 立即办理模态框移动端适配 */
    .order-modal-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .order-buttons-container.multiple-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .order-buttons-container.multiple-buttons .order-action-btn {
        max-width: none;
        margin: 0;
        width: 100%;
    }
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 粒子效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(30px);
    }

    50% {
        transform: translateY(-50px) translateX(-20px);
    }

    75% {
        transform: translateY(-20px) translateX(-40px);
    }
}