:root {
    --primary-color: #FF5252;
    --secondary-color: #3F51B5;
    --background-color: #FFFFFF;
    --surface-color: #F5F5F5;
    --text-color: #333333;
    --text-secondary: #757575;
    --border-color: #E0E0E0;
    --error-gradient: linear-gradient(135deg, #FF5252, #FF1744);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.crash-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    text-align: center;
}

.crash-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

.crash-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

h2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.device-info, .crash-details {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-title, .details-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.info-content {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.details-timestamp {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-style: italic;
}

.details-content {
    background-color: #2d2d2d;
    color: #f8f8f8;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    overflow-x: auto;
    white-space: pre-wrap;
    line-height: 1.5;
}

.actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
}

.action-button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
}

.action-button.share {
    background-color: var(--secondary-color);
    margin-right: 12px;
}

.action-button.restart {
    background-color: var(--primary-color);
    margin-left: 12px;
}

.action-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #121212;
        --surface-color: #1E1E1E;
        --text-color: #FFFFFF;
        --text-secondary: #B0B0B0;
        --border-color: #333333;
    }

    .details-content {
        background-color: #000000;
        color: #E0E0E0;
    }
}