/* Import Inter font (macOS San Francisco alternative) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

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

:root {
    --macos-bg: #1e1e1e;
    --macos-window: #2d2d2d;
    --macos-border: #3a3a3a;
    --macos-highlight: #0a84ff;
    --macos-text: #ffffff;
    --macos-text-secondary: #a0a0a0;
    --macos-green: #30d158;
    --macos-red: #ff453a;
    --macos-yellow: #ffd60a;
    --macos-shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--macos-bg);
    color: var(--macos-text);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* macOS Window Chrome */
.macos-window {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, #3a3a3a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Traffic Lights */
.traffic-lights {
    display: flex;
    gap: 8px;
    align-items: center;
}

.traffic-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.traffic-red {
    background: linear-gradient(135deg, #ff6057 0%, #ff453a 100%);
}

.traffic-yellow {
    background: linear-gradient(135deg, #ffbd2e 0%, #ffd60a 100%);
}

.traffic-green {
    background: linear-gradient(135deg, #28cd41 0%, #30d158 100%);
}

.traffic-light:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

/* Window Title */
.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--macos-text-secondary);
    letter-spacing: 0.3px;
}

/* Splash Screen - macOS Style */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.6s ease-out 4s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.splash-content {
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.splash-logo-modern {
    margin-bottom: 40px;
}

.logo-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.splash-ascii-modern {
    color: var(--macos-green);
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(48, 209, 88, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
    white-space: pre;
    overflow-x: auto;
}

@keyframes glowPulse {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(48, 209, 88, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(48, 209, 88, 0.8);
        transform: scale(1.02);
    }
}

.splash-title {
    font-size: 96px;
    font-weight: 700;
    color: var(--macos-green);
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 
        0 0 20px rgba(48, 209, 88, 0.6),
        0 0 40px rgba(48, 209, 88, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
}

.splash-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--macos-text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.splash-status {
    margin-top: 40px;
}

.splash-messages-modern {
    position: relative;
    min-height: 30px;
    margin-bottom: 30px;
}

.splash-text {
    position: absolute;
    width: 100%;
    text-align: center;
    color: var(--macos-text);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    opacity: 0;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.splash-msg-1 {
    animation-name: fadeInOut1;
}

.splash-msg-2 {
    animation-name: fadeInOut2;
}

.splash-msg-3 {
    animation-name: fadeInOut3;
}

.splash-msg-4 {
    animation-name: fadeInOut4;
}

@keyframes fadeInOut1 {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    20% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes fadeInOut2 {
    0%, 20% { opacity: 0; transform: translateY(10px); }
    30% { opacity: 1; transform: translateY(0); }
    40% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes fadeInOut3 {
    0%, 40% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
    60% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes fadeInOut4 {
    0%, 60% { opacity: 0; transform: translateY(10px); }
    70% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.splash-progress-modern {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.splash-progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, var(--macos-green) 0%, var(--macos-highlight) 100%);
    border-radius: 2px;
    width: 0;
    animation: loadProgress 4s ease-out forwards;
    box-shadow: 0 0 10px var(--macos-green);
}

@keyframes loadProgress {
    to { width: 100%; }
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 96px auto 40px;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--macos-border);
    padding: 6px 20px;
    z-index: 1001;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ca-announcement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
}

.announcement-label {
    color: var(--macos-text-secondary);
    font-weight: 600;
}

.ca-address {
    color: var(--macos-green);
    padding: 3px 10px;
    background: rgba(48, 209, 88, 0.1);
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--macos-text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--macos-text);
}

.social-links-top {
    display: flex;
    gap: 12px;
}

.social-link {
    color: var(--macos-text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--macos-text);
}

/* Cards */
.card {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-header {
    font-size: 20px;
    font-weight: 600;
    color: var(--macos-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--macos-green);
    border-radius: 2px;
}

/* Terminal Input */
.terminal-input-section {
    background: #1a1a1a;
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    padding: 24px;
    margin: 0 0 30px 0;
}

.terminal-input-container {
    display: flex;
    align-items: center;
    background: #0a0a0a;
    border: 2px solid var(--macos-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Fira Code', monospace;
}

.terminal-prompt {
    color: var(--macos-green);
    margin-right: 12px;
    font-weight: 600;
    font-size: 14px;
}

#contract-address {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--macos-text);
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    outline: none;
}

#contract-address::placeholder {
    color: var(--macos-text-secondary);
}

.analyze-btn {
    background: linear-gradient(135deg, var(--macos-green) 0%, #28cd41 100%);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 12px;
}

.analyze-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 209, 88, 0.4);
}

.analyze-btn:active {
    transform: translateY(0);
}

/* Loading Spinner */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--macos-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

/* Results */
.analysis-result {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    animation: slideUp 0.4s ease-out;
}

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

.result-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--macos-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--macos-border);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--macos-text-secondary);
    font-weight: 500;
}

.result-value {
    color: var(--macos-text);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

/* Status Colors */
.status-safe {
    color: var(--macos-green) !important;
}

.status-warning {
    color: var(--macos-yellow) !important;
}

.status-danger {
    color: var(--macos-red) !important;
}

/* Verdict Display */
.verdict-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.1) 0%, rgba(10, 132, 255, 0.1) 100%);
    border: 2px solid var(--macos-border);
    border-radius: 16px;
    text-align: center;
}

.verdict-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.verdict-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.verdict-reason {
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--macos-yellow);
    font-size: 14px;
    color: var(--macos-text-secondary);
    line-height: 1.6;
}

/* Terminal Styles */
.terminal {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    width: 100%;
}

.terminal-header {
    background: linear-gradient(to bottom, #3a3a3a 0%, #2d2d2d 100%);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--macos-border);
}

.terminal-title {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--macos-text);
}

