﻿:root {
    --exp-bg-page: #E8EAED;
    --exp-bg-card: #FFFFFF;
    --exp-bg-muted: #D1D5DB;
    --exp-bg-sand: #F0EBE3;
    --exp-copper: #B87333;
    --exp-copper-light: #D4956A;
    --exp-copper-dark: #9A5F28;
    --exp-charcoal: #1F2937;
    --exp-text-primary: #1F2937;
    --exp-text-secondary: #6B7280;
    --exp-text-muted: #9CA3AF;
    --exp-forest: #2D4A3E;
    --exp-border: #1F2937;
    --exp-topo: rgba(184, 115, 51, 0.08);
    --exp-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --exp-mono: 'JetBrains Mono', monospace;
    --exp-shadow-hard: 4px 4px 0 #D1D5DB;
}

.theme-expedition {
    background-color: var(--exp-bg-page) !important;
    background-image: none !important;
    color: var(--exp-text-primary);
    font-family: var(--exp-font);
}

.theme-expedition .app-container {
    min-height: 100vh;
    background: var(--exp-bg-page);
    padding-bottom: 80px;
    position: relative;
    overflow-x: hidden;
}

.expedition-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: var(--exp-bg-page);
}

.topo-pattern {
    position: absolute;
    inset: 0;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23B87333' stroke-opacity='0.12' stroke-width='1'%3E%3Cellipse cx='200' cy='200' rx='180' ry='60'/%3E%3Cellipse cx='200' cy='200' rx='140' ry='45'/%3E%3Cellipse cx='200' cy='200' rx='100' ry='32'/%3E%3Cellipse cx='200' cy='200' rx='60' ry='18'/%3E%3Cellipse cx='80' cy='120' rx='100' ry='35'/%3E%3Cellipse cx='320' cy='280' rx='90' ry='28'/%3E%3Cellipse cx='150' cy='320' rx='70' ry='22'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 400px;
}

.theme-expedition .app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.theme-expedition .app-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--exp-copper);
}

.theme-expedition .header-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-expedition .brand-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.theme-expedition .brand-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-expedition .brand-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--exp-charcoal);
    margin: 0;
    font-family: var(--exp-font);
    letter-spacing: 4px;
    line-height: 1.1;
}

.theme-expedition .brand-tagline {
    font-size: 9px;
    font-weight: 600;
    color: var(--exp-copper);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0;
}

.theme-expedition .balance-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 6px;
}

.theme-expedition .balance-label {
    font-size: 11px;
    color: var(--exp-text-secondary);
    font-weight: 500;
}

.theme-expedition .balance-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--exp-copper);
    font-family: var(--exp-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.theme-expedition .service-button {
    width: 42px;
    height: 42px;
    background: #FFFFFF;
    border: 2px solid var(--exp-charcoal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    padding: 0;
    box-shadow: var(--exp-shadow-hard);
}

.theme-expedition .service-button:hover {
    background: var(--exp-bg-sand);
    border-color: var(--exp-copper);
    transform: none;
    box-shadow: 2px 2px 0 var(--exp-bg-muted);
}

.theme-expedition .service-button svg {
    width: 18px;
    height: 18px;
    color: var(--exp-charcoal);
    transition: color 0.2s ease;
}

.theme-expedition .service-button:hover svg {
    color: var(--exp-copper);
    transform: none;
}

.theme-expedition .main-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    margin-bottom: 28px;
    padding-top: 20px;
}

.hero-banner {
    position: relative;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--exp-charcoal);
    box-shadow: var(--exp-shadow-hard);
}

.banner-explore-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: var(--exp-copper);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.banner-wrapper {
    position: absolute;
    inset: 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(31, 41, 55, 0.55) 100%);
}

.default-banner {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    background: var(--exp-charcoal);
    position: relative;
    padding: 20px;
}

.banner-content {
    text-align: left;
    z-index: 2;
}

.banner-title {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    font-family: var(--exp-font);
    letter-spacing: 3px;
}

.banner-subtitle {
    font-size: 10px;
    color: var(--exp-copper-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.banner-indicators {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.indicator.active {
    background: var(--exp-copper);
    border-color: var(--exp-copper);
    transform: none;
    box-shadow: none;
}

.banner-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--exp-bg-sand);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--exp-charcoal);
    margin: 0;
    font-family: var(--exp-font);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-accent {
    flex: 1;
    height: 2px;
    background: var(--exp-charcoal);
    border-radius: 0;
    box-shadow: none;
}

.actions-section {
    margin-bottom: 32px;
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 14px 16px;
    background: var(--exp-bg-card);
    border: 2px solid var(--exp-charcoal);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--exp-shadow-hard);
    text-align: left;
    border-left-width: 4px;
}

