/**********************************************************
* Template:BuildingPage/styles.css
* Dune Awakening Building Page Template Styles
* (v1.0 · 2025-05-24)
**********************************************************/
/* ================================================
RESPONSIVE LAYOUT CONTAINER
================================================ */
.responsive-container {
display: flex !important;
flex-wrap: wrap !important;
gap: 24px !important;
width: 100% !important;
max-width: none !important;
margin: 0 auto 20px auto !important;
padding: 0 20px !important;
box-sizing: border-box !important;
}
.responsive-col {
display: flex !important;
flex-direction: column !important;
flex: 1 1 0 !important;
min-width: 0 !important;
max-width: none !important;
}
/* Desktop: 3 columns */
@media (min-width: 1200px) {
.responsive-col {
flex: 1 1 calc(33.333% - 16px) !important;
}
}
/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
.responsive-col {
flex: 1 1 calc(50% - 12px) !important;
}
}
/* Mobile: 1 column */
@media (max-width: 767px) {
.responsive-col {
flex: 1 1 100% !important;
}
}
/* ================================================
DUNE CARD COMPONENTS
================================================ */
.dune-card {
background: linear-gradient(135deg, rgba(0,0,2,.85) 0%, rgba(12,10,20,.85) 100%);
color: #E0E0E0;
padding: 0;
margin-bottom: 20px !important;
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: 24px !important;
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;
}
/* Card Label */
.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;
}
/* Card Title */
.dune-card-title {
margin: 0;
font-size: 24px !important;
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));
}
/* Card Description */
.dune-card-description {
font-size: 18px !important;
line-height: 1.5 !important;
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;
}
/* Card Image */
.dune-card-image {
text-align: center;
margin: 16px 0;
position: relative;
}
.dune-card-image img {
max-width: 260px !important;
max-height: 260px !important;
width: 100%;
height: auto;
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));
}
/* Border Styling */
.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;
display: inline-block;
}
.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%);
}
/* Card Locked Section */
.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;
vertical-align: middle;
}
.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);
}
/* Card Video */
.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);
max-height: 250px;
}
.dune-card-video iframe,
.dune-card-video video {
width: 100%;
height: auto;
max-height: 240px;
}
/* ================================================
TABLE STYLES
================================================ */
.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);
margin: 12px 0;
}
table.infobox-dune-two-column,
table.infobox-dune-standard-table {
width: 100%;
table-layout: fixed;
border-collapse: separate;
border-spacing: 0;
background: transparent;
}
/* 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 10px !important;
font-size: 17px !important;
color: #E0E0E0;
background: rgba(12,10,20,.6);
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
transition: all 0.2s ease;
}
/* Table hover effects */
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 headers */
table.infobox-dune-two-column thead th,
table.infobox-dune-standard-table thead th,
.tr-dark,
tr.tr-dark td {
background: rgba(0,0,2,.9) !important;
color: #fce7c8 !important;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 2px solid rgba(252, 231, 200, 0.4);
}
/* Icon in table headers */
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));
}
/* First 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;
}
/* Remove last row border */
table.infobox-dune-two-column tr:last-child td,
table.infobox-dune-standard-table tr:last-child td {
border-bottom: none;
}
/* Override MediaWiki table backgrounds */
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;
}
/* ================================================
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);
}
/* ================================================
MOBILE RESPONSIVE ADJUSTMENTS
================================================ */
@media (max-width: 768px) {
/* Card adjustments */
.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-inner {
padding: 16px !important;
}
.dune-card-title {
font-size: 20px !important;
}
.dune-card-description {
font-size: 14px !important;
padding: 12px;
}
.dune-card-image img {
max-width: 180px !important;
max-height: 180px !important;
}
/* Table adjustments */
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 !important;
font-size: 14px !important;
}
/* Responsive container padding */
.responsive-container {
padding: 0 10px !important;
gap: 16px !important;
}
}