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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0f0f0f;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.app-name {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

main {
    text-align: center;
}

.main-title {
    font-size: 32px;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 16px;
    line-height: 1.3;
}

.subtext {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
}

.shuffle-btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    color: #0f0f0f;
    background-color: #e0e0e0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 32px;
    font-family: inherit;
}

.shuffle-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
}

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

.shuffle-btn:focus {
    outline: 2px solid #e0e0e0;
    outline-offset: 2px;
}

.result-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-text {
    font-size: 20px;
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    line-height: 1.4;
}

.result-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.result-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
}

.footer-text {
    font-size: 12px;
    color: #666;
    flex: 1;
    text-align: left;
}

.copy-btn {
    background-color: transparent;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
    margin-left: 16px;
}

.copy-btn:hover {
    border-color: #666;
    background-color: #222;
}

.copy-btn:active {
    transform: scale(0.98);
}

.copy-btn:focus {
    outline: 2px solid #666;
    outline-offset: 2px;
}

.copy-btn.copied {
    background-color: #2a2a2a;
    border-color: #4a4a4a;
    color: #888;
}

@media (max-width: 480px) {
    .main-title {
        font-size: 26px;
    }
    
    .result-text {
        font-size: 18px;
    }
    
    .result-card {
        padding: 24px 20px;
    }
    
    .footer-text {
        font-size: 11px;
    }
}