.action-row.recharge-row {
    border-left-color: var(--exp-copper);
}

.action-row.withdraw-row {
    border-left-color: var(--exp-forest);
}

.action-row:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--exp-bg-muted);
}

.action-row-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--exp-charcoal);
    border-radius: 8px;
    background: var(--exp-bg-sand);
}

.action-row-icon svg {
    width: 20px;
    height: 20px;
}

.recharge-row .action-row-icon svg {
    color: var(--exp-copper);
}

.withdraw-row .action-row-icon svg {
    color: var(--exp-forest);
}

.action-row-content {
    flex: 1;
    min-width: 0;
}

.action-row-content .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--exp-charcoal);
    margin: 0 0 2px 0;
}

.action-row-content .card-description {
    font-size: 12px;
    color: var(--exp-text-secondary);
    margin: 0;
    line-height: 1.3;
}

.action-row-arrow {
    font-size: 18px;
    font-weight: 400;
    color: var(--exp-text-muted);
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.action-row:hover .action-row-arrow {
    color: var(--exp-copper);
    transform: translateX(3px);
}

.investment-section {
    margin-bottom: 32px;
}

.investment-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 12px;
    color: var(--exp-text-secondary);
}

.loading-state p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--exp-text-secondary);
    font-size: 13px;
    text-align: center;
}

.product-card {
    background: var(--exp-bg-card);
    border: 2px solid var(--exp-charcoal);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--exp-shadow-hard);
    opacity: 0;
    transform: translateY(12px);
    animation: expSlideIn 0.45s ease forwards;
    height: auto;
    display: flex;
    flex-direction: column;
}

.product-card[data-idx="0"] { animation-delay: 0s; }
.product-card[data-idx="1"] { animation-delay: 0.08s; }
.product-card[data-idx="2"] { animation-delay: 0.16s; }
.product-card[data-idx="3"] { animation-delay: 0.24s; }
.product-card[data-idx="4"] { animation-delay: 0.32s; }
.product-card[data-idx="5"] { animation-delay: 0.4s; }

@keyframes expSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--exp-bg-muted);
    border-color: var(--exp-charcoal);
}

.card-image-section {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.image-overlay {
    display: none;
}

.card-info-section {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--exp-charcoal);
    margin: 0;
    line-height: 1.25;
    text-shadow: none;
}

.product-divider {
    height: 2px;
    background: var(--exp-copper);
    width: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
    border: 1.5px solid var(--exp-charcoal);
    border-radius: 8px;
    overflow: hidden;
}

.info-item {
    text-align: center;
    padding: 10px 6px;
    background: var(--exp-bg-card);
    border: none;
    border-radius: 0;
    border-right: 1.5px solid var(--exp-charcoal);
    border-bottom: 1.5px solid var(--exp-charcoal);
    transition: background 0.2s ease;
}

.info-item:nth-child(2n) {
    border-right: none;
}

.info-item:nth-child(n + 3) {
    border-bottom: none;
}

.info-item.primary {
    background: rgba(184, 115, 51, 0.08);
    border-color: var(--exp-charcoal);
}

.info-item.highlight {
    background: rgba(45, 74, 62, 0.08);
    border-color: var(--exp-charcoal);
    box-shadow: none;
}

.info-item:hover {
    transform: none;
    box-shadow: none;
    background: var(--exp-bg-sand);
}

.info-label {
    font-size: 8px;
    color: var(--exp-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--exp-charcoal);
    font-family: var(--exp-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.info-item.primary .info-value {
    color: var(--exp-copper);
    font-size: 13px;
}

.info-item.highlight .info-value {
    color: var(--exp-forest);
    text-shadow: none;
    font-size: 13px;
}

.invest-button {
    width: 100%;
    padding: 14px 16px;
    background: var(--exp-copper);
    border: 2px solid var(--exp-charcoal);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 3px 3px 0 var(--exp-charcoal);
    position: relative;
    overflow: hidden;
    font-family: var(--exp-font);
}

.invest-button::before {
    display: none;
}

.invest-button:hover {
    background: var(--exp-copper-dark);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--exp-charcoal);
}

.invest-button:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--exp-charcoal);
}

.pulse-ring {
    width: 32px;
    height: 32px;
    border: 2px solid var(--exp-bg-muted);
    border-top-color: var(--exp-copper);
    border-radius: 50%;
    animation: expSpin 0.8s linear infinite;
    box-shadow: none;
}

@keyframes expSpin {
    to { transform: rotate(360deg); }
}

