﻿/* ==========================================================================
   NextEra Energy Brand Style Homepage Design
   ========================================================================== */

:root {
    --primary-bg: #2C1810;
    --card-bg: #3D2317;
    --primary-copper: #8B0000;
    --secondary-copper: #DC143C;
    --accent-gold: #FFD700;
    --text-primary: #F5F5DC;
    --text-secondary: #D2B48C;
    --text-tertiary: #CD853F;
    --shadow-dark: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-copper: 0 2px 12px rgba(139, 0, 0, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --bg-gradient: linear-gradient(180deg, #2C1810 0%, #1A0F0A 100%);
}

/* ==========================================================================
   Page Container
   ========================================================================== */

.page-container {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-gradient);
    position: relative;
    padding-bottom: 70px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* ==========================================================================
   Header Override - 
   ========================================================================== */

.common-header {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%) !important;
    box-shadow: none !important;
    padding: 25px 0 !important;
    min-height: 110px;
    position: relative;
    z-index: 10;
    border-bottom: none;
}

.common-header::after {
    content: '';
    position: absolute;
    bottom: -130px;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    z-index: 5;
    border: none;
    box-shadow: none;
}

.common-header-content {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 480px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

.app-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.title-line {
    color: #F5F5DC;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 1;
}

.header-balance {
    color: #F5F5DC;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.header-service-btn {
    width: 50px;
    height: 50px;
    background: rgba(245, 245, 220, 0.15);
    border: 1px solid rgba(245, 245, 220, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #F5F5DC;
}

.header-service-btn:hover {
    background: rgba(245, 245, 220, 0.25);
    transform: translateY(-1px);
}

.header-service-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.header-title {
    color: #F5F5DC;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Function Buttons Section - 简化的文字按钮布局
   ========================================================================== */

.function-buttons {
    margin: 16px 16px 0 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-dark);
    overflow: hidden;
}

.two-button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--card-bg);
    gap: 1px;
    background: #333333;
}

.function-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 32px 20px;
    background: var(--card-bg);
    min-height: 100px;
    position: relative;
}

.function-btn:hover {
    transform: translateY(-2px);
}

.function-btn.recharge-btn {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.function-btn.withdraw-btn {
    background: linear-gradient(135deg, var(--secondary-copper) 0%, var(--primary-copper) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.function-btn.recharge-btn:hover {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(220, 20, 60, 0.9) 100%);
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.4);
}

.function-btn.withdraw-btn:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
}

.function-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.recharge-btn .function-label {
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.withdraw-btn .function-label {
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Banner Carousel Area - 轮播图压在红色背景上
   ========================================================================== */

.banner-section {
    margin: 0 16px;
    position: relative;
    z-index: 15;
    margin-top: -65px;
    padding-top: 65px;
}

.banner-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    min-height: 220px;
    box-shadow: var(--shadow-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 220px;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.banner-title {
    display: none;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-dots .dot.active {
    background: var(--primary-copper);
}

.default-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: #1a1a1a;
    text-align: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.default-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./uploads/banner/caterpillar-bg.jpg') center/cover;
    opacity: 0.8;
}

.default-banner .banner-content {
    position: relative;
    z-index: 2;
}

.default-banner .banner-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.default-banner .banner-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}



/* ==========================================================================
   Product Display Area - 新的卡片布局设计
   ========================================================================== */

.products-section {
    margin: 16px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.green-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-copper);
    margin-bottom: 20px;
    border-radius: 2px;
}

.products-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid #3a3a3a;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-copper);
}

/* 产品图片区域 - 黄金比例设计 */
.product-image-section {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* 产品信息区域 - 黄金比例设计 */
.product-info-section {
    padding: 20px;
    background: var(--card-bg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px 0;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
    min-width: 0;
}

.invest-count-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* 产品详情容器 - 重构后的布局 */
.product-details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.product-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.product-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #3a3a3a;
    margin-top: auto;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    align-items: flex-start;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 价格和按钮区域 - 投资按钮与总收入对齐 */

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.price-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.product-action-btn {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: #F5F5DC;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-copper);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    align-self: center;
    margin: 0 auto;
    min-height: 44px;
}

.product-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #A52A2A 0%, #FF4500 100%);
}

.product-action-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-copper);
}

.product-action-btn.is-disabled,
.product-action-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(0.2);
    transform: none;
    box-shadow: none;
}

