* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050505;
    color: #fff;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 0;
}

.app-container {
    position: relative;
    z-index: 1;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.app-header .logo img {
    height: 28px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.demo-badge {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
}

.main-content {
    padding: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.step-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.step-container.hidden {
    display: none;
}

.step-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.score-reveal-page {
    max-width: 1600px;
    text-align: left;
}

.login-icon {
    font-size: 80px;
    color: rgba(255,255,255,0.15);
    margin-bottom: 32px;
}

h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #fff;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: #fff;
}

.step-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    margin-bottom: 32px;
}

.x-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.x-login-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

.login-note {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 48px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.type-card {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.type-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: #111;
}

.type-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #fff;
}

.type-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.type-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.location-btn {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.location-btn:hover, .location-btn.selected {
    border-color: #fff;
    background: #111;
}

.location-btn .flag {
    font-size: 28px;
}

.fighters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.fighter-option,
.fighter-card-select {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: #fff;
}

.fighter-option:hover,
.fighter-card-select:hover {
    border-color: rgba(255,255,255,0.2);
}

.fighter-option.selected,
.fighter-card-select.selected {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.fighter-option img,
.fighter-card-select img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.1);
}

.fighter-option .name,
.fighter-card-select h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.fighter-option .division,
.fighter-card-select .division {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.fighter-card-select .fighter-avatar {
    font-size: 24px;
    margin-bottom: 8px;
}

.selected-count {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.style-btn {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.style-btn:hover, .style-btn.selected {
    border-color: #fff;
    background: #111;
}

.style-btn i {
    font-size: 20px;
    opacity: 0.7;
}

.next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.next-btn:hover {
    background: rgba(255,255,255,0.9);
}

.next-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-btn:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.score-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.calculating-text {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}

.score-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.legacy-header {
    margin-bottom: 32px;
}

.protocol-title {
    font-family: 'Inter', monospace;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.3em;
    margin-bottom: 12px;
}

.header-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.user-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.user-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-box {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.user-header-info .username {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.user-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.user-rank-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.user-rank-stats strong {
    color: #fff;
    font-weight: 600;
}

.stat-dot {
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.scorecard-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.scorecard-btn:hover {
    background: rgba(255,255,255,0.9);
}

.tab-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
}

.tab-btn:hover {
    color: rgba(255,255,255,0.7);
}

.tab-btn.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.bento-card {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
}

.bento-legacy-score {
    grid-column: span 5;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.bento-dna {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 400px;
}

.bento-corner {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-fight-log {
    grid-column: span 6;
    grid-row: span 2;
}

.bento-war-chest {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-war-scars {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-fight-metrics {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-tier-progress {
    grid-column: span 3;
    grid-row: span 2;
}

.card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.card-label i {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.card-label .menu-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 4px;
}

.legacy-score-ring {
    position: relative;
    width: 224px;
    height: 224px;
    margin: 16px 0;
}

.legacy-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: #fff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1.5s ease;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-center .score-number {
    display: block;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.score-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

.change-dot {
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
}

.ring-avatar {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: 4px solid #0d0d0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.tier-info {
    text-align: center;
    margin-top: 16px;
}

.tier-info .tier-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tier-info .tier-percentile {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.radar-wrapper {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.radar-wrapper canvas {
    max-width: 100%;
    max-height: 100%;
}

.dna-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dna-stat {
    text-align: center;
}

.dna-val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.dna-label {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.corner-count, .accuracy-display, .invested-amount, .achievements-count, .rank-display {
    margin-bottom: 24px;
}

.big-num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.change-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-left: 8px;
}

.corner-subhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.view-all-link {
    color: rgba(255,255,255,0.4);
    text-decoration: underline;
    font-size: 12px;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: rgba(255,255,255,0.7);
}

.followers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.follower-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follower-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.follower-name {
    flex: 1;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.follower-score {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.predictions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prediction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: background 0.2s;
}

.prediction-item:hover {
    background: rgba(255,255,255,0.05);
}

.prediction-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prediction-icon.win {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.prediction-icon.loss {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
}

.prediction-info {
    flex: 1;
}

.prediction-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.prediction-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.section-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.investment-ledger {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
}

.investment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.investment-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.investment-date {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.badges-showcase {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.badge-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.badge-item:hover {
    background: rgba(255,255,255,0.1);
}

.badge-item i {
    font-size: 28px;
    color: #fff;
}

.achievements-link {
    display: block;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-val {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

.metric-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
}

.tier-progress-bar {
    margin-bottom: 20px;
}

.progress-track {
    position: relative;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: visible;
    margin-bottom: 12px;
}

.progress-track .progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.progress-avatar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2));
    border: 3px solid #0d0d0d;
    border-radius: 50%;
    right: 0;
}

.progress-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-left, .footer-right {
    font-family: 'Inter', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

.footer-right {
    color: rgba(255,255,255,0.2);
}

.score-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.marketplace-header, .leaderboard-header {
    text-align: center;
    margin-bottom: 32px;
}

.user-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.mini-score {
    font-size: 16px;
    font-weight: 700;
}

.mini-tier {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.fighters-marketplace {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.marketplace-card {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s;
}

.marketplace-card:hover {
    border-color: rgba(255,255,255,0.2);
}

.leaderboard-table {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.leaderboard-header-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 120px;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.02);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leaderboard-list {
    max-height: 500px;
    overflow-y: auto;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 120px;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

.leaderboard-row.current-user {
    background: rgba(255,255,255,0.05);
}

.lb-rank {
    font-size: 16px;
    font-weight: 700;
}

.lb-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.lb-name {
    font-size: 14px;
    font-weight: 500;
}

.lb-tier {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.lb-score {
    font-size: 16px;
    font-weight: 700;
}

.lb-invested {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.score-boost-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .bento-legacy-score { grid-column: span 3; }
    .bento-dna { grid-column: span 3; }
    .bento-corner { grid-column: span 3; }
    .bento-fight-log { grid-column: span 3; }
    .bento-war-chest { grid-column: span 3; }
    .bento-war-scars { grid-column: span 3; }
    .bento-fight-metrics { grid-column: span 3; }
    .bento-tier-progress { grid-column: span 3; }
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-legacy-score,
    .bento-dna,
    .bento-corner,
    .bento-fight-log,
    .bento-war-chest,
    .bento-war-scars,
    .bento-fight-metrics,
    .bento-tier-progress {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .user-header-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .user-header-left {
        flex-direction: column;
    }
    
    .tab-navigation {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .type-options,
    .location-grid,
    .fighters-grid,
    .styles-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .leaderboard-header-row,
    .leaderboard-row {
        grid-template-columns: 60px 1fr 80px;
    }
    
    .lb-col-tier,
    .lb-col-invested,
    .lb-tier,
    .lb-invested {
        display: none;
    }
    
    .dashboard-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .score-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .type-options,
    .location-grid,
    .fighters-grid,
    .styles-grid {
        grid-template-columns: 1fr;
    }
    
    .fighters-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Step Indicator */
.step-indicator {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Skip Button */
.step-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.skip-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s;
}

.skip-btn:hover {
    color: rgba(255,255,255,0.7);
}

/* Tab Transitions */
.bento-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Card Hover Effects */
.bento-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.type-card:hover,
.fighter-card-select:hover,
.style-btn:hover,
.location-btn:hover {
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.modal.hidden {
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.modal-actions .next-btn,
.modal-actions .secondary-btn {
    flex: 1;
}

/* Scorecard Preview */
.scorecard-preview {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.scorecard-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}

.scorecard-logo {
    width: 20px;
    height: 20px;
}

.scorecard-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scorecard-avatar {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.scorecard-username {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.scorecard-score {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.scorecard-tier {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scorecard-rank {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.scorecard-footer {
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Coming Soon Modal */
.coming-soon-content {
    text-align: center;
    padding: 20px 0;
}

.coming-soon-content i {
    font-size: 48px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.coming-soon-content p {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Share Modal */
.share-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.share-option {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.share-option:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.share-option i {
    font-size: 24px;
}

.share-option span {
    font-size: 13px;
}

.share-preview {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 16px;
}

.share-preview p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
}

.empty-state i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 13px;
}

.empty-state-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    font-style: italic;
}