.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: #FFFFFF;
    color: var(--exp-charcoal);
    padding: 14px 24px;
    border-radius: 8px;
    border: 2px solid var(--exp-charcoal);
    box-shadow: var(--exp-shadow-hard);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    max-width: 90%;
    text-align: center;
    font-weight: 600;
    font-family: var(--exp-font);
    font-size: 14px;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
    border-color: var(--exp-forest);
    color: var(--exp-forest);
    background: #FFFFFF;
    box-shadow: var(--exp-shadow-hard);
}

.toast-notification.error {
    border-color: #B91C1C;
    color: #B91C1C;
    background: #FFFFFF;
    box-shadow: var(--exp-shadow-hard);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(232, 234, 237, 0.92);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-overlay.show {
    display: flex;
}

.theme-expedition .bottom-navigation.exp-nav {
    height: 64px !important;
    background: #FFFFFF !important;
    border-top: 2px solid var(--exp-charcoal) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 6px 0 !important;
}

.theme-expedition .bottom-navigation.exp-nav .nav-item {
    min-width: 52px !important;
    min-height: 48px !important;
    padding: 4px !important;
    border-radius: 0 !important;
    color: var(--exp-text-secondary) !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
    position: relative !important;
    gap: 0 !important;
}

.theme-expedition .bottom-navigation.exp-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--exp-copper);
    transition: transform 0.2s ease;
}

.theme-expedition .bottom-navigation.exp-nav .nav-item.active {
    color: var(--exp-copper) !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
    border: none !important;
}

.theme-expedition .bottom-navigation.exp-nav .nav-item.active::after {
    transform: translateX(-50%) scale(1);
}

.theme-expedition .bottom-navigation.exp-nav .nav-item:hover {
    color: var(--exp-copper) !important;
    background: transparent !important;
    transform: none !important;
}

.theme-expedition .bottom-navigation.exp-nav .nav-icon {
    width: 34px !important;
    height: 34px !important;
    animation: none !important;
    fill: currentColor !important;
    stroke: none !important;
}

.theme-expedition .bottom-navigation.exp-nav .nav-item.active .nav-icon {
    animation: none !important;
    filter: none !important;
}

.balance-selection-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.balance-modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.balance-modal-content {
    background: #FFFFFF;
    border: 2px solid var(--exp-charcoal);
    border-radius: 12px;
    padding: 28px;
    max-width: 440px;
    width: 100%;
    box-shadow: 8px 8px 0 var(--exp-bg-muted);
    animation: modalSlideUp 0.35s ease-out;
    position: relative;
    overflow: hidden;
}

.balance-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--exp-copper);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.balance-modal-title {
    font-family: var(--exp-font);
    font-size: 18px;
    font-weight: 800;
    color: var(--exp-charcoal);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.balance-modal-amount {
    font-family: var(--exp-font);
    font-variant-numeric: tabular-nums;
    font-size: 16px;
    color: var(--exp-copper);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
}

.balance-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.balance-option {
    background: #FFFFFF;
    border: 2px solid var(--exp-charcoal);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    width: 100%;
    position: relative;
    box-shadow: 2px 2px 0 var(--exp-bg-muted);
}

.balance-option:not(.disabled):hover {
    border-color: var(--exp-copper);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--exp-bg-muted);
}

.balance-option.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.balance-option.selected {
    border-color: var(--exp-copper);
    border-left-width: 4px;
    background: rgba(184, 115, 51, 0.06);
}

.balance-option.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: var(--exp-copper);
    color: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.option-label {
    font-size: 14px;
    color: var(--exp-charcoal);
    font-weight: 600;
    font-family: var(--exp-font);
}

.option-balance {
    font-family: var(--exp-font);
    font-variant-numeric: tabular-nums;
    font-size: 18px;
    font-weight: 700;
    color: var(--exp-copper);
    margin-top: 8px;
}

.option-insufficient {
    font-size: 12px;
    color: #B91C1C;
    margin-top: 6px;
    font-weight: 600;
}

.balance-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.balance-modal-confirm {
    width: 100%;
    padding: 14px;
    background: var(--exp-copper);
    border: 2px solid var(--exp-charcoal);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--exp-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 var(--exp-charcoal);
}

.balance-modal-confirm:hover:not(:disabled) {
    background: var(--exp-copper-dark);
    transform: none;
    box-shadow: 3px 3px 0 var(--exp-charcoal);
}

.balance-modal-confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--exp-bg-muted);
}

.balance-modal-cancel {
    width: 100%;
    padding: 14px;
    background: #FFFFFF;
    border: 2px solid var(--exp-charcoal);
    border-radius: 8px;
    color: var(--exp-charcoal);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--exp-font);
}

