Actions

MediaWiki

MediaWiki:Common.css

From Dune Awakening DB

Revision as of 17:47, 23 May 2025 by Operator (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**********************************************************
 *  Enhanced Common.css – Clean version with proper header
 *  Dune Awakening Theme for MediaWiki
 *  (v4 final · 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');

/*──────── CSS VARIABLES ───────*/
:root {
  --font-size-xs: 0.65rem !important;
  --font-size-sm: 0.75rem !important;
  --font-size-md: 0.85rem !important;
  --font-size-lg: 1.1rem !important;
  --font-size-xl: 1.3rem !important;
  --font-size-xxl: 1.7rem !important;
}

/*──────── 1. GLOBAL LAYOUT & RESETS ───────*/
#tagline, h3#tagline{display:none!important;}

html, body{
  overflow-x:hidden!important;
  position: relative;
  padding-top: 60px !important; /* Space for fixed header */
}

/* 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;
}

/* Page title styling */
h1.title, .mw-page-title-main, h1.firstHeading{
  margin-top:20px!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;
}

/*──────── 2. NEW CLEAN HEADER ───────*/
/* Remove all conflicting headers */
body::after,
nav.tab-bar.hide-for-print,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside,
#mw-header-container,
.mw-header {
  display: none !important;
}

/* New header implementation */
#dune-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%);
  border-bottom: 3px solid rgba(252, 231, 200, 0.4);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
}

.dune-header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 100%;
}

/* Logo styling */
.dune-logo {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 22px;
  color: #fce7c8;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.dune-logo:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(252, 231, 200, 0.6);
  text-decoration: none;
}

/* Navigation styling */
.dune-nav {
  display: flex;
  gap: 0;
  margin: 0 20px;
  height: 100%;
}

.dune-nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 100%;
  color: rgba(252, 231, 200, 0.8);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  border-right: 1px solid rgba(252, 231, 200, 0.1);
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
}

.dune-nav a:first-child {
  border-left: 1px solid rgba(252, 231, 200, 0.1);
}

.dune-nav a:hover {
  background: rgba(252, 231, 200, 0.1);
  color: #fce7c8;
  text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
  text-decoration: none;
}

/* Search styling */
.dune-search {
  display: flex;
  align-items: center;
}

.dune-search form {
  display: flex;
  align-items: center;
  gap: 0;
}

.dune-search-input {
  background: rgba(0, 0, 2, 0.8);
  border: 2px solid rgba(252, 231, 200, 0.3);
  border-radius: 0;
  color: #fce7c8;
  padding: 8px 12px;
  width: 200px;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.dune-search-input:focus {
  outline: none;
  border-color: #fce7c8;
  box-shadow: 0 0 10px rgba(252, 231, 200, 0.3);
  width: 250px;
}

.dune-search-input::placeholder {
  color: rgba(252, 231, 200, 0.5);
}

.dune-search-btn {
  background: rgba(252, 231, 200, 0.1);
  border: 2px solid rgba(252, 231, 200, 0.3);
  border-left: none;
  color: #fce7c8;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  height: 38px;
}

.dune-search-btn:hover {
  background: rgba(252, 231, 200, 0.2);
  border-color: #fce7c8;
}

/* Mobile menu button */
.dune-mobile-menu-btn {
  display: none;
  background: transparent;
  border: 2px solid #fce7c8;
  color: #fce7c8;
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  margin-right: 15px;
}

/*──────── 3. ENSURE SIDEBAR STAYS HIDDEN & FULL WIDTH ───────*/
#sidebar,
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.columns.large-2.medium-3,
aside.columns,
.tab-bar-section,
.tab-bar,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside {
  display: none !important;
}

/* Full width content */
#page-content,
#main-section,
.main-section,
.columns.large-10.medium-9,
#content-wrapper,
.mw-body {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove Foundation grid constraints */
.row {
  max-width: 100% !important;
  margin: 0 !important;
}

.columns {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.off-canvas-wrap,
.docs-wrap, 
.inner-wrap,
.main-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/*──────── 4. BREADCRUMB STYLING (SUBTLE) ───────*/
.dune-breadcrumb-nav{
  display:flex; 
  align-items:center; 
  margin-bottom:16px;
  font-size:13px; 
  background: rgba(0,0,2,.3);
  border: 1px solid rgba(252, 231, 200, 0.1);
  padding: 6px 12px; 
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.dune-breadcrumb-nav a{
  color:rgba(252, 231, 200, 0.5); 
  text-decoration:none; 
  transition: all 0.3s ease;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.5px;
}

.dune-breadcrumb-nav a:hover{
  color:rgba(252, 231, 200, 0.8);
  text-shadow: none;
}

.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 6px; 
  color:rgba(252, 231, 200, 0.2);
  font-weight: normal;
}

.dune-breadcrumb-separator::before {
  content: '/';
  font-size: 11px;
}

/*──────── 5. 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;
}

.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);
  }
}

/*──────── 6. 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;
}

/*──────── 7. UI COMPONENTS ───────*/

/* 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: #fce7c8;
  font-family: 'Orbitron', sans-serif;
  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, #fce7c8, #E3BB7A);
  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: #fff;
  text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}

.hex-button:hover::before {
  opacity: 1;
  filter: blur(3px);
}

/* Status Indicators */
.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;
}

.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%);
}

