/* ========================================
   ONE PIECE VIBRANT THEME - PHONG CÁCH HẢI TẶC
   Màu sắc rực rỡ, font nổi bật, sinh động
   ======================================== */

/* ============ ONE PIECE COLOR PALETTE ============ */
:root {
    /* Core One Piece Colors */
    --op-red: #E31B23;
    --op-red-dark: #B71C1C;
    --op-red-light: #FF5252;
    --op-gold: #FFD700;
    --op-gold-dark: #DAA520;
    --op-gold-light: #FFEB3B;
    --op-ocean: #0066CC;
    --op-ocean-dark: #1A237E;
    --op-ocean-light: #42A5F5;
    --op-orange: #FF9500;
    --op-orange-dark: #E65100;
    --op-wood: #5D3A1A;
    --op-cream: #FFF8E7;
    --op-parchment: #F5E6C8;
    --op-sky: #87CEEB;
    --op-dark: #1a1a2e;

    /* Vibrant Gradients */
    --gradient-luffy: linear-gradient(135deg, #E31B23 0%, #FF5252 50%, #FF9500 100%);
    --gradient-gold-treasure: linear-gradient(135deg, #FFD700 0%, #FFA000 50%, #FF6D00 100%);
    --gradient-ocean-deep: linear-gradient(135deg, #0066CC 0%, #1A237E 100%);
    --gradient-sunset: linear-gradient(135deg, #FF9500 0%, #E31B23 100%);
    --gradient-pirate-dark: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 50%, #1a1a2e 100%);
    --gradient-wanted: linear-gradient(135deg, #F5E6C8 0%, #E8D5B0 100%);
    --gradient-fire: linear-gradient(135deg, #ff4444 0%, #ff6b00 50%, #ffd700 100%);

    /* Glow Shadows */
    --glow-red: 0 0 20px rgba(227, 27, 35, 0.4);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
    --glow-ocean: 0 0 20px rgba(0, 102, 204, 0.4);
    --shadow-pirate: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-pirate-lg: 0 16px 48px rgba(0, 0, 0, 0.3);

    /* Borders */
    --border-gold: 3px solid #FFD700;
    --border-red: 3px solid #E31B23;
}

/* ============ TOP ANNOUNCEMENT BAR ============ */
.announcement-bar {
    background: linear-gradient(90deg, #B71C1C 0%, #E31B23 30%, #FF5252 50%, #E31B23 70%, #B71C1C 100%);
    color: #FFD700;
    padding: 12px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.5);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

body.classic-theme .body-wrapper {
    margin-top: 45px;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: shimmer-announcement 2.5s infinite;
}

@keyframes shimmer-announcement {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.announcement-bar .announcement-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.announcement-bar .icon-fire {
    animation: fire-pulse 0.8s ease-in-out infinite;
    font-size: 1.2em;
}

@keyframes fire-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3) rotate(5deg);
    }
}

.announcement-bar a {
    color: #1a1a2e;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    padding: 5px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

.announcement-bar a:hover {
    background: linear-gradient(135deg, #FFEB3B, #FFD700);
    color: #B71C1C;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
}

/* ============ BODY STYLES - OCEAN ADVENTURE ============ */
body.classic-theme {
    background-color: #f0f4ff !important;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(227, 27, 35, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230066CC' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
}

/* ============ TYPOGRAPHY - BOLD & READABLE ============ */
body.classic-theme h1,
body.classic-theme h2,
body.classic-theme h3,
body.classic-theme h4,
body.classic-theme h5,
body.classic-theme h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    letter-spacing: 0.3px;
    text-rendering: optimizeLegibility;
}

body.classic-theme h1 {
    font-size: 2.5rem !important;
}

body.classic-theme h2 {
    font-size: 2rem !important;
}

body.classic-theme h3 {
    font-size: 1.6rem !important;
}

body.classic-theme h4 {
    font-size: 1.3rem !important;
}

body.classic-theme h5 {
    font-size: 1.1rem !important;
}

body.classic-theme h6 {
    font-size: 1rem !important;
}

body.classic-theme p,
body.classic-theme span,
body.classic-theme li,
body.classic-theme td,
body.classic-theme div {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #2d2d3f;
    line-height: 1.6;
}

body.classic-theme strong,
body.classic-theme b {
    font-weight: 800;
    color: #E31B23;
}

/* ============ NAVBAR - PIRATE SHIP STYLE ============ */
body.classic-theme .app-header {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-bottom: 4px solid #FFD700 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.15) !important;
}

body.classic-theme .navbar .nav-link {
    color: #FFF8E7 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    position: relative;
}

body.classic-theme .navbar .nav-link:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

body.classic-theme .navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA000);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

body.classic-theme .navbar .nav-link:hover::after {
    width: 80%;
}

/* ============ CARDS - TREASURE CHEST STYLE ============ */
body.classic-theme .card:not(.bg-gradient-info):not(.bg-gradient-primary):not(.bg-gradient-danger):not(.bg-gradient-warning):not(.bg-gradient-success):not([style*="linear-gradient"]) {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8E7 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 215, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

body.classic-theme .card:hover {
    border-color: #FFD700 !important;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.1) !important;
    transform: translateY(-4px);
}

/* Preserve gradient cards */
body.classic-theme .bg-gradient-info {
    background: var(--gradient-info) !important;
}

body.classic-theme .bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

body.classic-theme .bg-gradient-danger {
    background: var(--gradient-luffy) !important;
}

body.classic-theme .bg-gradient-success {
    background: var(--gradient-success) !important;
}

body.classic-theme .bg-gradient-warning {
    background: var(--gradient-warning) !important;
}

body.classic-theme .card-header {
    background: linear-gradient(135deg, #E31B23 0%, #B71C1C 100%) !important;
    border-bottom: 3px solid #FFD700 !important;
    color: #FFD700 !important;
    padding: 1rem 1.25rem !important;
}

body.classic-theme .card-header h6,
body.classic-theme .card-header .fw-bold {
    color: #FFD700 !important;
    font-weight: 800 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============ SECTION HEADERS - WANTED POSTER STYLE ============ */
body.classic-theme .section-title {
    color: #1a1a2e !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.6rem !important;
    position: relative;
    padding-bottom: 12px;
}

body.classic-theme .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E31B23, #FFD700);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(227, 27, 35, 0.3);
}

body.classic-theme .section-title i {
    color: #E31B23 !important;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(227, 27, 35, 0.3));
}

body.classic-theme .section-description {
    color: #555 !important;
    font-size: 1rem;
    font-weight: 500;
}

/* ============ BUTTONS - GEAR SECOND STYLE ============ */
body.classic-theme .btn-primary,
body.classic-theme .btn-gradient {
    background: linear-gradient(135deg, #E31B23 0%, #FF5252 50%, #FF9500 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.classic-theme .btn-primary::before,
body.classic-theme .btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

body.classic-theme .btn-primary:hover::before,
body.classic-theme .btn-gradient:hover::before {
    left: 100%;
}

body.classic-theme .btn-primary:hover,
body.classic-theme .btn-gradient:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%) !important;
    color: #1a1a2e !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    text-shadow: none;
}

body.classic-theme .btn-outline-primary {
    border: 2px solid #E31B23 !important;
    color: #E31B23 !important;
    font-weight: 700 !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

body.classic-theme .btn-outline-primary:hover {
    background: #E31B23 !important;
    color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.4);
    transform: translateY(-2px);
}

body.classic-theme .btn-light {
    background: #FFFFFF !important;
    color: #E31B23 !important;
    font-weight: 700 !important;
    border: 2px solid rgba(227, 27, 35, 0.2) !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

body.classic-theme .btn-light:hover {
    background: #FFF8E7 !important;
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* ============ TABLES - LOG POSE STYLE ============ */
body.classic-theme table thead {
    background: linear-gradient(135deg, #E31B23 0%, #B71C1C 100%) !important;
}

body.classic-theme table thead th {
    color: #FFD700 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
    border-bottom: 3px solid #FFD700 !important;
    padding: 14px 16px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.classic-theme table tbody tr {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

body.classic-theme table tbody tr:nth-child(even) {
    background: #FFF8E7 !important;
}

body.classic-theme table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(227, 27, 35, 0.05)) !important;
    transform: scale(1.005);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ============ BADGES - BOUNTY POSTER STYLE ============ */
body.classic-theme .badge-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%) !important;
    color: #5D3A1A !important;
    border: none;
    font-weight: 700 !important;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

body.classic-theme .badge-gradient.info {
    background: linear-gradient(135deg, #0066CC 0%, #42A5F5 100%) !important;
    color: #FFFFFF !important;
}

body.classic-theme .badge-gradient.success {
    background: linear-gradient(135deg, #00C853 0%, #69F0AE 100%) !important;
    color: #1B5E20 !important;
}

body.classic-theme .badge-gradient.danger {
    background: linear-gradient(135deg, #E31B23 0%, #FF5252 100%) !important;
    color: #FFFFFF !important;
}

/* ============ LEADERBOARD - BOUNTY RANKINGS ============ */
body.classic-theme .leaderboard-card {
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
}

body.classic-theme .lb-row.top1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.05)) !important;
    border-left: 5px solid #FFD700;
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

body.classic-theme .lb-row.top2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.25), rgba(192, 192, 192, 0.05)) !important;
    border-left: 5px solid #C0C0C0;
}

body.classic-theme .lb-row.top3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.25), rgba(205, 127, 50, 0.05)) !important;
    border-left: 5px solid #CD7F32;
}

/* ============ RESOURCE CARDS ============ */
body.classic-theme .resource-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E7 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 14px;
    transition: all 0.3s ease;
}

body.classic-theme .resource-card:hover {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

body.classic-theme .resource-card .resource-icon {
    background: linear-gradient(135deg, #E31B23 0%, #FF5252 100%) !important;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.3);
}

/* ============ GIFTCODE - TREASURE MAP STYLE ============ */
body.classic-theme .giftcode-code {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(227, 27, 35, 0.05)) !important;
    border: 3px dashed #FFD700 !important;
    color: #E31B23 !important;
    font-weight: 800 !important;
    font-size: 1.2rem;
    border-radius: 12px;
}

/* ============ FOOTER - SHIP DECK ============ */
body.classic-theme footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%) !important;
    border-top: 4px solid #FFD700 !important;
    color: #FFF8E7 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* ============ MOBILE MENU - CREW ICONS ============ */
body.classic-theme .menu-grid .menu-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E7 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.25) !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.classic-theme .menu-grid .menu-item:hover {
    border-color: #FFD700 !important;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFFFF 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

body.classic-theme .menu-grid .menu-item span {
    font-weight: 700 !important;
    color: #1a1a2e !important;
    font-size: 12px;
}

body.classic-theme .menu-grid .menu-icon {
    background: linear-gradient(135deg, #E31B23 0%, #FF5252 100%) !important;
    box-shadow: 0 3px 10px rgba(227, 27, 35, 0.3);
    transition: all 0.3s ease;
}

body.classic-theme .menu-grid .menu-item:hover .menu-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.5);
}

/* ============ COMMUNITY SECTION - GRAND LINE ============ */
body.classic-theme .bg-gradient-danger {
    background: linear-gradient(135deg, #E31B23 0%, #B71C1C 50%, #8B0000 100%) !important;
}

body.classic-theme .bg-gradient-danger h2,
body.classic-theme .bg-gradient-danger p {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============ MODAL - WANTED POSTER STYLE ============ */
body.classic-theme .modal-content {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8E7 100%) !important;
    border: 3px solid #FFD700 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
}

body.classic-theme .modal-header {
    background: linear-gradient(135deg, #E31B23 0%, #B71C1C 100%) !important;
    border-bottom: 3px solid #FFD700 !important;
    padding: 1.2rem 1.5rem !important;
}

body.classic-theme .modal-header .modal-title {
    color: #FFD700 !important;
    font-weight: 800 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.classic-theme .modal-body {
    color: #2d2d3f !important;
    padding: 1.5rem !important;
}

body.classic-theme .modal-body p,
body.classic-theme .modal-body span,
body.classic-theme .modal-body div,
body.classic-theme .modal-body h1,
body.classic-theme .modal-body h2,
body.classic-theme .modal-body h3,
body.classic-theme .modal-body h4,
body.classic-theme .modal-body h5,
body.classic-theme .modal-body h6,
body.classic-theme .modal-body small {
    color: #2d2d3f !important;
}

body.classic-theme .modal-header .modal-title,
body.classic-theme .modal-header h4,
body.classic-theme .modal-header h5,
body.classic-theme .modal-header span {
    color: #FFD700 !important;
}

/* Package cards in modal */
body.classic-theme .modal-body .card,
body.classic-theme #packages-container .card {
    background: linear-gradient(135deg, #FFFFFF, #FFF8E7) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    color: #2d2d3f !important;
}

/* ============ ALERTS - VIBRANT ============ */
body.classic-theme .alert-info {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(66, 165, 245, 0.05)) !important;
    border: 2px solid #0066CC !important;
    border-left: 5px solid #0066CC !important;
    color: #0066CC !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
}

body.classic-theme .alert-warning {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 152, 0, 0.08)) !important;
    border: 2px solid #FFD700 !important;
    border-left: 5px solid #FFD700 !important;
    border-radius: 12px !important;
}

body.classic-theme .alert-danger {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.08), rgba(255, 82, 82, 0.05)) !important;
    border: 2px solid #E31B23 !important;
    border-left: 5px solid #E31B23 !important;
    border-radius: 12px !important;
}

body.classic-theme .alert-success {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(105, 240, 174, 0.05)) !important;
    border: 2px solid #00C853 !important;
    border-left: 5px solid #00C853 !important;
    border-radius: 12px !important;
}

