:root {
    /* AWS Palette */
    --aws-primary: #FF9900;
    --aws-secondary: #232F3E;
    --aws-background: #F7F7F7;
    --aws-gradient: linear-gradient(135deg, #FF9900 0%, #232F3E 100%);

    /* Dark Blue Palette */
    --warm-primary: #415a77;
    --warm-secondary: #1b263b;
    --warm-background: #0d1b2a;
    --warm-gradient: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);

    /* Green Yellow Palette */
    --cool-primary: #00916e;
    --cool-secondary: #ffcf00;
    --cool-background: #feefe5;
    --cool-gradient: linear-gradient(135deg, #00916e 0%, #feefe5 50%, #ffcf00 100%);

    /* Active colors (default to warm) */
    --primary-color: var(--warm-primary);
    --secondary-color: var(--warm-secondary);
    --background-color: var(--warm-background);
    --gradient-bg: var(--warm-gradient);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.palette-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.palette-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 8px 0 0;
    font-weight: 400;
}

.palette-btn {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    min-width: 50px;
}

.palette-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.palette-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(255, 255, 255, 0.5);
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.generate-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.generate-btn:hover {
    background: var(--primary-color);
    opacity: 0.8;
    transform: translateY(-1px);
}

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

.track-result {
    transition: all 0.3s ease;
}

.track-result.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.step {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.region-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.continent {
    font-size: 0.9rem;
    color: #86868b;
    font-weight: 400;
}

.arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 8px 0;
    font-weight: 300;
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .card {
        padding: 24px;
        border-radius: 20px;
    }
}