.status-indicator .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fce7c8;
  box-shadow: 0 0 10px rgba(252, 231, 200, 0.4);
}

.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);
}

/* Resource Bars */
.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, #A07B40 0%, #fce7c8 50%, #A07B40 100%);
  transition: width 0.6s ease;
  position: relative;
  overflow: hidden;
}

.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%);
}

.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: #000;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Tooltips */
.tooltip-trigger {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #fce7c8;
}

.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 #fce7c8;
  color: #E8E8E8;
  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 #fce7c8;
}

.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

/* Notification Badges */
.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 #fce7c8;
  position: relative;
  overflow: hidden;
  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: #fce7c8;
}

.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;
}

/* Hex Icons */
.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, #fce7c8, #E3BB7A);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0.6;
}

.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 rgba(252, 231, 200, 0.4));
}

/* 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: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fce7c8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-card-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(252, 231, 200, 0.4);
}

.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: #C8C8C8;
}

.data-card-trend {
  display: flex;
  align-items: center;
  gap: 4px;
}

.data-card-trend.up {
  color: #44ff44;
}

.data-card-trend.down {
  color: #ff4444;
}

/* Skeleton Loader */
.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;
}

/*──────── 8. BUILDING PAGE STYLES ───────*/

/* Card Component */
.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;
  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);
  display:flex;
  flex-direction:column;
  flex:1 0 auto;
  height:100%;
}

.dune-card-inner {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.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;
}

.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;
}

.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);
}

.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%
  );
}

.dune-card-title .icon{
  margin-right:12px;
  font-size: 28px;
  color: #fce7c8;
  filter: drop-shadow(0 0 5px rgba(252, 231, 200, 0.7));
}

.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;
}

.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;
}

.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;
}

.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%);
}

.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;
}

.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);
}

/*──────── 9. TABLES ───────*/
.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);
}

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;
}

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;
}

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;
}

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);
}

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;
}

table.infobox-dune-two-column th:first-child,
table.infobox-dune-standard-table th:first-child {
  width: 40%;
  text-align: left;
  padding-left: 16px;
}

/* Remove table row alternating colors */
.skin-pivot table tr,
.skin-pivot table tbody tr,
.skin-pivot table tbody tr:nth-child(odd),
.skin-pivot table tbody tr:nth-child(even),
.skin-pivot table tbody tr:nth-child(odd) td,
.skin-pivot table tbody tr:nth-child(even) td,
.skin-pivot .wikitable tr,
.skin-pivot .wikitable tbody tr:nth-child(odd),
.skin-pivot .wikitable tbody tr:nth-child(even) {
  background: transparent !important;
  background-color: transparent !important;
}

table.infobox-dune-two-column tbody tr td,
table.infobox-dune-standard-table tbody tr td {
  background: rgba(12,10,20,.6) !important;
  background-color: rgba(12,10,20,.6) !important;
}

/* Video container */
.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);
}

/*──────── 10. RESPONSIVE ADJUSTMENTS ───────*/
.responsive-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
}

.responsive-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}

.responsive-col > * {
  flex: 1 1 auto;
}

/* Content area */
#mw-content-text {
  padding: 0 20px !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
}

/* Desktop optimizations */
.dune-card-title {
  font-size: 18px !important;
}

.dune-card-label {
  font-size: 10px !important;
}

.dune-card-description {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td {
  font-size: 13px !important;
  padding: 8px 6px !important;
}

.dune-card {
  margin-bottom: 16px !important;
}

.dune-card-inner {
  padding: 16px !important;
}

.dune-card-title {
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
}

.dune-card-description {
  padding: 12px !important;
  margin-bottom: 12px !important;
}

.dune-card-locked {
  padding: 12px !important;
  margin: 16px 0 !important;
}

.dune-card-image img {
  max-width: 180px !important;
  max-height: 180px !important;
}

.dune-card-video {
  max-height: 200px;
  overflow: hidden;
}

.dune-table-wrapper {
  margin: 8px 0;
}

table.infobox-dune-standard-table thead th {
  padding: 8px !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
}

/* 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 */
.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;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px !important;
}

/*──────── 11. MOBILE RESPONSIVE ───────*/
@media (max-width: 768px) {
  .dune-header-inner {
    padding: 0 10px;
  }
  
  .dune-logo {
    font-size: 18px;
    letter-spacing: 2px;
  }
  
  .dune-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 8, 16, 0.98);
    flex-direction: column;
    border-top: 2px solid #fce7c8;
    margin: 0;
  }
  
  .dune-nav.mobile-active {
    display: flex;
  }
  
  .dune-nav a {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(252, 231, 200, 0.1);
    height: 50px;
  }
  
  .dune-search {
    display: none;
  }
  
  .dune-mobile-menu-btn {
    display: block;
  }
  
  .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;
  }
}

@media (max-width: 1200px) {
  .dune-nav a {
    padding: 0 15px;
    font-size: 13px;
  }
}

/*──────── 12. FOOTER ENHANCEMENT ───────*/
footer#footer {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%) !important;
  border-top: 2px solid rgba(252, 231, 200, 0.3);
  margin-top: 40px !important;
  padding: 20px !important;
}

footer#footer a {
  color: #fce7c8 !important;
  margin: 0 10px;
}

footer#footer li {
  display: inline-block !important;
  border: none !important;
}