/* ============ PAGINATION / NAV PILLS ============ */
body.classic-theme .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #E31B23 0%, #FF5252 100%) !important;
    color: #FFD700 !important;
    border: none;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
    border-radius: 10px !important;
}

body.classic-theme .nav-pills .nav-link {
    color: #2d2d3f !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    border-radius: 10px !important;
}

body.classic-theme .nav-pills .nav-link:hover {
    background: rgba(227, 27, 35, 0.08) !important;
    color: #E31B23 !important;
}

/* ============ SCROLLBAR - GRAND LINE ============ */
body.classic-theme::-webkit-scrollbar {
    width: 10px;
}

body.classic-theme::-webkit-scrollbar-track {
    background: #1a1a2e;
}

body.classic-theme::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E31B23, #FFD700);
    border-radius: 10px;
    border: 2px solid #1a1a2e;
}

body.classic-theme::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #FF9500);
}

/* ============ GAME SECTION CARD ============ */
body.classic-theme .game-section-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E7 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 16px !important;
}

/* ============ TEXT COLOR UTILITIES ============ */
body.classic-theme .text-primary {
    color: #E31B23 !important;
}

body.classic-theme .text-warning {
    color: #DAA520 !important;
}

body.classic-theme .text-success {
    color: #00C853 !important;
}

