/* ═══════════════════════════════════════════════════════════════
   Kawaii-Cyberpunk Enhanced Styling for Tabs - By Cuserob 🎨✨
   Created: 2025-08-28
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────── 
   HEADER ENHANCEMENTS 🌸⚡
   ─────────────────────────────────────────────────────────────── */

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
}

.header-logo-container::before {
    content: '';
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff6ec7, #00e5ff, #ffee00);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 110, 199, 0.6),
                0 0 40px rgba(0, 229, 255, 0.4),
                inset 0 0 15px rgba(255, 238, 0, 0.5);
    animation: kawaii-pulse 2s ease-in-out infinite;
}

.header-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff6ec7, #00e5ff, #ffee00, #ff6ec7);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: kawaii-gradient-shift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 110, 199, 0.5);
}

@keyframes kawaii-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes kawaii-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ─────────────────────────────────────────────────────────────── 
   MARKETPLACE TAB - KAWAII CYBERPUNK 🛍️✨
   ─────────────────────────────────────────────────────────────── */

.tab-content[data-tab="quantum-marketplace"] {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.1) 0%, 
        rgba(0, 229, 255, 0.1) 50%, 
        rgba(147, 112, 219, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.tab-content[data-tab="quantum-marketplace"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 110, 199, 0.1) 0%, 
        transparent 70%);
    animation: kawaii-rotate 20s linear infinite;
}

.marketplace-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 182, 193, 0.9));
    border: 2px solid;
    border-image: linear-gradient(45deg, #ff6ec7, #00e5ff) 1;
    border-radius: 20px;
    padding: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.marketplace-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 110, 199, 0.4),
                0 0 60px rgba(0, 229, 255, 0.3);
}

.marketplace-item::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ─────────────────────────────────────────────────────────────── 
   DAO GOVERNANCE TAB - KAWAII CYBERPUNK 🏛️💫
   ─────────────────────────────────────────────────────────────── */

.tab-content[data-tab="dao-governance"] {
    background: linear-gradient(180deg, 
        rgba(138, 43, 226, 0.05) 0%, 
        rgba(0, 191, 255, 0.05) 100%);
}

.dao-proposal {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98), 
        rgba(230, 190, 255, 0.95));
    border-radius: 25px;
    padding: 25px;
    margin: 20px 0;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.dao-proposal::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        #ff6ec7, #00e5ff, #ffee00, #ff6ec7);
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: -1;
    animation: kawaii-border-flow 4s ease-in-out infinite;
}

.dao-voting-button {
    background: linear-gradient(135deg, #ff6ec7, #00e5ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dao-voting-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 110, 199, 0.5);
}

.dao-voting-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dao-voting-button:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes kawaii-border-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ─────────────────────────────────────────────────────────────── 
   ACADEMY TAB - KAWAII CYBERPUNK 🎓✨
   ─────────────────────────────────────────────────────────────── */

.tab-content[data-tab="cyber-academy"] {
    background: linear-gradient(135deg, 
        rgba(255, 229, 204, 0.1) 0%, 
        rgba(204, 255, 229, 0.1) 100%);
}

.academy-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.academy-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 110, 199, 0.3);
}

.academy-course-header {
    background: linear-gradient(135deg, #ff6ec7, #00e5ff);
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.academy-course-header::before {
    content: '📚';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.5;
}

/* Remove placeholder images */
.academy-course-card img[src*="placeholder"],
.academy-course-card img[alt="image"] {
    display: none;
}

.academy-course-content {
    padding: 20px;
    background: linear-gradient(to bottom, 
        rgba(255, 182, 193, 0.05), 
        transparent);
}

.academy-progress-bar {
    height: 8px;
    background: rgba(230, 230, 230, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.academy-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6ec7, #00e5ff);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 110, 199, 0.5);
    animation: kawaii-shimmer 2s ease-in-out infinite;
}

@keyframes kawaii-shimmer {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────── 
   HALL OF FAME TAB - KAWAII CYBERPUNK 🏆💫
   ─────────────────────────────────────────────────────────────── */

.tab-content[data-tab="hall-of-fame"] {
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(255, 192, 203, 0.05) 100%);
}

.hall-fame-entry {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98), 
        rgba(255, 215, 0, 0.1));
    border: 3px solid;
    border-image: linear-gradient(45deg, gold, #ff6ec7) 1;
    border-radius: 20px;
    padding: 25px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.hall-fame-rank {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, gold, #ffee00);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: rank-glow 2s ease-in-out infinite;
}

@keyframes rank-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.9); }
}