.balance-modal-cancel:hover {
    background: var(--exp-bg-sand);
    transform: none;
    box-shadow: none;
}

@media (max-width: 480px) {
    .theme-expedition .header-container {
        padding: 14px 16px;
    }

    .theme-expedition .brand-title {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .theme-expedition .main-content {
        padding: 0 16px;
    }

    .hero-banner {
        height: 160px;
    }

    .banner-title {
        font-size: 20px;
    }

    .action-row {
        min-height: 58px;
        padding: 12px 14px;
    }

    .product-name {
        font-size: 16px;
    }

    .info-value {
        font-size: 11px;
    }

    .invest-button {
        font-size: 11px;
        padding: 12px 14px;
    }

    .balance-modal-content {
        padding: 20px;
    }
}

@media (max-width: 360px) {
    .hero-banner {
        height: 140px;
    }

    .info-label {
        font-size: 7px;
    }

    .info-value {
        font-size: 10px;
    }
}

.announcement-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: announcementFadeIn 0.3s ease;
}

.announcement-modal.show {
    display: flex;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.75);
    backdrop-filter: blur(4px);
}

.announcement-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 24px 20px;
    max-width: 420px;
    width: calc(100% - 32px);
    max-height: min(88vh, 560px);
    overflow: hidden;
    border: 2px solid #1F2937;
    box-shadow: var(--exp-shadow-hard, 4px 4px 0 #D1D5DB);
    animation: announcementSlideUp 0.35s ease;
}

.announcement-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #B87333;
    border-radius: 10px 10px 0 0;
}

@keyframes announcementFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes announcementSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.announcement-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 2px solid #1F2937;
    background: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1;
}

.announcement-close svg {
    width: 20px;
    height: 20px;
    color: #6B7280;
    transition: color 0.2s ease;
}

.announcement-close:hover {
    background: #F0EBE3;
    border-color: #B87333;
    transform: none;
}

.announcement-close:hover svg {
    color: #B87333;
}

.announcement-header {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 20px;
    padding: 4px 44px 0;
}

.announcement-title {
    font-size: 24px;
    font-weight: 800;
    color: #1F2937;
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
}

.announcement-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
}

.announcement-body::-webkit-scrollbar {
    width: 4px;
}

.announcement-body::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid #1F2937;
    transition: background 0.2s ease;
}

.announcement-item:hover {
    background: #F0EBE3;
    border-color: #B87333;
    transform: none;
    box-shadow: none;
}

.announcement-item .item-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0EBE3;
    border: 2px solid #1F2937;
    border-radius: 8px;
}

.announcement-item .item-icon svg {
    width: 17px;
    height: 17px;
    color: #B87333;
}

.announcement-item .item-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #1F2937;
    line-height: 1.45;
    font-family: 'Inter', sans-serif;
}

.announcement-item .item-text strong {
    color: #B87333;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.announcement-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.1) 0%, rgba(198, 40, 40, 0.05) 100%);
    border-radius: 10px;
    margin-top: 4px;
    border: 2px solid rgba(198, 40, 40, 0.3);
}

.announcement-warning .warning-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 40, 40, 0.12);
    border: 2px solid rgba(198, 40, 40, 0.35);
    border-radius: 8px;
}

.announcement-warning .warning-icon svg {
    width: 17px;
    height: 17px;
    color: #C62828;
}

.announcement-warning .warning-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #C62828;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.announcement-join-btn {
    flex-shrink: 0;
    width: 100%;
    padding: 14px 24px;
    background: #B87333;
    border: 2px solid #1F2937;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease;
    box-shadow: 3px 3px 0 #1F2937;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.announcement-join-btn:hover {
    background: #9A5F28;
    transform: none;
    box-shadow: 3px 3px 0 #1F2937;
}

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

@media (max-width: 768px) {
    .announcement-content {
        padding: 20px 18px 16px;
        max-width: calc(100% - 24px);
        max-height: min(92vh, 520px);
        border-radius: 14px;
    }

    .announcement-header {
        margin-bottom: 16px;
        padding-top: 2px;
    }

    .announcement-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .announcement-body {
        margin-bottom: 12px;
    }

    .announcement-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .announcement-item .item-text {
        font-size: 12px;
    }

    .announcement-item .item-icon,
    .announcement-warning .warning-icon {
        width: 30px;
        height: 30px;
    }

    .announcement-item .item-icon svg,
    .announcement-warning .warning-icon svg {
        width: 15px;
        height: 15px;
    }

    .announcement-warning {
        padding: 12px;
    }

    .announcement-warning .warning-text {
        font-size: 12px;
    }

    .announcement-join-btn {
        padding: 13px 18px;
        font-size: 13px;
    }
}