body.classic-theme .text-info {
    color: #0066CC !important;
}

body.classic-theme .text-danger {
    color: #E31B23 !important;
}

body.classic-theme .text-muted {
    color: #777 !important;
    font-weight: 500 !important;
}

body.classic-theme .text-dark {
    color: #1a1a2e !important;
}

/* ============ GRADIENT TEXT ============ */
body.classic-theme .text-gradient-primary {
    background: linear-gradient(135deg, #E31B23 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
}

/* ============ FIX TEXT CONTRAST ============ */
/* Fix white text on light cards */
body.classic-theme .card:not(.bg-gradient-info):not(.bg-gradient-primary):not(.bg-gradient-danger):not(.bg-gradient-warning):not(.bg-gradient-success):not([style*="background: linear-gradient"]) .text-white {
    color: #1a1a2e !important;
}

/* Keep text white on ALL gradient cards */
body.classic-theme .bg-gradient-info,
body.classic-theme .bg-gradient-info *,
body.classic-theme .bg-gradient-info .text-white,
body.classic-theme .bg-gradient-info h2,
body.classic-theme .bg-gradient-info h3,
body.classic-theme .bg-gradient-info p,
body.classic-theme .bg-gradient-info span,
body.classic-theme .bg-gradient-info i {
    color: #FFFFFF !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Purple/TestFlight gradient cards */
body.classic-theme .card[style*="linear-gradient(135deg, #667eea"],
body.classic-theme .card[style*="linear-gradient(135deg, #667eea"] * {
    color: #FFFFFF !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Gradient background text - always white */
body.classic-theme .bg-gradient-primary .text-white,
body.classic-theme .bg-gradient-danger .text-white,
body.classic-theme .bg-gradient-warning .text-white,
body.classic-theme .bg-gradient-success .text-white,
body.classic-theme .bg-gradient-info .text-white,
body.classic-theme [style*="background: linear-gradient"] .text-white,
body.classic-theme .modal-header .text-white {
    color: #FFFFFF !important;
}

/* All text on gradient backgrounds */
body.classic-theme [style*="background: linear-gradient"] h2,
body.classic-theme [style*="background: linear-gradient"] h3,
body.classic-theme [style*="background: linear-gradient"] h4,
body.classic-theme [style*="background: linear-gradient"] p,
body.classic-theme [style*="background: linear-gradient"] span:not(.badge),
body.classic-theme [style*="background: linear-gradient"] .fw-bold,
body.classic-theme [style*="background: linear-gradient"] .fw-semibold {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Download page cards */
body.classic-theme .enhanced-card .card-body h5,
body.classic-theme .enhanced-card .card-body .fw-bold {
    color: #1a1a2e !important;
    text-shadow: none !important;
}

/* opacity text fix */
body.classic-theme .opacity-90,
body.classic-theme .opacity-75 {
    opacity: 1 !important;
}

/* Fix community section */
body.classic-theme .bg-gradient-danger h2 {
    color: #FFD700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Server info */
body.classic-theme .server-info-box,
body.classic-theme .server-info-header,
body.classic-theme .server-label,
body.classic-theme .server-value {
    color: #FFFFFF !important;
}

/* ============ FIRST PURCHASE MODAL ============ */
body.classic-theme #firstPurchaseModal .modal-body {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8E7 100%) !important;
}

body.classic-theme .modal-body .card-body {
    color: #2d2d3f !important;
}

body.classic-theme .modal-body .badge {
    color: #5D3A1A !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 160, 0, 0.2)) !important;
    border: 1px solid #FFD700 !important;
    font-weight: 700 !important;
}

body.classic-theme .modal-body .btn-primary,
body.classic-theme .modal-body .btn-gradient {
    color: #FFFFFF !important;
}

body.classic-theme .modal-body .text-danger,
body.classic-theme .modal-body .text-primary {
    color: #E31B23 !important;
    font-weight: 700 !important;
}

body.classic-theme .modal-body a {
    color: #E31B23 !important;
}

body.classic-theme .modal-body a:hover {
    color: #FFD700 !important;
}

/* ============ SIDEBAR - OCEAN DEPTH ============ */
body.classic-theme .offcanvas,
body.classic-theme .left-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%) !important;
    border-right: 3px solid #FFD700 !important;
}

body.classic-theme .sidebar-link {
    color: #FFF8E7 !important;
    font-weight: 600 !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 2px 0;
}

body.classic-theme .sidebar-link:hover {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.2), rgba(255, 215, 0, 0.1)) !important;
    color: #FFD700 !important;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.15);
}

