Common.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/********************************************************** | /********************************************************** | ||
* Common.css – | * Enhanced Common.css – Clean version (minimal animations) | ||
* (clean | * (v3 clean · 2025-05-23) | ||
**********************************************************/ | **********************************************************/ | ||
/*──────── 1. GLOBAL LAYOUT | @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap'); | ||
/*──────── 1. ENHANCED GLOBAL LAYOUT ───────*/ | |||
#tagline, h3#tagline{display:none!important;} | #tagline, h3#tagline{display:none!important;} | ||
h1.title, .mw-page-title-main, h1.firstHeading{ | h1.title, .mw-page-title-main, h1.firstHeading{ | ||
margin-top:0!important; line-height:1.2!important; font-size: | margin-top:0!important; | ||
#content, .mw-body, .mw-content-ltr, .mw-content-rtl{padding-top:0!important; margin-top:0!important; | line-height:1.2!important; | ||
font-size:32px!important; | |||
text-transform: uppercase; | |||
letter-spacing: 2px; | |||
background: linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%); | |||
-webkit-background-clip: text; | |||
-webkit-text-fill-color: transparent; | |||
background-clip: text; | |||
text-shadow: 0 0 20px rgba(252, 231, 200, 0.3); | |||
} | |||
#content, .mw-body, .mw-content-ltr, .mw-content-rtl{ | |||
padding-top:0!important; | |||
margin-top:0!important; | |||
} | |||
html, body{ | |||
overflow-x:hidden!important; | |||
position: relative; | |||
} | |||
/* Subtle static tech pattern overlay */ | |||
body::before { | |||
content: ''; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
background-image: | |||
repeating-linear-gradient( | |||
45deg, | |||
transparent, | |||
transparent 35px, | |||
rgba(252, 231, 200, 0.01) 35px, | |||
rgba(252, 231, 200, 0.01) 70px | |||
); | |||
pointer-events: none; | |||
z-index: 1; | |||
} | |||
/* Hide Pivot off-canvas elements */ | |||
nav.tab-bar.hide-for-print, | nav.tab-bar.hide-for-print, | ||
.left-off-canvas-toggle, | .left-off-canvas-toggle, | ||
| Line 18: | Line 58: | ||
#right-nav-aside{display:none!important;} | #right-nav-aside{display:none!important;} | ||
/*──────── 2. BREADCRUMB STRIP ───────*/ | /*──────── 2. ENHANCED BREADCRUMB STRIP ───────*/ | ||
.dune-breadcrumb-nav{ | .dune-breadcrumb-nav{ | ||
display:flex; align-items:center; margin-bottom: | display:flex; | ||
font-size: | align-items:center; | ||
border: | margin-bottom:20px; | ||
.dune-breadcrumb-nav | font-size:18px; | ||
.dune-breadcrumb-nav a | background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%); | ||
border: 2px solid transparent; | |||
background-clip: padding-box; | |||
.dune-breadcrumb- | padding: 8px 16px; | ||
position: relative; | |||
overflow: hidden; | |||
/* Hexagonal clip-path for futuristic look */ | |||
clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%); | |||
} | |||
/* Static glowing border effect */ | |||
.dune-breadcrumb-nav::before { | |||
content: ''; | |||
position: absolute; | |||
top: -2px; | |||
left: -2px; | |||
right: -2px; | |||
bottom: -2px; | |||
background: linear-gradient(45deg, #fce7c8, #E3BB7A, #fce7c8); | |||
z-index: -1; | |||
opacity: 0.7; | |||
filter: blur(2px); | |||
/* REMOVED: animation */ | |||
} | |||
.dune-breadcrumb-nav a{ | |||
color:#fce7c8; | |||
text-decoration:none; | |||
transition: all 0.3s ease; | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | |||
.dune-breadcrumb-nav a:hover{ | |||
color:#fff; | |||
text-shadow: 0 0 10px rgba(252, 231, 200, 0.8); | |||
} | |||
.breadcrumb-home-link{ | |||
display:flex; | |||
align-items:center; | |||
} | |||
.breadcrumb-home-icon{ | |||
width:20px; | |||
height:20px; | |||
margin-right:8px; | |||
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.5)); | |||
} | |||
.dune-breadcrumb-separator{ | |||
margin:0 12px; | |||
color:#E3BB7A; | |||
font-weight: bold; | |||
position: relative; | |||
} | |||
.dune-breadcrumb-separator::before { | |||
content: '◆'; | |||
font-size: 12px; | |||
} | |||
/*──────── 3. ENHANCED RADIAL MENU ───────*/ | |||
.dune-radial-menu{ | .dune-radial-menu{ | ||
position:fixed; top:50%; left:50%; width:500px; height:500px; | position:fixed; | ||
transform:translate(-50%,-50%) scale(0); z-index:9999; | top:50%; | ||
opacity:0; visibility:hidden; pointer-events:none; | left:50%; | ||
transition:transform .4s | width:500px; | ||
height:500px; | |||
transform:translate(-50%,-50%) scale(0); | |||
z-index:9999; | |||
opacity:0; | |||
visibility:hidden; | |||
pointer-events:none; | |||
transition:transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity .3s ease; | |||
} | } | ||
.dune-radial-menu.active{ | .dune-radial-menu.active{ | ||
transform:translate(-50%,-50%) scale(1); opacity:1; | transform:translate(-50%,-50%) scale(1); | ||
visibility:visible; pointer-events:all; | opacity:1; | ||
visibility:visible; | |||
pointer-events:all; | |||
} | } | ||
/* | /* Enhanced menu items with hexagonal shape */ | ||
.dune-radial-item, | .dune-radial-item, | ||
.dune-radial-center, | .dune-radial-center, | ||
.dune-subcategory-container{ | .dune-subcategory-container{ | ||
background- | background: linear-gradient(135deg, #0c0a14 0%, #1a1a1a 100%); | ||
border:2px solid #fce7c8; | border: 2px solid #fce7c8; | ||
box-shadow: | |||
inset 0 0 20px rgba(0,0,0,0.5), | |||
0 0 20px rgba(252, 231, 200, 0.2); | |||
transition: all 0.3s ease; | |||
} | } | ||
.dune-radial-item:hover, | .dune-radial-item:hover, | ||
.dune-radial-center:hover{ | .dune-radial-center:hover{ | ||
box-shadow:0 0 | background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); | ||
border-color: #fff; | |||
box-shadow: | |||
inset 0 0 20px rgba(252, 231, 200, 0.1), | |||
0 0 30px rgba(252, 231, 200, 0.4); | |||
transform: scale(1.05); | |||
} | } | ||
.dune-subcategory-header{ | .dune-subcategory-header{ | ||
background- | background: linear-gradient(90deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%); | ||
color:#fce7c8; | color:#fce7c8; | ||
border-bottom: | border-bottom: 2px solid #fce7c8; | ||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
font-weight: 700; | |||
} | } | ||
.dune-subcategory-item{ | .dune-subcategory-item{ | ||
color:#fce7c8; | color:#fce7c8; | ||
transition: all 0.2s ease; | |||
} | } | ||
.dune-subcategory-item:hover{ | .dune-subcategory-item:hover{ | ||
background- | background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.2) 100%); | ||
padding-left: 20px; | |||
border-left: 3px solid #fce7c8; | |||
} | } | ||
.dune-radial-overlay{ | .dune-radial-overlay{ | ||
background:rgba(0,0,0,. | background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%); | ||
backdrop-filter: blur(3px); | |||
} | } | ||
/* | /* Mobile grid enhancements */ | ||
@media screen and (max-width:768px){ | @media screen and (max-width:768px){ | ||
.dune-radial-menu.mobile-grid{ | .dune-radial-menu.mobile-grid{ | ||
background:rgba(0,0,2,. | background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%); | ||
border: | border: 2px solid #fce7c8; | ||
border-radius: 0; | |||
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px); | |||
} | } | ||
.dune-radial-item{ | .dune-radial-item{ | ||
border: | border: 2px solid #fce7c8; | ||
background: rgba(0,0,2,.8); | |||
} | } | ||
.dune-subcategory-item{ | .dune-subcategory-item{ | ||
background:rgba(0,0,2,. | background: rgba(0,0,2,.8); | ||
border:1px solid #fce7c8; | border: 1px solid rgba(252, 231, 200, 0.3); | ||
} | |||
} | |||
/*──────── 4. CLEAN UTILITY CLASSES ───────*/ | |||
/* Loading indicator for actual loading states */ | |||
.tech-loader { | |||
width: 40px; | |||
height: 40px; | |||
border: 3px solid rgba(252, 231, 200, 0.2); | |||
border-top-color: #fce7c8; | |||
border-radius: 50%; | |||
animation: loadingSpin 1s linear infinite; | |||
display: inline-block; | |||
} | |||
@keyframes loadingSpin { | |||
0% { transform: rotate(0deg); } | |||
100% { transform: rotate(360deg); } | |||
} | |||
/* Static glitch text effect */ | |||
.glitch-text { | |||
text-shadow: 0 0 2px #fce7c8; | |||
} | |||
/********************************************************** | |||
* Additional UI Components for Dune Wiki | |||
* Clean version - minimal animations | |||
**********************************************************/ | |||
/*──────── 1. HEXAGONAL BUTTONS ───────*/ | |||
.hex-button { | |||
position: relative; | |||
display: inline-block; | |||
padding: 12px 32px; | |||
margin: 8px; | |||
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%); | |||
color: var(--dune-gold); | |||
font-family: var(--font-display); | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 2px; | |||
cursor: pointer; | |||
transition: all 0.3s ease; | |||
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%); | |||
border: none; | |||
} | |||
.hex-button::before { | |||
content: ''; | |||
position: absolute; | |||
top: -2px; | |||
left: -2px; | |||
right: -2px; | |||
bottom: -2px; | |||
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover)); | |||
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%); | |||
z-index: -1; | |||
opacity: 0.7; | |||
transition: all 0.3s ease; | |||
} | |||
.hex-button:hover { | |||
transform: translateY(-2px); | |||
color: var(--dune-gold-bright); | |||
text-shadow: 0 0 10px var(--dune-gold-glow); | |||
} | |||
.hex-button:hover::before { | |||
opacity: 1; | |||
filter: blur(3px); | |||
} | |||
/*──────── 2. STATUS INDICATORS - No animation ───────*/ | |||
.status-indicator { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 6px 16px; | |||
background: rgba(0, 0, 2, 0.8); | |||
border: 1px solid rgba(252, 231, 200, 0.3); | |||
font-size: 14px; | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
/* Static status sweep effect */ | |||
.status-indicator::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 30%; | |||
height: 100%; | |||
background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.05) 100%); | |||
/* REMOVED: animation */ | |||
} | |||
.status-indicator .status-dot { | |||
width: 8px; | |||
height: 8px; | |||
border-radius: 50%; | |||
background: var(--dune-gold); | |||
box-shadow: 0 0 10px var(--dune-gold-glow); | |||
/* REMOVED: animation: techPulse */ | |||
} | |||
.status-indicator.active .status-dot { | |||
background: #44ff44; | |||
box-shadow: 0 0 10px rgba(68, 255, 68, 0.8); | |||
} | |||
.status-indicator.warning .status-dot { | |||
background: #ff8844; | |||
box-shadow: 0 0 10px rgba(255, 136, 68, 0.8); | |||
} | |||
.status-indicator.error .status-dot { | |||
background: #ff4444; | |||
box-shadow: 0 0 10px rgba(255, 68, 68, 0.8); | |||
} | |||
/*──────── 3. RESOURCE BARS - Static shine ───────*/ | |||
.resource-bar { | |||
width: 100%; | |||
height: 24px; | |||
background: rgba(0, 0, 2, 0.9); | |||
border: 2px solid rgba(252, 231, 200, 0.3); | |||
position: relative; | |||
overflow: hidden; | |||
margin: 8px 0; | |||
} | |||
.resource-bar::before, | |||
.resource-bar::after { | |||
content: ''; | |||
position: absolute; | |||
width: 20px; | |||
height: 20px; | |||
background: rgba(252, 231, 200, 0.2); | |||
transform: rotate(45deg); | |||
} | |||
.resource-bar::before { | |||
top: -10px; | |||
left: -10px; | |||
} | |||
.resource-bar::after { | |||
bottom: -10px; | |||
right: -10px; | |||
} | |||
.resource-fill { | |||
height: 100%; | |||
background: linear-gradient(90deg, var(--dune-gold-dark) 0%, var(--dune-gold) 50%, var(--dune-gold-dark) 100%); | |||
transition: width 0.6s ease; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
/* Static shine effect */ | |||
.resource-fill::after { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 20%; | |||
width: 30%; | |||
height: 100%; | |||
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%); | |||
/* REMOVED: animation */ | |||
} | |||
.resource-label { | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
font-size: 12px; | |||
font-weight: 700; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
color: var(--dune-black); | |||
text-shadow: 0 0 3px rgba(255, 255, 255, 0.5); | |||
} | |||
/*──────── 4. TOOLTIP SYSTEM ───────*/ | |||
.tooltip-trigger { | |||
position: relative; | |||
cursor: help; | |||
border-bottom: 1px dotted var(--dune-gold); | |||
} | |||
.tooltip-content { | |||
position: absolute; | |||
bottom: 100%; | |||
left: 50%; | |||
transform: translateX(-50%) translateY(-8px); | |||
padding: 12px 16px; | |||
background: linear-gradient(135deg, rgba(0, 0, 2, 0.95) 0%, rgba(12, 10, 20, 0.95) 100%); | |||
border: 2px solid var(--dune-gold); | |||
color: var(--text-primary); | |||
font-size: 14px; | |||
line-height: 1.4; | |||
white-space: nowrap; | |||
opacity: 0; | |||
visibility: hidden; | |||
transition: all 0.3s ease; | |||
z-index: 1000; | |||
clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px); | |||
} | |||
.tooltip-content::after { | |||
content: ''; | |||
position: absolute; | |||
top: 100%; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 0; | |||
height: 0; | |||
border-left: 8px solid transparent; | |||
border-right: 8px solid transparent; | |||
border-top: 8px solid var(--dune-gold); | |||
} | |||
.tooltip-trigger:hover .tooltip-content { | |||
opacity: 1; | |||
visibility: visible; | |||
transform: translateX(-50%) translateY(-12px); | |||
} | |||
/*──────── 5. NOTIFICATION BADGES - Static ───────*/ | |||
.notification-badge { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 8px 16px; | |||
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(20, 18, 28, 0.9) 100%); | |||
border-left: 4px solid var(--dune-gold); | |||
position: relative; | |||
overflow: hidden; | |||
/* Simple fade in instead of slide */ | |||
opacity: 0; | |||
animation: fadeIn 0.3s ease-out forwards; | |||
margin: 8px 0; | |||
} | |||
@keyframes fadeIn { | |||
to { | |||
opacity: 1; | |||
} | } | ||
} | } | ||
.notification-badge::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 4px; | |||
height: 100%; | |||
background: var(--dune-gold); | |||
/* REMOVED: animation */ | |||
} | |||
.notification-badge.success { | |||
border-left-color: #44ff44; | |||
} | |||
.dune- | .notification-badge.success::before { | ||
.dune- | background: #44ff44; | ||
.dune- | } | ||
background:# | |||
border:2px solid #fce7c8; | .notification-badge.warning { | ||
border-left-color: #ff8844; | |||
} | |||
.notification-badge.warning::before { | |||
background: #ff8844; | |||
} | |||
.notification-badge.error { | |||
border-left-color: #ff4444; | |||
} | |||
.notification-badge.error::before { | |||
background: #ff4444; | |||
} | |||
/*──────── 6. ICON CONTAINERS ───────*/ | |||
.hex-icon { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 48px; | |||
height: 48px; | |||
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%); | |||
position: relative; | |||
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); | |||
} | |||
.hex-icon::before { | |||
content: ''; | |||
position: absolute; | |||
top: -2px; | |||
left: -2px; | |||
right: -2px; | |||
bottom: -2px; | |||
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover)); | |||
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); | |||
z-index: -1; | |||
opacity: 0.6; | |||
} | |||
/* Simple scale on hover */ | |||
.hex-icon:hover { | |||
transform: scale(1.1); | |||
transition: all 0.3s ease; | |||
} | |||
.hex-icon img, | |||
.hex-icon svg { | |||
width: 24px; | |||
height: 24px; | |||
filter: drop-shadow(0 0 3px var(--dune-gold-glow)); | |||
} | |||
/*──────── 7. DATA CARDS ───────*/ | |||
.data-card { | |||
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(12, 10, 20, 0.9) 100%); | |||
border: 1px solid rgba(252, 231, 200, 0.3); | |||
padding: 16px; | |||
margin: 8px 0; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.data-card-header { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
margin-bottom: 12px; | |||
padding-bottom: 8px; | |||
border-bottom: 1px solid rgba(252, 231, 200, 0.2); | |||
} | |||
.data-card-title { | |||
font-family: var(--font-display); | |||
font-size: 18px; | |||
font-weight: 600; | |||
color: var(--dune-gold); | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | |||
.data-card-value { | |||
font-size: 24px; | |||
font-weight: 700; | |||
color: var(--dune-gold-bright); | |||
text-shadow: 0 0 10px var(--dune-gold-glow); | |||
} | |||
.data-card-footer { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
margin-top: 12px; | |||
padding-top: 8px; | |||
border-top: 1px solid rgba(252, 231, 200, 0.2); | |||
font-size: 14px; | |||
color: var(--text-secondary); | |||
} | |||
.data-card-trend { | |||
display: flex; | |||
align-items: center; | |||
gap: 4px; | |||
} | |||
.data-card-trend.up { | |||
color: #44ff44; | |||
} | |||
.data-card-trend.down { | |||
color: #ff4444; | |||
} | |||
/*──────── 8. LOADING SKELETON - Kept for loading states ───────*/ | |||
.skeleton-loader { | |||
background: linear-gradient(90deg, | |||
rgba(252, 231, 200, 0.05) 0%, | |||
rgba(252, 231, 200, 0.1) 50%, | |||
rgba(252, 231, 200, 0.05) 100% | |||
); | |||
background-size: 200% 100%; | |||
animation: skeletonWave 1.5s linear infinite; | |||
border-radius: 2px; | |||
} | |||
@keyframes skeletonWave { | |||
0% { background-position: 200% 0; } | |||
100% { background-position: -200% 0; } | |||
} | |||
.skeleton-text { | |||
height: 16px; | |||
margin: 8px 0; | |||
} | |||
.skeleton-title { | |||
height: 24px; | |||
width: 60%; | |||
margin: 12px 0; | |||
} | |||
.skeleton-image { | |||
height: 200px; | |||
width: 100%; | |||
margin: 16px 0; | |||
} | |||
/*──────── Enhanced BuildingPage Styles - Clean Version ───────*/ | |||
/*──────── Card Component - Clean & Sleek ───────*/ | |||
.dune-card{ | |||
background: linear-gradient(135deg, rgba(0,0,2,.85) 0%, rgba(12,10,20,.85) 100%); | |||
color:#E0E0E0; | |||
padding:0; | |||
margin:0 0 24px 0; | |||
border: 2px solid rgba(252, 231, 200, 0.2); | |||
position: relative; | |||
overflow: hidden; | |||
/* Hexagonal clip for futuristic look */ | |||
clip-path: polygon( | |||
0 20px, | |||
20px 0, | |||
calc(100% - 20px) 0, | |||
100% 20px, | |||
100% calc(100% - 20px), | |||
calc(100% - 20px) 100%, | |||
20px 100%, | |||
0 calc(100% - 20px) | |||
); | |||
box-shadow: | |||
0 0 30px rgba(0,0,0,.8), | |||
inset 0 0 30px rgba(252, 231, 200, 0.05); | |||
/* Equal-height support */ | |||
display:flex; | |||
flex-direction:column; | |||
flex:1 0 auto; | |||
height:100%; | |||
} | |||
/* Inner padding container */ | |||
.dune-card-inner { | |||
padding: 20px; | |||
position: relative; | |||
z-index: 1; | |||
} | |||
/* Tech decoration corner - static, no pulsing */ | |||
.dune-card-decoration { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
width: 60px; | |||
height: 60px; | |||
background: linear-gradient(135deg, transparent 50%, rgba(252, 231, 200, 0.1) 50%); | |||
z-index: 2; | |||
} | |||
.dune-card-decoration::before { | |||
content: ''; | |||
position: absolute; | |||
top: 10px; | |||
right: 10px; | |||
width: 6px; | |||
height: 6px; | |||
background: #fce7c8; | |||
border-radius: 50%; | |||
box-shadow: 0 0 10px #fce7c8; | |||
opacity: 0.7; | |||
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */ | |||
} | |||
/* Enhanced labels */ | |||
.dune-card-label{ | |||
color:#E3BB7A; | |||
font-size:11px; | |||
text-transform:uppercase; | |||
margin-bottom:8px; | |||
letter-spacing: 2px; | |||
font-weight: 700; | |||
display: inline-block; | |||
padding: 4px 12px; | |||
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, transparent 100%); | |||
border-left: 3px solid #fce7c8; | |||
position: relative; | |||
} | |||
/* Enhanced titles - static underline */ | |||
.dune-card-title{ | |||
margin:0; | |||
font-size:24px; | |||
color:#fce7c8; | |||
text-transform:uppercase; | |||
padding-bottom:12px; | |||
margin-bottom:16px; | |||
display:flex; | |||
align-items:center; | |||
position: relative; | |||
font-weight: 700; | |||
letter-spacing: 1px; | |||
text-shadow: 0 0 20px rgba(252, 231, 200, 0.5); | |||
} | |||
/* Static title underline - no animation */ | |||
.dune-card-title::after { | |||
content: ''; | |||
position: absolute; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
height: 2px; | |||
background: linear-gradient(90deg, | |||
transparent 0%, | |||
#fce7c8 20%, | |||
#E3BB7A 50%, | |||
#fce7c8 80%, | |||
transparent 100% | |||
); | |||
/* REMOVED: animation: slideGlow 3s ease-in-out infinite; */ | |||
} | |||
.dune-card-title .icon{ | |||
margin-right:12px; | |||
font-size: 28px; | |||
color: #fce7c8; | |||
filter: drop-shadow(0 0 5px rgba(252, 231, 200, 0.7)); | |||
} | |||
/* Enhanced description boxes */ | |||
.dune-card-description{ | |||
font-size:16px; | |||
line-height:1.6; | |||
background: rgba(0,0,2,.8); | |||
border: 1px solid rgba(252, 231, 200, 0.2); | |||
padding:16px; | |||
margin-bottom:16px; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
/* Tech corner accents for descriptions */ | |||
.dune-card-description::before, | |||
.dune-card-description::after { | |||
content: ''; | |||
position: absolute; | |||
width: 20px; | |||
height: 20px; | |||
border: 2px solid rgba(252, 231, 200, 0.3); | |||
} | |||
.dune-card-description::before { | |||
top: -1px; | |||
left: -1px; | |||
border-right: none; | |||
border-bottom: none; | |||
} | |||
.dune-card-description::after { | |||
bottom: -1px; | |||
right: -1px; | |||
border-left: none; | |||
border-top: none; | |||
} | |||
/* Enhanced image styling */ | |||
.dune-card-image{ | |||
text-align:center; | |||
margin:16px 0; | |||
position: relative; | |||
} | |||
.dune-card-image img{ | |||
max-width:220px; | |||
max-height:220px; | |||
object-fit:contain; | |||
filter: drop-shadow(0 0 20px rgba(252, 231, 200, 0.3)); | |||
transition: all 0.3s ease; | |||
} | |||
.dune-card-image:hover img { | |||
transform: scale(1.05); | |||
filter: drop-shadow(0 0 30px rgba(252, 231, 200, 0.5)); | |||
} | |||
.has-border, | |||
.card-image-border{ | |||
border: 3px solid transparent; | |||
background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) padding-box, | |||
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box; | |||
padding:8px; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
/* Static shimmer effect - no animation */ | |||
.has-border::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
background: linear-gradient(45deg, transparent 30%, rgba(252, 231, 200, 0.05) 50%, transparent 70%); | |||
/* REMOVED: animation: shimmer 3s ease-in-out infinite; */ | |||
} | |||
/* Enhanced locked-behind box */ | |||
.dune-card-locked{ | |||
margin:20px 0; | |||
background: linear-gradient(135deg, rgba(160, 123, 64, 0.2) 0%, rgba(0,0,2,.8) 100%); | |||
border: 2px solid rgba(252, 231, 200, 0.4); | |||
padding:16px; | |||
text-align:center; | |||
position: relative; | |||
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px); | |||
} | |||
.dune-card-locked-label{ | |||
color:#fce7c8; | |||
font-weight:700; | |||
font-size:13px; | |||
margin-bottom:12px; | |||
padding-bottom:8px; | |||
text-transform:uppercase; | |||
letter-spacing: 2px; | |||
border-bottom: 2px solid rgba(252, 231, 200, 0.3); | |||
} | |||
.dune-card-locked-icon{ | |||
display:inline-block; | |||
width:20px; | |||
height:20px; | |||
margin-right:8px; | |||
color:#fce7c8; | |||
font-size:18px; | |||
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */ | |||
} | |||
.dune-card-locked-value{ | |||
color:#fff; | |||
font-size:18px; | |||
padding:8px 16px; | |||
background: rgba(252, 231, 200, 0.1); | |||
border: 1px solid rgba(252, 231, 200, 0.3); | |||
display:inline-block; | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
box-shadow: inset 0 0 10px rgba(252, 231, 200, 0.1); | |||
} | |||
/*──────── Clean Tables - No triangles, simple headers ───────*/ | |||
.dune-table-wrapper{ | |||
border: 2px solid rgba(252, 231, 200, 0.3); | |||
overflow:hidden; | |||
width:100%; | |||
position: relative; | |||
background: rgba(0,0,2,.6); | |||
box-shadow: inset 0 0 20px rgba(0,0,0,0.5); | |||
/* REMOVED: Corner triangles */ | |||
} | |||
table.infobox-dune-two-column, | |||
table.infobox-dune-standard-table{ | |||
width:100%; | |||
table-layout:fixed; | |||
border-collapse:separate; | |||
border-spacing:0; | |||
background: transparent; | |||
position: relative; | |||
} | |||
/* Enhanced table cells */ | |||
table.infobox-dune-two-column th, | |||
table.infobox-dune-two-column td, | |||
table.infobox-dune-standard-table th, | |||
table.infobox-dune-standard-table td{ | |||
padding:12px 8px; | |||
font-size:15px; | |||
color:#E0E0E0; | |||
background: rgba(12,10,20,.6); | |||
border-bottom: 1px solid rgba(252, 231, 200, 0.2); | |||
transition: all 0.2s ease; | |||
} | |||
/* Hover effect for table rows */ | |||
table.infobox-dune-two-column tr:hover td, | |||
table.infobox-dune-standard-table tr:hover td { | |||
background: rgba(252, 231, 200, 0.05); | |||
color: #fff; | |||
} | |||
/* Clean table headers - no gradient, simple dark background */ | |||
table.infobox-dune-two-column thead th, | |||
table.infobox-dune-standard-table thead th, | |||
.tr-dark{ | |||
background: rgba(0,0,2,.9); | |||
color:#fce7c8; | |||
font-weight:700; | |||
text-transform:uppercase; | |||
letter-spacing:1px; | |||
border-bottom: 2px solid rgba(252, 231, 200, 0.4); | |||
/* REMOVED: gradient and text-shadow */ | |||
} | |||
table.infobox-dune-two-column th .icon, | |||
table.infobox-dune-standard-table th .icon{ | |||
display:inline-flex; | |||
align-items:center; | |||
justify-content:center; | |||
margin-right:8px; | |||
width:20px; | |||
color:#fce7c8; | |||
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.7)); | |||
} | |||
table.infobox-dune-two-column tr:last-child td, | |||
table.infobox-dune-standard-table tr:last-child td{ | |||
border-bottom:none; | |||
} | |||
/* Icon column styling */ | |||
table.infobox-dune-two-column th:first-child, | |||
table.infobox-dune-standard-table th:first-child { | |||
width: 40%; | |||
text-align: left; | |||
padding-left: 16px; | |||
} | |||
/* Video container enhancement - no shimmer */ | |||
.dune-card-video { | |||
border: 3px solid transparent; | |||
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) padding-box, | |||
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box; | |||
padding: 4px; | |||
position: relative; | |||
overflow: hidden; | |||
box-shadow: 0 0 30px rgba(252, 231, 200, 0.3); | |||
} | |||
/* Responsive adjustments */ | |||
@media screen and (max-width:600px){ | |||
.dune-card{ | |||
clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px)); | |||
} | |||
.dune-card-title { | |||
font-size: 20px; | |||
} | |||
table.infobox-dune-two-column th, | |||
table.infobox-dune-two-column td, | |||
table.infobox-dune-standard-table th, | |||
table.infobox-dune-standard-table td{ | |||
padding:10px 6px; | |||
font-size:14px; | |||
} | |||
} | } | ||
. | /*──────── Recipe formatting ───────*/ | ||
.recipe-item { | |||
display: inline-flex; | |||
align-items: center; | |||
background: rgba(252, 231, 200, 0.1); | |||
border: 1px solid rgba(252, 231, 200, 0.3); | |||
padding: 4px 8px; | |||
margin: 2px; | |||
border-radius: 2px; | |||
transition: all 0.2s ease; | |||
} | } | ||
. | .recipe-item:hover { | ||
background:rgba( | background: rgba(252, 231, 200, 0.2); | ||
color:#fce7c8; | border-color: #fce7c8; | ||
transform: translateY(-2px); | |||
} | } | ||
. | /* Loading animation for dynamic content (kept for actual loading states) */ | ||
.content-loading { | |||
position: relative; | |||
min-height: 100px; | |||
} | |||
. | .content-loading::before { | ||
content: ''; | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
width: 40px; | |||
height: 40px; | |||
border: 3px solid rgba(252, 231, 200, 0.2); | |||
border-top-color: #fce7c8; | |||
border-radius: 50%; | |||
animation: loadingSpin 1s linear infinite; | |||
} | |||
/* | /* Only animation kept - for loading states */ | ||
@ | @keyframes loadingSpin { | ||
0% { transform: translate(-50%, -50%) rotate(0deg); } | |||
100% { transform: translate(-50%, -50%) rotate(360deg); } | |||
} | } | ||
Revision as of 13:02, 23 May 2025
/**********************************************************
* Enhanced Common.css – Clean version (minimal animations)
* (v3 clean · 2025-05-23)
**********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');
/*──────── 1. ENHANCED GLOBAL LAYOUT ───────*/
#tagline, h3#tagline{display:none!important;}
h1.title, .mw-page-title-main, h1.firstHeading{
margin-top:0!important;
line-height:1.2!important;
font-size:32px!important;
text-transform: uppercase;
letter-spacing: 2px;
background: linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.3);
}
#content, .mw-body, .mw-content-ltr, .mw-content-rtl{
padding-top:0!important;
margin-top:0!important;
}
html, body{
overflow-x:hidden!important;
position: relative;
}
/* Subtle static tech pattern overlay */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
repeating-linear-gradient(
45deg,
transparent,
transparent 35px,
rgba(252, 231, 200, 0.01) 35px,
rgba(252, 231, 200, 0.01) 70px
);
pointer-events: none;
z-index: 1;
}
/* Hide Pivot off-canvas elements */
nav.tab-bar.hide-for-print,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside{display:none!important;}
/*──────── 2. ENHANCED BREADCRUMB STRIP ───────*/
.dune-breadcrumb-nav{
display:flex;
align-items:center;
margin-bottom:20px;
font-size:18px;
background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
border: 2px solid transparent;
background-clip: padding-box;
padding: 8px 16px;
position: relative;
overflow: hidden;
/* Hexagonal clip-path for futuristic look */
clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}
/* Static glowing border effect */
.dune-breadcrumb-nav::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #fce7c8, #E3BB7A, #fce7c8);
z-index: -1;
opacity: 0.7;
filter: blur(2px);
/* REMOVED: animation */
}
.dune-breadcrumb-nav a{
color:#fce7c8;
text-decoration:none;
transition: all 0.3s ease;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.dune-breadcrumb-nav a:hover{
color:#fff;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.8);
}
.breadcrumb-home-link{
display:flex;
align-items:center;
}
.breadcrumb-home-icon{
width:20px;
height:20px;
margin-right:8px;
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.5));
}
.dune-breadcrumb-separator{
margin:0 12px;
color:#E3BB7A;
font-weight: bold;
position: relative;
}
.dune-breadcrumb-separator::before {
content: '◆';
font-size: 12px;
}
/*──────── 3. ENHANCED RADIAL MENU ───────*/
.dune-radial-menu{
position:fixed;
top:50%;
left:50%;
width:500px;
height:500px;
transform:translate(-50%,-50%) scale(0);
z-index:9999;
opacity:0;
visibility:hidden;
pointer-events:none;
transition:transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity .3s ease;
}
.dune-radial-menu.active{
transform:translate(-50%,-50%) scale(1);
opacity:1;
visibility:visible;
pointer-events:all;
}
/* Enhanced menu items with hexagonal shape */
.dune-radial-item,
.dune-radial-center,
.dune-subcategory-container{
background: linear-gradient(135deg, #0c0a14 0%, #1a1a1a 100%);
border: 2px solid #fce7c8;
box-shadow:
inset 0 0 20px rgba(0,0,0,0.5),
0 0 20px rgba(252, 231, 200, 0.2);
transition: all 0.3s ease;
}
.dune-radial-item:hover,
.dune-radial-center:hover{
background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
border-color: #fff;
box-shadow:
inset 0 0 20px rgba(252, 231, 200, 0.1),
0 0 30px rgba(252, 231, 200, 0.4);
transform: scale(1.05);
}
.dune-subcategory-header{
background: linear-gradient(90deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
color:#fce7c8;
border-bottom: 2px solid #fce7c8;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
}
.dune-subcategory-item{
color:#fce7c8;
transition: all 0.2s ease;
}
.dune-subcategory-item:hover{
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.2) 100%);
padding-left: 20px;
border-left: 3px solid #fce7c8;
}
.dune-radial-overlay{
background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
backdrop-filter: blur(3px);
}
/* Mobile grid enhancements */
@media screen and (max-width:768px){
.dune-radial-menu.mobile-grid{
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
border: 2px solid #fce7c8;
border-radius: 0;
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.dune-radial-item{
border: 2px solid #fce7c8;
background: rgba(0,0,2,.8);
}
.dune-subcategory-item{
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.3);
}
}
/*──────── 4. CLEAN UTILITY CLASSES ───────*/
/* Loading indicator for actual loading states */
.tech-loader {
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: #fce7c8;
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
display: inline-block;
}
@keyframes loadingSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Static glitch text effect */
.glitch-text {
text-shadow: 0 0 2px #fce7c8;
}
/**********************************************************
* Additional UI Components for Dune Wiki
* Clean version - minimal animations
**********************************************************/
/*──────── 1. HEXAGONAL BUTTONS ───────*/
.hex-button {
position: relative;
display: inline-block;
padding: 12px 32px;
margin: 8px;
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
color: var(--dune-gold);
font-family: var(--font-display);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
cursor: pointer;
transition: all 0.3s ease;
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
border: none;
}
.hex-button::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover));
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
z-index: -1;
opacity: 0.7;
transition: all 0.3s ease;
}
.hex-button:hover {
transform: translateY(-2px);
color: var(--dune-gold-bright);
text-shadow: 0 0 10px var(--dune-gold-glow);
}
.hex-button:hover::before {
opacity: 1;
filter: blur(3px);
}
/*──────── 2. STATUS INDICATORS - No animation ───────*/
.status-indicator {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
background: rgba(0, 0, 2, 0.8);
border: 1px solid rgba(252, 231, 200, 0.3);
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
overflow: hidden;
}
/* Static status sweep effect */
.status-indicator::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 30%;
height: 100%;
background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.05) 100%);
/* REMOVED: animation */
}
.status-indicator .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--dune-gold);
box-shadow: 0 0 10px var(--dune-gold-glow);
/* REMOVED: animation: techPulse */
}
.status-indicator.active .status-dot {
background: #44ff44;
box-shadow: 0 0 10px rgba(68, 255, 68, 0.8);
}
.status-indicator.warning .status-dot {
background: #ff8844;
box-shadow: 0 0 10px rgba(255, 136, 68, 0.8);
}
.status-indicator.error .status-dot {
background: #ff4444;
box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}
/*──────── 3. RESOURCE BARS - Static shine ───────*/
.resource-bar {
width: 100%;
height: 24px;
background: rgba(0, 0, 2, 0.9);
border: 2px solid rgba(252, 231, 200, 0.3);
position: relative;
overflow: hidden;
margin: 8px 0;
}
.resource-bar::before,
.resource-bar::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background: rgba(252, 231, 200, 0.2);
transform: rotate(45deg);
}
.resource-bar::before {
top: -10px;
left: -10px;
}
.resource-bar::after {
bottom: -10px;
right: -10px;
}
.resource-fill {
height: 100%;
background: linear-gradient(90deg, var(--dune-gold-dark) 0%, var(--dune-gold) 50%, var(--dune-gold-dark) 100%);
transition: width 0.6s ease;
position: relative;
overflow: hidden;
}
/* Static shine effect */
.resource-fill::after {
content: '';
position: absolute;
top: 0;
left: 20%;
width: 30%;
height: 100%;
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
/* REMOVED: animation */
}
.resource-label {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--dune-black);
text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
/*──────── 4. TOOLTIP SYSTEM ───────*/
.tooltip-trigger {
position: relative;
cursor: help;
border-bottom: 1px dotted var(--dune-gold);
}
.tooltip-content {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(-8px);
padding: 12px 16px;
background: linear-gradient(135deg, rgba(0, 0, 2, 0.95) 0%, rgba(12, 10, 20, 0.95) 100%);
border: 2px solid var(--dune-gold);
color: var(--text-primary);
font-size: 14px;
line-height: 1.4;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.tooltip-content::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid var(--dune-gold);
}
.tooltip-trigger:hover .tooltip-content {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(-12px);
}
/*──────── 5. NOTIFICATION BADGES - Static ───────*/
.notification-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(20, 18, 28, 0.9) 100%);
border-left: 4px solid var(--dune-gold);
position: relative;
overflow: hidden;
/* Simple fade in instead of slide */
opacity: 0;
animation: fadeIn 0.3s ease-out forwards;
margin: 8px 0;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.notification-badge::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--dune-gold);
/* REMOVED: animation */
}
.notification-badge.success {
border-left-color: #44ff44;
}
.notification-badge.success::before {
background: #44ff44;
}
.notification-badge.warning {
border-left-color: #ff8844;
}
.notification-badge.warning::before {
background: #ff8844;
}
.notification-badge.error {
border-left-color: #ff4444;
}
.notification-badge.error::before {
background: #ff4444;
}
/*──────── 6. ICON CONTAINERS ───────*/
.hex-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
position: relative;
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-icon::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover));
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
z-index: -1;
opacity: 0.6;
}
/* Simple scale on hover */
.hex-icon:hover {
transform: scale(1.1);
transition: all 0.3s ease;
}
.hex-icon img,
.hex-icon svg {
width: 24px;
height: 24px;
filter: drop-shadow(0 0 3px var(--dune-gold-glow));
}
/*──────── 7. DATA CARDS ───────*/
.data-card {
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(12, 10, 20, 0.9) 100%);
border: 1px solid rgba(252, 231, 200, 0.3);
padding: 16px;
margin: 8px 0;
position: relative;
overflow: hidden;
}
.data-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
}
.data-card-title {
font-family: var(--font-display);
font-size: 18px;
font-weight: 600;
color: var(--dune-gold);
text-transform: uppercase;
letter-spacing: 1px;
}
.data-card-value {
font-size: 24px;
font-weight: 700;
color: var(--dune-gold-bright);
text-shadow: 0 0 10px var(--dune-gold-glow);
}
.data-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 12px;
padding-top: 8px;
border-top: 1px solid rgba(252, 231, 200, 0.2);
font-size: 14px;
color: var(--text-secondary);
}
.data-card-trend {
display: flex;
align-items: center;
gap: 4px;
}
.data-card-trend.up {
color: #44ff44;
}
.data-card-trend.down {
color: #ff4444;
}
/*──────── 8. LOADING SKELETON - Kept for loading states ───────*/
.skeleton-loader {
background: linear-gradient(90deg,
rgba(252, 231, 200, 0.05) 0%,
rgba(252, 231, 200, 0.1) 50%,
rgba(252, 231, 200, 0.05) 100%
);
background-size: 200% 100%;
animation: skeletonWave 1.5s linear infinite;
border-radius: 2px;
}
@keyframes skeletonWave {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.skeleton-text {
height: 16px;
margin: 8px 0;
}
.skeleton-title {
height: 24px;
width: 60%;
margin: 12px 0;
}
.skeleton-image {
height: 200px;
width: 100%;
margin: 16px 0;
}
/*──────── Enhanced BuildingPage Styles - Clean Version ───────*/
/*──────── Card Component - Clean & Sleek ───────*/
.dune-card{
background: linear-gradient(135deg, rgba(0,0,2,.85) 0%, rgba(12,10,20,.85) 100%);
color:#E0E0E0;
padding:0;
margin:0 0 24px 0;
border: 2px solid rgba(252, 231, 200, 0.2);
position: relative;
overflow: hidden;
/* Hexagonal clip for futuristic look */
clip-path: polygon(
0 20px,
20px 0,
calc(100% - 20px) 0,
100% 20px,
100% calc(100% - 20px),
calc(100% - 20px) 100%,
20px 100%,
0 calc(100% - 20px)
);
box-shadow:
0 0 30px rgba(0,0,0,.8),
inset 0 0 30px rgba(252, 231, 200, 0.05);
/* Equal-height support */
display:flex;
flex-direction:column;
flex:1 0 auto;
height:100%;
}
/* Inner padding container */
.dune-card-inner {
padding: 20px;
position: relative;
z-index: 1;
}
/* Tech decoration corner - static, no pulsing */
.dune-card-decoration {
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 60px;
background: linear-gradient(135deg, transparent 50%, rgba(252, 231, 200, 0.1) 50%);
z-index: 2;
}
.dune-card-decoration::before {
content: '';
position: absolute;
top: 10px;
right: 10px;
width: 6px;
height: 6px;
background: #fce7c8;
border-radius: 50%;
box-shadow: 0 0 10px #fce7c8;
opacity: 0.7;
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */
}
/* Enhanced labels */
.dune-card-label{
color:#E3BB7A;
font-size:11px;
text-transform:uppercase;
margin-bottom:8px;
letter-spacing: 2px;
font-weight: 700;
display: inline-block;
padding: 4px 12px;
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, transparent 100%);
border-left: 3px solid #fce7c8;
position: relative;
}
/* Enhanced titles - static underline */
.dune-card-title{
margin:0;
font-size:24px;
color:#fce7c8;
text-transform:uppercase;
padding-bottom:12px;
margin-bottom:16px;
display:flex;
align-items:center;
position: relative;
font-weight: 700;
letter-spacing: 1px;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.5);
}
/* Static title underline - no animation */
.dune-card-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg,
transparent 0%,
#fce7c8 20%,
#E3BB7A 50%,
#fce7c8 80%,
transparent 100%
);
/* REMOVED: animation: slideGlow 3s ease-in-out infinite; */
}
.dune-card-title .icon{
margin-right:12px;
font-size: 28px;
color: #fce7c8;
filter: drop-shadow(0 0 5px rgba(252, 231, 200, 0.7));
}
/* Enhanced description boxes */
.dune-card-description{
font-size:16px;
line-height:1.6;
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.2);
padding:16px;
margin-bottom:16px;
position: relative;
overflow: hidden;
}
/* Tech corner accents for descriptions */
.dune-card-description::before,
.dune-card-description::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid rgba(252, 231, 200, 0.3);
}
.dune-card-description::before {
top: -1px;
left: -1px;
border-right: none;
border-bottom: none;
}
.dune-card-description::after {
bottom: -1px;
right: -1px;
border-left: none;
border-top: none;
}
/* Enhanced image styling */
.dune-card-image{
text-align:center;
margin:16px 0;
position: relative;
}
.dune-card-image img{
max-width:220px;
max-height:220px;
object-fit:contain;
filter: drop-shadow(0 0 20px rgba(252, 231, 200, 0.3));
transition: all 0.3s ease;
}
.dune-card-image:hover img {
transform: scale(1.05);
filter: drop-shadow(0 0 30px rgba(252, 231, 200, 0.5));
}
.has-border,
.card-image-border{
border: 3px solid transparent;
background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) padding-box,
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box;
padding:8px;
position: relative;
overflow: hidden;
}
/* Static shimmer effect - no animation */
.has-border::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 30%, rgba(252, 231, 200, 0.05) 50%, transparent 70%);
/* REMOVED: animation: shimmer 3s ease-in-out infinite; */
}
/* Enhanced locked-behind box */
.dune-card-locked{
margin:20px 0;
background: linear-gradient(135deg, rgba(160, 123, 64, 0.2) 0%, rgba(0,0,2,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.4);
padding:16px;
text-align:center;
position: relative;
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.dune-card-locked-label{
color:#fce7c8;
font-weight:700;
font-size:13px;
margin-bottom:12px;
padding-bottom:8px;
text-transform:uppercase;
letter-spacing: 2px;
border-bottom: 2px solid rgba(252, 231, 200, 0.3);
}
.dune-card-locked-icon{
display:inline-block;
width:20px;
height:20px;
margin-right:8px;
color:#fce7c8;
font-size:18px;
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */
}
.dune-card-locked-value{
color:#fff;
font-size:18px;
padding:8px 16px;
background: rgba(252, 231, 200, 0.1);
border: 1px solid rgba(252, 231, 200, 0.3);
display:inline-block;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: inset 0 0 10px rgba(252, 231, 200, 0.1);
}
/*──────── Clean Tables - No triangles, simple headers ───────*/
.dune-table-wrapper{
border: 2px solid rgba(252, 231, 200, 0.3);
overflow:hidden;
width:100%;
position: relative;
background: rgba(0,0,2,.6);
box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
/* REMOVED: Corner triangles */
}
table.infobox-dune-two-column,
table.infobox-dune-standard-table{
width:100%;
table-layout:fixed;
border-collapse:separate;
border-spacing:0;
background: transparent;
position: relative;
}
/* Enhanced table cells */
table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td{
padding:12px 8px;
font-size:15px;
color:#E0E0E0;
background: rgba(12,10,20,.6);
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
transition: all 0.2s ease;
}
/* Hover effect for table rows */
table.infobox-dune-two-column tr:hover td,
table.infobox-dune-standard-table tr:hover td {
background: rgba(252, 231, 200, 0.05);
color: #fff;
}
/* Clean table headers - no gradient, simple dark background */
table.infobox-dune-two-column thead th,
table.infobox-dune-standard-table thead th,
.tr-dark{
background: rgba(0,0,2,.9);
color:#fce7c8;
font-weight:700;
text-transform:uppercase;
letter-spacing:1px;
border-bottom: 2px solid rgba(252, 231, 200, 0.4);
/* REMOVED: gradient and text-shadow */
}
table.infobox-dune-two-column th .icon,
table.infobox-dune-standard-table th .icon{
display:inline-flex;
align-items:center;
justify-content:center;
margin-right:8px;
width:20px;
color:#fce7c8;
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.7));
}
table.infobox-dune-two-column tr:last-child td,
table.infobox-dune-standard-table tr:last-child td{
border-bottom:none;
}
/* Icon column styling */
table.infobox-dune-two-column th:first-child,
table.infobox-dune-standard-table th:first-child {
width: 40%;
text-align: left;
padding-left: 16px;
}
/* Video container enhancement - no shimmer */
.dune-card-video {
border: 3px solid transparent;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) padding-box,
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box;
padding: 4px;
position: relative;
overflow: hidden;
box-shadow: 0 0 30px rgba(252, 231, 200, 0.3);
}
/* Responsive adjustments */
@media screen and (max-width:600px){
.dune-card{
clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
}
.dune-card-title {
font-size: 20px;
}
table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td{
padding:10px 6px;
font-size:14px;
}
}
/*──────── Recipe formatting ───────*/
.recipe-item {
display: inline-flex;
align-items: center;
background: rgba(252, 231, 200, 0.1);
border: 1px solid rgba(252, 231, 200, 0.3);
padding: 4px 8px;
margin: 2px;
border-radius: 2px;
transition: all 0.2s ease;
}
.recipe-item:hover {
background: rgba(252, 231, 200, 0.2);
border-color: #fce7c8;
transform: translateY(-2px);
}
/* Loading animation for dynamic content (kept for actual loading states) */
.content-loading {
position: relative;
min-height: 100px;
}
.content-loading::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: #fce7c8;
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
}
/* Only animation kept - for loading states */
@keyframes loadingSpin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}