.product-action-btn.is-disabled:hover,
.product-action-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
}

/* ==========================================================================
   Investment Button Styles
   ========================================================================== */

.invest-btn {
    width: calc(100% - 32px);
    padding: 12px 0;
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: #F5F5DC;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin: 16px;
    display: block;
    box-shadow: var(--shadow-copper);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.invest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #A52A2A 0%, #FF4500 100%);
}

.invest-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-copper);
}



/* ==========================================================================
   Loading States and Empty Data
   ========================================================================== */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #555555;
    border-top: 2px solid var(--primary-copper);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-data {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .page-container {
        background: var(--bg-gradient);
    }
    
    .common-header {
        padding: 20px 0 !important;
        min-height: 95px;
    }
    
    .common-header::after {
        bottom: -110px;
        height: 110px;
        z-index: 5;
        border: none;
        box-shadow: none;
    }
    
    .common-header-content {
        padding: 0 18px;
    }
    
    .title-line {
        font-size: 22px;
    }
    
    .header-balance {
        font-size: 26px;
    }
    
    .header-service-btn {
        width: 46px;
        height: 46px;
    }
    
    .header-service-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .banner-section {
        margin: 0 12px;
        margin-top: -55px;
        padding-top: 55px;
        z-index: 15;
    }
    
    .banner-container {
        z-index: 20;
    }
    
    .function-buttons {
        margin: 12px 12px 0 12px;
    }
    
    .function-btn {
        padding: 24px 16px;
        min-height: 80px;
    }
    
    .function-label {
        font-size: 18px;
    }
    
    .banner-container {
        min-height: 180px;
        border-radius: 12px;
    }
    
    .banner-slider {
        height: 180px;
    }
    
    .default-banner {
        height: 180px;
        border-radius: 12px;
    }
    
    .banner-item img {
        border-radius: 12px;
    }
    
    .products-section {
        margin: 12px 12px 0 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .products-container {
        gap: 12px;
    }
    
    .product-card {
        margin-bottom: 0;
        border-radius: 12px;
    }
    
    .product-image-section {
        height: 240px;
    }
    
    .product-info-section {
        padding: 16px;
        min-height: 150px;
    }
    
    .product-title {
        font-size: 16px;
    }

    .product-title-row {
        margin-bottom: 12px;
    }
    
    .product-details-container {
        gap: 12px;
    }
    
    .product-details-row {
        gap: 12px;
    }
    
    .product-bottom-row {
        gap: 12px;
        padding-top: 12px;
    }
    
    .detail-value {
        font-size: 16px;
    }
    
    .detail-label {
        font-size: 11px;
    }
    
    
    .price-value {
        font-size: 14px;
    }
    
    .product-action-btn {
        padding: 10px 24px;
        font-size: 15px;
        border-radius: 20px;
        min-height: 40px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-container {
        background: var(--bg-gradient);
    }
    
    .common-header {
        padding: 16px 0 !important;
        min-height: 85px;
    }
    
    .common-header::after {
        bottom: -90px;
        height: 90px;
        z-index: 5;
        border: none;
        box-shadow: none;
    }
    
    .common-header-content {
        padding: 0 16px;
    }
    
    .title-line {
        font-size: 20px;
    }
    
    .header-balance {
        font-size: 22px;
    }
    
    .header-service-btn {
        width: 42px;
        height: 42px;
    }
    
    .header-service-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .banner-section {
        margin: 0 8px;
        margin-top: -45px;
        padding-top: 45px;
        z-index: 15;
    }
    
    .banner-container {
        z-index: 20;
    }
    
    .function-buttons {
        margin: 8px 8px 0 8px;
    }
    
    .function-btn {
        padding: 20px 12px;
        min-height: 70px;
    }
    
    .function-label {
        font-size: 16px;
    }
    
    .banner-container {
        border-radius: 12px;
    }
    
    .default-banner {
        border-radius: 12px;
    }
    
    .banner-item img {
        border-radius: 12px;
    }
    
    .products-section {
        margin: 8px 8px 0 8px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .products-container {
        gap: 10px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image-section {
        height: 200px;
    }
    
    .product-info-section {
        padding: 14px;
        min-height: 125px;
    }
    
    .product-title {
        font-size: 15px;
    }

    .product-title-row {
        margin-bottom: 10px;
    }
    
    .product-details-container {
        gap: 10px;
    }
    
    .product-details-row {
        gap: 10px;
    }
    
    .product-bottom-row {
        gap: 10px;
        padding-top: 10px;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .detail-label {
        font-size: 10px;
    }
    
    
    .price-label {
        font-size: 11px;
    }
    
    .price-value {
        font-size: 13px;
    }
    
    .product-action-btn {
        padding: 8px 20px;
        font-size: 14px;
        border-radius: 18px;
        min-height: 36px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Investment Status and Progress Styles
   ========================================================================== */

/* Investment status styles */
.investment-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.investment-status.active {
    background: rgba(212, 165, 116, 0.2);
    color: var(--primary-copper);
}

.investment-status.completed {
    background: rgba(212, 165, 116, 0.15);
    color: var(--accent-gold);
}

/* Product header layout - removed duplicate definition */

/* Large screen image height optimization */
@media (min-width: 1024px) {
    .product-top-section {
        height: 320px;
    }
}

/* Ultra large screen adaptation */
@media (min-width: 1440px) {
    .product-top-section {
        height: 360px;
    }
}

/* Investment progress bar styles */
.investment-progress {
    margin: 16px 0 8px 0;
    padding: 0 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #3a3a3a;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Profit styles */
.profit {
    color: var(--primary-copper);
    font-weight: 600;
}

/* View more button */
.view-more-container {
    text-align: center;
    padding: 16px;
}

.view-more-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-copper);
}

.view-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.4);
}

.view-more-btn:active {
    transform: translateY(0);
}

/* Empty data styles adjustment */
.empty-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-data p {
    margin-bottom: 16px;
    font-size: 16px;
}

.view-products-btn {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-copper);
    margin-top: 16px;
}

.view-products-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.4);
}

.view-products-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   Announcement Modal - Theme Color Popup
   ========================================================================== */

.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.announcement-modal.show {
    opacity: 1;
    visibility: visible;
}

.announcement-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2C1810 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 0, 0, 0.3);
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.announcement-modal.show .announcement-content {
    transform: scale(1);
}