body.classic-theme .sidebar-link:hover span,
body.classic-theme .sidebar-link:hover i {
    color: #FFD700 !important;
}

body.classic-theme .sidebar-link i {
    color: #FFD700 !important;
}

body.classic-theme .sidebar-link span {
    color: #FFF8E7 !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 12px;
        padding: 10px 15px;
    }

    .announcement-bar .announcement-content {
        gap: 5px;
    }

    .announcement-bar a {
        padding: 4px 12px;
        font-size: 11px;
    }

    body.classic-theme h1 {
        font-size: 2rem !important;
    }

    body.classic-theme h2 {
        font-size: 1.6rem !important;
    }

    body.classic-theme h3 {
        font-size: 1.3rem !important;
    }

    body.classic-theme .section-title {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        font-size: 11px;
        padding: 8px 10px;
        line-height: 1.4;
    }

    .announcement-bar .announcement-content {
        flex-direction: column;
        gap: 5px;
    }

    body.classic-theme h1 {
        font-size: 1.75rem !important;
    }

    body.classic-theme h2 {
        font-size: 1.4rem !important;
    }
}

/* ============ SPECIAL ANIMATIONS ============ */
@keyframes pirateGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(227, 27, 35, 0.2);
    }
}

body.classic-theme .game-section-card {
    animation: pirateGlow 3s ease-in-out infinite;
}