.terminal-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.roadmap-link-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--macos-text-secondary);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.roadmap-link-header:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--macos-text);
}

.btn {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    cursor: pointer;
}

.terminal-body {
    background: #1a1a1a;
    padding: 24px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.8;
    min-height: 400px;
}

.boot-sequence {
    margin-bottom: 24px;
}

.prompt {
    color: var(--macos-green);
    font-weight: 600;
}

.success {
    color: var(--macos-green);
}

.info {
    color: var(--macos-highlight);
}

.warning {
    color: var(--macos-yellow);
}

.danger {
    color: var(--macos-red);
    font-weight: 600;
}

.separator {
    color: var(--macos-border);
    margin: 20px 0;
}

.interactive-section {
    margin: 24px 0;
}

.input-line {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0a0a0a;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid var(--macos-border);
    margin-top: 12px;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--macos-text);
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    outline: none;
}

.terminal-input::placeholder {
    color: var(--macos-text-secondary);
}

/* Instructions Section */
.instructions {
    margin: 40px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--macos-text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.rule-card {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--macos-green);
}

.rule-number {
    display: inline-block;
    background: var(--macos-green);
    color: #000;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.rule-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--macos-text);
    margin: 12px 0 8px;
}

.rule-content p {
    color: var(--macos-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin: 6px 0;
}

.highlight {
    color: var(--macos-highlight);
    font-weight: 600;
}

/* Output Section */
.output-section {
    margin: 24px 0;
}

/* Cursor */
.cursor-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--macos-green);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Footer Disclaimer */
.footer-disclaimer {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid var(--macos-red);
    border-radius: 12px;
    padding: 20px;
    margin: 40px auto;
    max-width: 1200px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 24px;
    color: var(--macos-red);
}

.disclaimer-text {
    flex: 1;
    color: var(--macos-text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.disclaimer-text strong {
    color: var(--macos-red);
    font-weight: 700;
}

/* Social Links in Announcement Bar */
.social-link-top {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--macos-text-secondary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link-top:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--macos-text);
}

.social-link-top svg {
    width: 14px;
    height: 14px;
}

/* Holders Button */
.holders-button-container {
    text-align: center;
    margin-top: 20px;
}

.holders-button {
    background: var(--macos-highlight);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.holders-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

/* Bundles Display */
.bundles-section {
    margin-top: 20px;
}

.bundle-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid var(--macos-yellow);
}

.bundle-header {
    font-weight: 600;
    color: var(--macos-text);
    margin-bottom: 8px;
}

.bundle-wallets {
    font-size: 12px;
    color: var(--macos-text-secondary);
    font-family: 'Fira Code', monospace;
}

/* Modal for All Holders */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--macos-window);
    margin: 60px auto;
    padding: 30px;
    border: 1px solid var(--macos-border);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.close-modal {
    color: var(--macos-text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--macos-red);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 0 10px;
        margin-top: 100px;
    }
    
    .terminal-input-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .analyze-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .announcement-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .splash-title {
        font-size: 42px;
    }
    
    .logo-box {
        padding: 20px;
    }
    
    .splash-ascii-modern {
        font-size: 12px;
    }
}

/* Popup Modal Styles */
.holders-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.holders-popup-content {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.holders-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid var(--macos-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
}

.holders-popup-header h3 {
    color: var(--macos-text);
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.popup-close {
    background: rgba(255, 69, 58, 0.2);
    border: 1px solid var(--macos-red);
    color: var(--macos-red);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.popup-close:hover {
    background: var(--macos-red);
    color: white;
    transform: rotate(90deg);
}

.holders-popup-body {
    padding: 20px 30px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.holder-address-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--macos-border);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.holder-address-item:hover {
    background: rgba(10, 132, 255, 0.1);
    border-color: var(--macos-highlight);
}

.holder-number {
    color: var(--macos-text-secondary);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    min-width: 40px;
}

.holder-address {
    color: var(--macos-highlight);
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    word-break: break-all;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Bundle/Cluster Analysis Styles */
.bundle-summary-card {
    background: rgba(10, 132, 255, 0.05);
    border: 1px solid rgba(10, 132, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 15px 0;
}

.bundle-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 15px;
}

.bundle-summary-label {
    color: var(--macos-text-secondary);
    font-size: 14px;
}

.bundle-summary-value {
    color: var(--macos-text);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.clusters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.cluster-card {
    background: var(--macos-window);
    border: 1px solid var(--macos-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cluster-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cluster-card.cluster-warning {
    border-color: rgba(255, 214, 10, 0.5);
    background: rgba(255, 214, 10, 0.05);
}

.cluster-card.cluster-safe {
    border-color: rgba(48, 209, 88, 0.3);
}

.cluster-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--macos-border);
}

.cluster-number {
    color: var(--macos-text);
    font-weight: 600;
    font-size: 14px;
}

.cluster-percentage {
    color: var(--macos-highlight);
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
}

.cluster-card.cluster-warning .cluster-percentage {
    color: var(--macos-yellow);
}

.cluster-card-body {
    padding: 16px;
}

.cluster-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--macos-border);
}

.cluster-info-label {
    color: var(--macos-text-secondary);
    font-size: 13px;
}

.cluster-info-value {
    color: var(--macos-text);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.cluster-wallets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cluster-wallet {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-icon {
    font-size: 14px;
}

.wallet-address {
    flex: 1;
    color: var(--macos-text-secondary);
    font-family: 'Fira Code', monospace;
    font-size: 12px;
}

.wallet-percent {
    color: var(--macos-highlight);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
}

.cluster-wallet-more {
    color: var(--macos-text-secondary);
    font-size: 12px;
    text-align: center;
    padding: 6px;
    font-style: italic;
}