.announcement-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(139, 0, 0, 0.15);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    padding: 0;
}

.announcement-close:hover {
    background: rgba(139, 0, 0, 0.3);
    transform: rotate(90deg);
}

.announcement-close svg {
    width: 18px;
    height: 18px;
}

.announcement-title {
    font-size: 24px;
    font-weight: 700;
    color: #F5F5DC;
    margin: 0 0 24px 0;
    text-align: center;
    padding-right: 40px;
}

.announcement-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.3);
    transform: translateX(4px);
}

.announcement-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-copper);
    flex-shrink: 0;
    margin-top: 2px;
}

.announcement-item span {
    flex: 1;
    color: #F5F5DC;
    font-size: 15px;
    line-height: 1.6;
}

.announcement-item strong {
    color: #F5F5DC;
    font-weight: 700;
}

.announcement-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.announcement-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    box-shadow: var(--shadow-dark);
}

.announcement-btn svg {
    width: 20px;
    height: 20px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: var(--text-primary);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: #ffffff;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.announcement-btn:active {
    transform: translateY(0);
}

/* Responsive styles for announcement modal */
@media (max-width: 768px) {
    .announcement-modal {
        padding: 16px;
    }
    
    .announcement-content {
        padding: 20px;
        max-height: 85vh;
    }
    
    .announcement-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .announcement-item {
        padding: 14px;
        gap: 10px;
    }
    
    .announcement-icon {
        width: 22px;
        height: 22px;
    }
    
    .announcement-item span {
        font-size: 14px;
    }
    
    .announcement-buttons {
        gap: 10px;
    }
    
    .announcement-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .announcement-modal {
        padding: 12px;
    }
    
    .announcement-content {
        padding: 18px;
        border-radius: 12px;
    }
    
    .announcement-close {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }
    
    .announcement-close svg {
        width: 16px;
        height: 16px;
    }
    
    .announcement-title {
        font-size: 20px;
        margin-bottom: 18px;
        padding-right: 36px;
    }
    
    .announcement-body {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .announcement-item {
        padding: 12px;
        gap: 10px;
    }
    
    .announcement-icon {
        width: 20px;
        height: 20px;
    }
    
    .announcement-item span {
        font-size: 13px;
    }
    
    .announcement-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .announcement-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .announcement-btn svg {
        width: 18px;
        height: 18px;
    }
}