.hall-fame-sub-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

.hall-fame-sub-tab {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff6ec7, #00e5ff);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hall-fame-sub-tab:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 110, 199, 0.5);
}

.hall-fame-sub-tab.active {
    background: linear-gradient(135deg, #ffee00, gold);
    color: #333;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* ─────────────────────────────────────────────────────────────── 
   DIGITAL SANCTUM WALLET MESSAGING 🔐💖
   ─────────────────────────────────────────────────────────────── */

.wallet-not-connected-message {
    background: linear-gradient(135deg, 
        rgba(255, 110, 199, 0.1), 
        rgba(0, 229, 255, 0.1));
    border: 2px dashed #ff6ec7;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 20px;
    position: relative;
}

.wallet-not-connected-message::before {
    content: '🔒';
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    animation: lock-bounce 2s ease-in-out infinite;
}

.wallet-not-connected-message h3 {
    background: linear-gradient(90deg, #ff6ec7, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.wallet-not-connected-message p {
    color: #666;
    margin: 10px 0;
}

.wallet-reference-data-note {
    background: rgba(255, 238, 0, 0.1);
    border: 1px solid gold;
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #996600;
}

@keyframes lock-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ─────────────────────────────────────────────────────────────── 
   ADBLOCKER WARNING 🚫✨
   ─────────────────────────────────────────────────────────────── */

.adblocker-warning {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.1), 
        rgba(255, 165, 0, 0.1));
    border: 3px solid #ff6ec7;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    text-align: center;
    display: none;
    animation: warning-pulse 2s ease-in-out infinite;
}

.adblocker-detected .adblocker-warning {
    display: block;
}

.adblocker-warning-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: warning-shake 0.5s ease-in-out infinite;
}

.adblocker-warning h4 {
    color: #ff6ec7;
    margin: 10px 0;
    font-size: 1.2rem;
}

.adblocker-warning p {
    color: #666;
    margin: 10px 0;
}

@keyframes warning-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 110, 199, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 110, 199, 0.6); }
}

@keyframes warning-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* ─────────────────────────────────────────────────────────────── 
   QUANTUM PROMOTIONS DATA TOGGLE 🔄✨
   ─────────────────────────────────────────────────────────────── */

.data-mode-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6ec7, #00e5ff);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.data-mode-toggle-option {
    padding: 8px 20px;
    border-radius: 45px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.data-mode-toggle-option.active {
    background: white;
    color: #ff6ec7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-mode-indicator {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 110, 199, 0.2);
    border: 2px solid #ff6ec7;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 10px;
    animation: indicator-blink 2s ease-in-out infinite;
}

.data-mode-indicator.mock-data {
    background: rgba(255, 165, 0, 0.2);
    border-color: orange;
}

.data-mode-indicator.real-data {
    background: rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
}

@keyframes indicator-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ─────────────────────────────────────────────────────────────── 
   GENERAL KAWAII-CYBERPUNK ENHANCEMENTS 🌈💫
   ─────────────────────────────────────────────────────────────── */

.kawaii-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff6ec7, 
        #00e5ff, 
        #ffee00, 
        transparent);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.kawaii-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        transparent);
    animation: kawaii-sweep 3s linear infinite;
}

@keyframes kawaii-sweep {
    to { left: 100%; }
}

@keyframes kawaii-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-logo-container::before {
        width: 35px;
        height: 35px;
    }
    
    .header-logo-text {
        font-size: 1.4rem;
    }
    
    .marketplace-item,
    .dao-proposal,
    .academy-course-card,
    .hall-fame-entry {
        margin: 10px;
        padding: 15px;
    }
}

/* End of Kawaii-Cyberpunk Enhanced Styling ✨🎨💖 */