Files
ArknightsWeb/css/style.css
T
itsaygea 868452eda3 Wider operator cards on mobile (2 columns instead of 3)
- Gives more room for long character names
- Cards are now wider with proper spacing
2026-01-24 08:01:32 -07:00

1074 lines
29 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-deep: #08080c;
--bg-dark: #0d0d15;
--bg-panel: rgba(8, 8, 12, 0.85);
--cyan: #00f5ff;
--orange: #ff6b35;
--pink: #ff2a6d;
--text-primary: #f0f0f5;
--text-secondary: #8a8a9a;
--border-glow: rgba(0, 245, 255, 0.5);
--text-on-image: rgba(255, 255, 255, 0.95);
--text-shadow-strong: 0 2px 8px rgba(0, 0, 0, 0.9);
}
body {
font-family: 'Rajdhani', sans-serif;
background: var(--bg-deep);
color: var(--text-primary);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
/* HUD Navigation - Minimal to not obstruct character view */
.hud-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 60px;
background: linear-gradient(180deg, rgba(8, 8, 12, 0.95) 0%, rgba(8, 8, 12, 0.7) 80%, transparent 100%);
backdrop-filter: blur(10px);
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
}
.nav-logo {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 900;
letter-spacing: 4px;
color: var(--cyan);
text-shadow: 0 0 15px var(--cyan);
}
.nav-links {
display: flex;
gap: 40px;
}
.nav-links a {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
font-weight: 500;
color: var(--text-secondary);
text-decoration: none;
letter-spacing: 2px;
text-transform: uppercase;
transition: color 0.2s, text-shadow 0.2s;
cursor: pointer;
}
.nav-links a:hover {
color: var(--cyan);
text-shadow: 0 0 10px var(--cyan);
}
/* Hero Section - Full Character Focus */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-character {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 900px;
height: 100vh;
object-fit: cover;
object-position: center top;
z-index: 1;
filter: brightness(0.9) contrast(1.1);
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(180deg, rgba(8, 8, 12, 0.3) 0%, rgba(8, 8, 12, 0.5) 50%, rgba(8, 8, 12, 0.8) 100%);
z-index: 2;
}
.hero-content {
position: relative;
z-index: 3;
text-align: center;
margin-top: 60vh;
padding: 30px 40px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(20px);
border-radius: 20px;
border: 1px solid rgba(255, 107, 53, 0.3);
box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(255, 107, 53, 0.1);
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 20px;
background: rgba(255, 107, 53, 0.2);
border: 1px solid var(--orange);
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--orange);
margin-bottom: 20px;
backdrop-filter: blur(10px);
}
.hero h1 {
font-family: 'Orbitron', sans-serif;
font-size: clamp(48px, 10vw, 100px);
font-weight: 900;
line-height: 1;
letter-spacing: -2px;
}
.hero h1 .outline {
-webkit-text-stroke: 2px var(--orange);
paint-order: stroke fill;
color: transparent;
filter: drop-shadow(0 0 30px var(--orange)) drop-shadow(0 0 60px rgba(255, 107, 53, 0.5));
}
.hero p {
font-size: 16px;
color: #fff;
max-width: 500px;
margin: 20px auto 0;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
line-height: 1.5;
}
.scroll-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
font-size: 24px;
color: var(--text-on-image);
text-shadow: var(--text-shadow-strong);
z-index: 3;
}
@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(-15px); }
}
/* Character Showcase Sections - FULL CHARACTER VISUAL */
.character-showcase {
min-height: 100vh;
position: relative;
display: flex;
overflow: hidden;
}
.character-showcase:nth-child(even) {
flex-direction: row-reverse;
}
.character-showcase-character {
position: absolute;
top: 0;
width: 65%;
height: 100%;
object-fit: cover;
object-position: center center;
z-index: 1;
}
.character-showcase:nth-child(odd) .character-showcase-character {
right: 0;
}
.character-showcase:nth-child(even) .character-showcase-character {
left: 0;
}
.character-overlay {
position: absolute;
top: 0;
width: 65%;
height: 100%;
z-index: 2;
background: linear-gradient(90deg, rgba(8, 8, 12, 0.7) 0%, rgba(8, 8, 12, 0.3) 60%, rgba(8, 8, 12, 0.7) 100%);
}
.character-showcase:nth-child(even) .character-overlay {
background: linear-gradient(270deg, rgba(8, 8, 12, 0.7) 0%, rgba(8, 8, 12, 0.3) 40%, rgba(8, 8, 12, 0.7) 100%);
}
.character-showcase-content {
position: relative;
z-index: 3;
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
padding: 60px;
}
.character-showcase:nth-child(odd) .character-showcase-content {
margin-left: auto;
}
.character-showcase:nth-child(even) .character-showcase-content {
margin-right: auto;
}
.character-number {
font-family: 'Share Tech Mono', monospace;
font-size: 14px;
letter-spacing: 4px;
color: var(--orange);
margin-bottom: 20px;
}
.character-name {
font-family: 'Orbitron', sans-serif;
font-size: clamp(42px, 6vw, 64px);
font-weight: 900;
line-height: 1;
margin-bottom: 15px;
text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
}
.character-subtitle {
font-family: 'Share Tech Mono', monospace;
font-size: 12px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--cyan);
margin-bottom: 25px;
}
.character-tags {
display: flex;
gap: 10px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.char-tag {
padding: 6px 14px;
background: rgba(0, 245, 255, 0.15);
border: 1px solid var(--cyan);
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--cyan);
backdrop-filter: blur(5px);
}
.char-tier-ss {
border-color: var(--orange);
color: var(--orange);
background: rgba(255, 107, 53, 0.15);
}
.char-tier-s {
border-color: #a855f7;
color: #a855f7;
background: rgba(168, 85, 247, 0.15);
}
.char-tier-a {
border-color: #22c55e;
color: #22c55e;
background: rgba(34, 197, 94, 0.15);
}
.character-quote {
font-size: 18px;
line-height: 1.6;
color: var(--text-on-image);
font-style: italic;
margin-bottom: 25px;
padding: 20px;
background: rgba(0, 0, 0, 0.3);
border-left: 3px solid var(--cyan);
backdrop-filter: blur(10px);
}
/* Tier List Grid */
.section {
padding: 80px 40px;
position: relative;
}
.section-header {
text-align: center;
margin-bottom: 50px;
}
.section-title {
font-family: 'Orbitron', sans-serif;
font-size: clamp(32px, 5vw, 48px);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 4px;
color: var(--text-primary);
}
.tier-header {
display: flex;
align-items: center;
gap: 20px;
margin: 30px 0 20px;
}
.tier-badge {
font-family: 'Orbitron', sans-serif;
font-size: 28px;
font-weight: 900;
padding: 10px 20px;
clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.tier-ss { background: linear-gradient(135deg, #ff6b6b, #feca57); color: #000; }
.tier-s { background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; }
.tier-a { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.tier-label {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--text-secondary);
}
.operator-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 20px;
max-width: 1400px;
margin: 0 auto;
}
.operator-card {
background: var(--bg-panel);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
overflow: hidden;
transition: all 0.3s;
cursor: pointer;
}
.operator-card:hover {
border-color: var(--border-glow);
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(0, 245, 255, 0.2);
}
.operator-card-img {
width: 100%;
height: 200px;
object-fit: cover;
object-position: center top;
}
.operator-card-content {
padding: 20px;
text-align: center;
}
.operator-card h4 {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 600;
letter-spacing: 1px;
margin-bottom: 10px;
}
.operator-card .tier {
font-family: 'Share Tech Mono', monospace;
font-size: 10px;
padding: 3px 8px;
border-radius: 4px;
display: inline-block;
margin-bottom: 10px;
}
.tier-ss-bg { background: linear-gradient(135deg, #ff6b6b, #feca57); color: #000; }
.tier-s-bg { background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; }
.tier-a-bg { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
/* Team Builder */
.team-builder {
background: var(--bg-panel);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 20px;
padding: 40px;
max-width: 1000px;
margin: 0 auto;
}
.team-slots {
display: flex;
gap: 15px;
margin-bottom: 30px;
flex-wrap: wrap;
justify-content: center;
}
.team-slot {
width: 90px;
height: 90px;
background: rgba(255, 255, 255, 0.03);
border: 2px dashed rgba(255, 255, 255, 0.2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Orbitron', sans-serif;
font-size: 28px;
color: var(--text-secondary);
transition: all 0.3s;
}
.team-slot.filled {
border-style: solid;
border-color: var(--cyan);
overflow: hidden;
padding: 0;
box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}
.team-slot.filled img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
.operator-select {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 12px;
margin-bottom: 30px;
}
.select-option {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 12px;
text-align: center;
cursor: pointer;
transition: all 0.2s;
}
.select-option:hover {
border-color: rgba(0, 245, 255, 0.4);
background: rgba(0, 245, 255, 0.05);
}
.select-option.selected {
border-color: var(--cyan);
background: rgba(0, 245, 255, 0.15);
box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}
.select-option img {
width: 60px;
height: 60px;
object-fit: cover;
object-position: center top;
border-radius: 8px;
margin-bottom: 8px;
}
.select-option .name {
font-family: 'Orbitron', sans-serif;
font-size: 11px;
font-weight: 500;
}
.suggestions {
background: rgba(0, 245, 255, 0.05);
border: 1px solid var(--border-glow);
border-radius: 16px;
padding: 25px;
display: none;
}
.suggestions.active {
display: block;
}
.suggestion-item {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
background: var(--bg-panel);
border-left: 3px solid var(--cyan);
margin-bottom: 10px;
border-radius: 8px;
}
.suggestion-item img {
width: 50px;
height: 50px;
object-fit: cover;
object-position: center top;
border-radius: 8px;
}
.suggestion-info h5 {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 600;
margin-bottom: 4px;
}
.suggestion-info p {
font-size: 12px;
color: var(--text-secondary);
}
.clear-btn {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
letter-spacing: 2px;
text-transform: uppercase;
background: transparent;
border: 1px solid var(--orange);
color: var(--orange);
padding: 12px 30px;
cursor: pointer;
transition: all 0.3s;
display: block;
margin: 0 auto;
}
.clear-btn:hover {
background: var(--orange);
color: #000;
}
/* Footer */
footer {
padding: 40px;
text-align: center;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
footer p {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
color: var(--text-secondary);
letter-spacing: 2px;
}
/* Mobile Menu Button */
.mobile-menu-btn {
display: none;
position: fixed;
top: 15px;
right: 15px;
z-index: 1001;
width: 44px;
height: 44px;
background: rgba(8, 8, 12, 0.9);
border: 1px solid var(--cyan);
border-radius: 8px;
cursor: pointer;
padding: 10px;
flex-direction: column;
justify-content: space-around;
transition: all 0.3s;
}
.mobile-menu-btn:hover {
background: rgba(0, 245, 255, 0.2);
box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}
.mobile-menu-btn span {
display: block;
width: 100%;
height: 2px;
background: var(--cyan);
border-radius: 2px;
transition: all 0.3s;
transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
/* Responsive */
@media (max-width: 1024px) {
.character-showcase {
flex-direction: column !important;
min-height: auto;
padding-top: 40vh;
}
.character-showcase-character {
position: absolute;
top: 0;
left: 50% !important;
right: auto !important;
transform: translateX(-50%);
width: 100%;
height: 40vh;
object-fit: cover;
object-position: top center;
opacity: 1;
z-index: 1;
}
.character-overlay {
display: none;
}
.character-showcase-content {
position: relative;
z-index: 2;
width: 100%;
background: linear-gradient(to top, var(--bg-dark) 20%, var(--bg-panel) 100%);
margin: 0;
padding: 40px 30px;
}
}
@media (max-width: 768px) {
.mobile-menu-btn {
display: flex;
}
.hud-nav {
padding: 0 70px 0 20px;
height: 60px;
background: rgba(8, 8, 12, 0.98);
}
.nav-links {
display: none;
position: fixed;
top: 60px;
left: 0;
right: 0;
flex-direction: column;
background: rgba(8, 8, 12, 0.98);
backdrop-filter: blur(20px);
padding: 20px;
gap: 0;
border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}
.nav-links.active {
display: flex;
}
.nav-links a {
padding: 15px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
font-size: 14px;
}
.hero h1 { font-size: 48px; }
.operator-grid { grid-template-columns: repeat(2, 1fr); }
.operator-select { grid-template-columns: repeat(4, 1fr); }
.guide-grid { grid-template-columns: 1fr; }
/* Fix operator cards on mobile for long names */
.operator-card h4 {
font-size: 12px;
letter-spacing: 0;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.3;
}
.operator-card-img {
height: 160px;
}
.operator-card-content {
padding: 15px 10px;
}
.character-showcase {
padding-top: 35vh;
}
.character-showcase-character {
height: 35vh;
}
.character-showcase-content {
padding: 30px 20px;
}
.character-showcase-content h2 {
font-size: 28px;
}
}
/* Animations */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-in {
animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.01ms !important; }
}
/* Builds Modal */
.builds-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
z-index: 2000;
overflow-y: auto;
padding: 40px 20px;
}
.builds-modal.active {
display: block;
}
.builds-container {
max-width: 1200px;
margin: 0 auto;
}
.builds-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
}
.builds-title {
font-family: 'Orbitron', sans-serif;
font-size: 32px;
font-weight: 700;
color: var(--text-primary);
}
.builds-close {
font-family: 'Share Tech Mono', monospace;
font-size: 14px;
color: var(--orange);
background: transparent;
border: 1px solid var(--orange);
padding: 10px 20px;
cursor: pointer;
transition: all 0.3s;
}
.builds-close:hover {
background: var(--orange);
color: #000;
}
.operator-build {
background: var(--bg-panel);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
margin-bottom: 30px;
overflow: hidden;
}
.operator-build-header {
display: flex;
align-items: center;
gap: 20px;
padding: 25px;
background: rgba(0, 245, 255, 0.05);
border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}
.operator-build-avatar {
width: 80px;
height: 80px;
background: var(--bg-dark);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.operator-build-avatar img {
width: 100%;
height: 100%;
object-fit: contain;
}
.operator-build-info h3 {
font-family: 'Orbitron', sans-serif;
font-size: 20px;
font-weight: 700;
margin-bottom: 5px;
}
.operator-build-role {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
color: var(--cyan);
letter-spacing: 2px;
}
.build-section {
padding: 20px 25px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.build-section:last-child {
border-bottom: none;
}
.build-section-title {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
letter-spacing: 2px;
color: var(--orange);
margin-bottom: 15px;
text-transform: uppercase;
}
.build-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 15px;
background: rgba(255, 255, 255, 0.03);
border-radius: 10px;
margin-bottom: 8px;
}
.build-item:last-child {
margin-bottom: 0;
}
.build-item-priority {
font-family: 'Share Tech Mono', monospace;
font-size: 10px;
padding: 3px 8px;
border-radius: 4px;
font-weight: 600;
}
.priority-s { background: linear-gradient(135deg, #ff6b6b, #feca57); color: #000; }
.priority-a { background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; }
.priority-b { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.build-item-name {
font-family: 'Rajdhani', sans-serif;
font-size: 14px;
color: var(--text-primary);
}
.build-item-desc {
font-size: 12px;
color: var(--text-secondary);
margin-left: auto;
}
/* Game Guide Section */
.guide-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
max-width: 1200px;
margin: 0 auto;
}
.guide-card {
background: var(--bg-panel);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 25px;
transition: all 0.3s;
}
.guide-card:hover {
border-color: var(--border-glow);
box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
}
.guide-card h3 {
font-family: 'Orbitron', sans-serif;
font-size: 16px;
font-weight: 700;
color: var(--orange);
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}
.guide-card h3::before {
content: '>';
font-family: 'Share Tech Mono', monospace;
color: var(--cyan);
}
.guide-card h4 {
font-family: 'Rajdhani', sans-serif;
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin: 15px 0 8px;
}
.guide-card p {
font-size: 13px;
line-height: 1.6;
color: var(--text-secondary);
margin-bottom: 10px;
}
.guide-card ul {
list-style: none;
padding: 0;
margin: 10px 0;
}
.guide-card li {
font-size: 13px;
color: var(--text-secondary);
padding: 5px 0;
padding-left: 20px;
position: relative;
}
.guide-card li::before {
content: '•';
position: absolute;
left: 0;
color: var(--cyan);
}
.currency-table {
width: 100%;
border-collapse: collapse;
margin: 15px 0;
}
.currency-table th {
font-family: 'Share Tech Mono', monospace;
font-size: 11px;
text-align: left;
padding: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: var(--orange);
}
.currency-table td {
font-size: 12px;
padding: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
color: var(--text-secondary);
}
.currency-table tr:last-child td {
border-bottom: none;
}
.highlight-box {
background: rgba(255, 107, 53, 0.1);
border-left: 3px solid var(--orange);
padding: 15px;
margin: 15px 0;
border-radius: 0 8px 8px 0;
}
.highlight-box p {
margin: 0;
color: #ffb88c;
}
.tip-box {
background: rgba(0, 245, 255, 0.05);
border-left: 3px solid var(--cyan);
padding: 12px 15px;
margin: 10px 0;
border-radius: 0 8px 8px 0;
}
.tip-box p {
margin: 0;
font-size: 12px;
color: var(--text-secondary);
}
.stat-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin: 15px 0;
}
.stat-item {
background: rgba(255, 255, 255, 0.03);
padding: 12px;
border-radius: 8px;
text-align: center;
}
.stat-value {
font-family: 'Orbitron', sans-serif;
font-size: 18px;
font-weight: 700;
color: var(--cyan);
}
.stat-label {
font-size: 10px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 1px;
}