/* Hover bg light effect */
body.classic-theme .hover-bg-light:hover {
    background: rgba(255, 215, 0, 0.06) !important;
    border-radius: 10px;
}

/* Link styles for post items */
body.classic-theme .text-decoration-none:hover .text-dark {
    color: #E31B23 !important;
}

body.classic-theme .text-decoration-none .fw-bold {
    transition: color 0.3s ease;
}

body.classic-theme .text-decoration-none:hover .fw-bold {
    color: #E31B23 !important;
}

/* Download page header */
body.classic-theme .card.bg-gradient-info .card-body * {
    color: #FFFFFF !important;
}

body.classic-theme .card.bg-gradient-info .card-body h2,
body.classic-theme .card.bg-gradient-info .card-body h3,
body.classic-theme .card.bg-gradient-info .card-body p {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============ PIRATE SELECTION INDICATOR ============ */
body.classic-theme ::selection {
    background: #E31B23;
    color: #FFD700;
}

body.classic-theme ::-moz-selection {
    background: #E31B23;
    color: #FFD700;
}

/* ============ ICON BOX ENHANCEMENTS ============ */
body.classic-theme .icon-box {
    background: var(--gradient-luffy) !important;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.3);
    border-radius: 14px;
}

body.classic-theme .icon-box.success {
    background: linear-gradient(135deg, #00C853, #69F0AE) !important;
}

body.classic-theme .icon-box.danger {
    background: var(--gradient-luffy) !important;
}

body.classic-theme .icon-box.warning {
    background: linear-gradient(135deg, #FFD700, #FFA000) !important;
}

body.classic-theme .icon-box.info {
    background: linear-gradient(135deg, #0066CC, #42A5F5) !important;
}

/* ============ FORM ENHANCEMENT ============ */
body.classic-theme .form-control:focus,
body.classic-theme .form-select:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
}

body.classic-theme .form-label {
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

/* ============ DROPDOWN ENHANCEMENT ============ */
body.classic-theme .dropdown-menu {
    background: #FFFFFF !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.classic-theme .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.08), rgba(255, 215, 0, 0.05)) !important;
    color: #E31B23 !important;
}

/* ============ PAGINATION PAGES ============ */
body.classic-theme .page-item .page-link {
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #2d2d3f;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px !important;
    margin: 0 2px;
}

body.classic-theme .page-item .page-link:hover,
body.classic-theme .page-item.active .page-link {
    background: linear-gradient(135deg, #E31B23, #FF5252) !important;
    color: #FFD700 !important;
    border-color: #E31B23;
    box-shadow: 0 2px 10px rgba(227, 27, 35, 0.3);
}