/* Template:JourneyPage/styles.css
Journey tracking system styles for Dune wiki
Integrates with existing Dune theme */
/* ================================================
JOURNEY SYSTEM BASE STYLES
================================================ */
/* Main Container - Fixed height for wiki integration */
.journey-main-container {
display: flex;
gap: 20px;
padding: 15px 0;
max-width: 100%;
margin: 0 auto;
font-family: 'Rajdhani', sans-serif;
position: relative;
height: 700px; /* Fixed height for wiki pages */
min-height: 600px;
overflow: hidden;
align-items: stretch;
background: rgba(0,0,2,.3);
border: 2px solid rgba(252, 231, 200, 0.2);
}
/* Tech pattern overlay */
.journey-main-container::before {
content: '';
position: absolute;
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
);
z-index: -1;
}
/* Journey Categories - 60% width */
.journey-categories {
flex: 0 0 60%;
display: flex;
flex-direction: column;
gap: 15px;
overflow-y: auto;
overflow-x: hidden;
padding-right: 10px;
max-height: 100%;
}
/* Journey Section (Group) */
.journey-section {
background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
box-shadow:
inset 0 0 20px rgba(0,0,0,0.5),
0 2px 10px rgba(0,0,0,0.8);
padding: 15px;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
flex-shrink: 0;
}
.journey-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg,
transparent 0%,
#fce7c8 50%,
transparent 100%);
opacity: 0.3;
}
.journey-section:hover {
border-color: rgba(252, 231, 200, 0.4);
box-shadow:
inset 0 0 30px rgba(252, 231, 200, 0.05),
0 2px 20px rgba(252, 231, 200, 0.1);
}
.journey-section-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
position: relative;
}
.section-icon {
font-size: 24px;
color: #E3BB7A;
text-shadow: 0 0 10px rgba(227, 187, 122, 0.5);
}
.section-icon img {
width: 24px;
height: 24px;
object-fit: contain;
}
.section-title {
font-family: 'Orbitron', sans-serif;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
color: #fce7c8;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
}
/* Journey Grid */
.journey-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
max-width: 100%;
gap: 12px;
}
@media (min-width: 1200px) {
.journey-grid {
grid-template-columns: repeat(5, 1fr);
}
}
/* Journey Card */
.journey-card {
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
height: 130px; /* clip-path removed for linter compliance */
}
.journey-card::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg,
transparent 30%,
#fce7c8 50%,
transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}
.journey-card:hover {
transform: translateY(-2px);
border-color: #fce7c8;
box-shadow:
0 5px 20px rgba(252, 231, 200, 0.2),
inset 0 0 20px rgba(252, 231, 200, 0.05);
}
.journey-card:hover::before {
opacity: 0.3;
}
.journey-card.active {
border-color: #a855f7;
box-shadow:
0 0 30px rgba(168, 85, 247, 0.4),
inset 0 0 20px rgba(168, 85, 247, 0.1);
}
.journey-card.completed {
opacity: 0.7;
}
.journey-card.completed::after {
content: '✓';
position: absolute;
top: 5px;
right: 8px;
color: #fce7c8;
font-size: 20px;
font-weight: bold;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}
.journey-card-inner {
padding: 12px;
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.journey-icon {
width: 48px;
height: 48px;
margin: 0 auto 8px;
background: radial-gradient(circle, rgba(252, 231, 200, 0.1) 0%, transparent 70%);
border: 1px solid rgba(252, 231, 200, 0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #E3BB7A;
position: relative;
overflow: hidden;
}
.journey-icon img {
width: 48px;
height: 48px;
object-fit: contain;
}
.journey-icon::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(252, 231, 200, 0.2) 0%, transparent 50%);
transform: translate(-50%, -50%) scale(0);
transition: transform 0.3s ease;
}
.journey-card:hover .journey-icon::after {
transform: translate(-50%, -50%) scale(1.5);
}
.journey-name {
font-size: 12px;
font-weight: 600;
margin-bottom: 4px;
line-height: 1.2;
min-height: 28px;
display: flex;
align-items: center;
justify-content: center;
color: #fce7c8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.journey-tier {
font-size: 11px;
color: #E3BB7A;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Journey Details Panel - 40% width */
.journey-details-panel {
flex: 0 0 calc(40% - 20px);
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
box-shadow:
inset 0 0 30px rgba(0,0,0,0.5),
0 2px 20px rgba(0,0,0,0.8);
padding: 12px;
display: flex;
flex-direction: column;
gap: 10px;
position: relative;
height: 100%;
max-height: 100%;
overflow: hidden;
box-sizing: border-box;
}
.journey-details-panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg,
transparent 0%,
#fce7c8 50%,
transparent 100%);
opacity: 0.5;
}
.journey-details-panel > * {
flex-shrink: 0;
}
.journey-details-panel .journey-objectives {
flex: 1 1 auto;
flex-shrink: 1;
}
.journey-description {
flex-shrink: 1;
min-height: 0;
}
.journey-actions {
flex-shrink: 0;
margin-top: auto;
}
.journey-details-header {
display: flex;
align-items: center;
gap: 12px;
position: relative;
padding-bottom: 10px;
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
flex-shrink: 0;
}
.journey-tier-badge {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
border: 2px solid #fce7c8;
display: flex;
align-items: center;
justify-content: center;
position: relative; /* clip-path removed */
flex-shrink: 0;
}
.tier-number {
font-family: 'Orbitron', sans-serif;
font-size: 20px;
font-weight: 700;
color: white;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.journey-title {
flex: 1;
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #fce7c8;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
line-height: 1.2;
}
.completion-status {
position: absolute;
top: 0;
right: 0;
font-size: 11px;
color: #E3BB7A;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Description with accordion */
.journey-description {
padding: 8px;
background: rgba(0, 0, 2, 0.6);
border: 1px solid rgba(252, 231, 200, 0.2);
font-size: 11px;
line-height: 1.3;
color: #E0E0E0;
position: relative;
flex-shrink: 0;
max-height: none;
overflow: hidden;
transition: max-height 0.3s ease;
}
.journey-description.collapsed {
max-height: 42px;
}
.journey-description.expanded {
max-height: none;
}
.description-toggle {
position: absolute;
bottom: 2px;
right: 4px;
background: rgba(0, 0, 2, 0.9);
border: 1px solid rgba(252, 231, 200, 0.2);
color: #E3BB7A;
font-size: 10px;
padding: 2px 8px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.3s ease;
}
.description-toggle:hover {
border-color: #fce7c8;
color: #fce7c8;
}
.journey-description::before {
content: '"';
position: absolute;
top: 5px;
left: 10px;
font-size: 30px;
color: #E3BB7A;
opacity: 0.3;
}
/* Rewards Section */
.journey-rewards {
background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
border: 1px solid rgba(252, 231, 200, 0.2);
padding: 8px;
position: relative;
overflow: hidden;
flex-shrink: 0;
}
.journey-rewards::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(90deg, transparent 0%, #E3BB7A 50%, transparent 100%);
}
.rewards-header {
font-family: 'Orbitron', sans-serif;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 8px;
color: #E3BB7A;
font-weight: 700;
}
.rewards-content {
display: flex;
align-items: center;
gap: 12px;
}
.xp-icon {
background: linear-gradient(135deg, #E3BB7A 0%, #fce7c8 100%);
color: #0a0a0a;
padding: 5px 12px;
font-family: 'Orbitron', sans-serif;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px; /* clip-path removed */
}
.xp-amount {
font-family: 'Orbitron', sans-serif;
font-size: 20px;
font-weight: 700;
color: #fce7c8;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}
/* Objectives Section */
.journey-objectives {
background: rgba(0, 0, 2, 0.6);
border: 1px solid rgba(252, 231, 200, 0.2);
padding: 12px;
flex: 1 1 auto;
min-height: 100px;
overflow: hidden;
display: flex;
flex-direction: column;
}
.objectives-list {
overflow-y: auto;
overflow-x: hidden;
padding-right: 10px;
flex: 1 1 auto;
min-height: 0;
}
.objectives-header {
font-family: 'Orbitron', sans-serif;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 12px;
color: #E3BB7A;
font-weight: 700;
}
.objective-item {
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(252, 231, 200, 0.1);
}
.objective-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.objective-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 10px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
/* Accordion indicator */
.objective-header::after {
content: '▼';
position: absolute;
right: 40px;
font-size: 12px;
color: #E3BB7A;
transition: transform 0.3s ease;
}
.objective-item.collapsed .objective-header::after {
transform: rotate(-90deg);
}
.objective-header:hover {
color: #fce7c8;
}
.objective-header:hover::after {
color: #fce7c8;
}
.objective-icon {
width: 28px;
height: 28px;
background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
border: 1px solid #fce7c8;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 700;
color: white; /* clip-path removed */
}
.objective-title {
flex: 1;
font-weight: 600;
color: #fce7c8;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 14px;
padding-right: 50px;
}
.objective-progress {
font-family: 'Orbitron', sans-serif;
font-size: 12px;
color: #E3BB7A;
font-weight: 600;
display: flex;
align-items: center;
gap: 5px;
}
.objective-progress.completed {
color: #fce7c8;
}
.objective-progress.completed::after {
content: '✓';
font-size: 14px;
color: #fce7c8;
margin-left: 2px;
}
.objective-tasks {
margin-left: 40px;
max-height: 500px;
overflow: hidden;
transition: max-height 0.3s ease;
}
.objective-item.collapsed .objective-tasks {
max-height: 0;
}
.task-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
font-size: 13px;
color: #E0E0E0;
}
.task-checkbox {
width: 16px;
height: 16px;
border: 2px solid rgba(252, 231, 200, 0.2);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
position: relative;
cursor: pointer;
}
.task-checkbox::before {
content: '';
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
left: -1px;
background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.task-checkbox.completed {
background: #E3BB7A;
border-color: #fce7c8;
}
.task-checkbox.completed::after {
content: '✓';
color: #0a0a0a;
font-size: 12px;
font-weight: bold;
}
.task-description {
flex: 1;
}
.task-qty {
color: #E3BB7A;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
/* Action Buttons */
.journey-actions {
display: flex;
gap: 10px;
flex-shrink: 0;
margin-top: 5px;
}
.action-button {
flex: 1;
padding: 10px 14px;
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
color: #fce7c8;
font-family: 'Rajdhani', sans-serif;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
position: relative;
overflow: hidden;
}
.action-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.action-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.2) 50%, transparent 100%);
transition: left 0.3s ease;
}
.action-button:not(:disabled):hover {
border-color: #fce7c8;
box-shadow:
0 0 20px rgba(252, 231, 200, 0.2),
inset 0 0 20px rgba(252, 231, 200, 0.05);
}
.action-button:not(:disabled):hover::before {
left: 100%;
}
.button-icon {
font-size: 16px;
}
/* Popup Modal */
.journey-popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8); /* backdrop-filter removed */
display: none;
align-items: center;
justify-content: center;
z-index: 10000;
}
.journey-popup-overlay.active {
display: flex;
}
.journey-popup {
background: linear-gradient(135deg, rgba(0,0,2,.98) 0%, rgba(12,10,20,.98) 100%);
border: 2px solid #fce7c8;
box-shadow: 0 10px 50px rgba(0,0,0,0.8);
padding: 0;
max-width: 90%;
max-height: 90vh;
position: relative;
display: flex;
flex-direction: column;
}
.popup-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
background: rgba(0,0,2,.8);
border-bottom: 2px solid rgba(252, 231, 200, 0.2);
}
.popup-title {
font-family: 'Orbitron', sans-serif;
font-size: 18px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
color: #fce7c8;
}
.popup-close {
background: none;
border: 2px solid rgba(252, 231, 200, 0.2);
color: #fce7c8;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 20px;
transition: all 0.3s ease;
}
.popup-close:hover {
border-color: #fce7c8;
background: rgba(252, 231, 200, 0.1);
}
.popup-content {
padding: 20px;
overflow-y: auto;
flex: 1;
}
/* Item list popup */
.journey-popup.items-popup {
width: 600px;
}
/* Materials progress */
.materials-progress {
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
padding: 12px;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s ease;
}
.materials-progress.completed {
border-color: #fce7c8;
background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
box-shadow: 0 0 20px rgba(252, 231, 200, 0.2);
}
.materials-progress-text {
font-family: 'Orbitron', sans-serif;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
color: #E3BB7A;
transition: all 0.3s ease;
}
.materials-progress.completed .materials-progress-text {
color: #fce7c8;
}
.materials-progress-count {
font-family: 'Orbitron', sans-serif;
font-size: 16px;
font-weight: 700;
color: #fce7c8;
display: flex;
align-items: center;
gap: 8px;
}
.materials-progress.completed .materials-progress-count::after {
content: '✓';
font-size: 20px;
color: #fce7c8;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
animation: completionPulse 0.5s ease;
}
@keyframes completionPulse {
0% { transform: scale(0.5); opacity: 0; }
50% { transform: scale(1.2); }
100% { transform: scale(1); opacity: 1; }
}
.materials-list {
display: grid;
gap: 12px;
position: relative;
}
.material-category {
background: rgba(252, 231, 200, 0.05);
border: 1px solid rgba(252, 231, 200, 0.2);
padding: 15px;
position: relative;
}
.material-category-title {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #E3BB7A;
margin-bottom: 10px;
}
.material-item {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 0;
border-bottom: 1px solid rgba(252, 231, 200, 0.1);
cursor: pointer;
transition: all 0.3s ease;
}
.material-item:hover {
background: rgba(252, 231, 200, 0.02);
}
.material-item:last-child {
border-bottom: none;
}
.material-item.checked {
opacity: 0.6;
}
.material-item.checked .material-name {
text-decoration: line-through;
color: #E3BB7A;
}
.material-checkbox {
width: 18px;
height: 18px;
border: 2px solid rgba(252, 231, 200, 0.2);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
position: relative;
flex-shrink: 0;
}
.material-checkbox::before {
content: '';
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
left: -1px;
background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.material-checkbox.completed {
background: #E3BB7A;
border-color: #fce7c8;
}
.material-checkbox.completed::after {
content: '✓';
color: #0a0a0a;
font-size: 12px;
font-weight: bold;
}
.material-icon {
width: 32px;
height: 32px;
background: rgba(252, 231, 200, 0.1);
border: 1px solid rgba(252, 231, 200, 0.2);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.material-icon img {
width: 20px;
height: 20px;
}
.material-name {
flex: 1;
font-size: 14px;
color: #E0E0E0;
transition: all 0.3s ease;
}
.material-qty {
font-family: 'Orbitron', sans-serif;
font-size: 16px;
font-weight: 700;
color: #fce7c8;
}
/* Loading State */
.loading {
opacity: 0.5;
position: relative; /* pointer-events removed for MediaWiki */
}
.loading::after {
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;
}
@keyframes loadingSpin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Responsive Design */
@media (max-width: 1200px) {
.journey-main-container {
flex-direction: column;
height: auto;
min-height: 800px;
}
.journey-categories {
flex: 0 0 auto;
min-height: 300px;
max-height: 400px;
}
.journey-details-panel {
flex: 1 1 auto;
min-height: 400px;
}
.journey-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
}
@media (max-width: 768px) {
.journey-grid {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.journey-card-inner {
padding: 12px;
}
.journey-icon {
width: 48px;
height: 48px;
font-size: 24px;
}
.journey-name {
font-size: 12px;
}
.journey-details-panel {
padding: 16px;
}
}