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

body {
    background: #161311;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    padding: 40px;
    max-width: 700px;
    width: 100%;
}

.palette-container {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    justify-content: center;
}

.color-box {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.color-box:hover {
    transform: translateY(-5px);
}

.color-square {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hex-code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e0e0e0;
    font-weight: 600;
}

.copied-message {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d2d2d;
    color: #f0f0f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.3s;
}

.generate-btn {
    width: 100%;
    padding: 16px;
    background: #343434;
    color: #f0f0f0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #666362;
}

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