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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #161625 0%, #3D3B53 100%);
    min-height: 100vh;
    color: #EAEAEA;
    --accent-1: #00f2fe;
    --accent-2: #ff00c1;
}

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

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

header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

header h1 .ai-logo {
    color: var(--accent-1);
    text-shadow: 0 0 8px var(--accent-1);
    font-style: italic;
}

header h1 .money-char {
    color: var(--accent-2);
    text-shadow: 0 0 8px var(--accent-2);
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

main {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.quote-selector {
    margin-bottom: 30px;
}

.select-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.select-group {
    flex: 1;
}

.quote-selector label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #e0e0e0;
}

.quote-selector select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.quote-selector select:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.quote-selector button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-selector button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3), 0 8px 25px rgba(255, 0, 193, 0.3);
}

.quote-selector button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #888;
}

.loading {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid var(--accent-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #bbb;
    font-size: 1.1rem;
}

.quote-display {
    margin-top: 30px;
}

.quote-section {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--accent-1);
    transition: all 0.3s ease;
}

.quote-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.quote-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.4rem;
}

blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #d0d0d0;
    font-style: italic;
    padding-left: 20px;
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
    border-left: 3px solid rgba(255,255,255,0.2);
}

.error {
    text-align: center;
    padding: 20px;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid #ff5252;
    border-radius: 10px;
    color: #ff8a80;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
    opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    main {
        padding: 20px;
        border-radius: 15px;
    }
    
    .select-container {
        flex-direction: column;
        gap: 0;
    }
    
    .select-group {
        margin-bottom: 20px;
    }
    
    .quote-selector select,
    .quote-selector button {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }

    .quote-section {
        padding: 20px;
    }

    blockquote {
        font-size: 1.1rem;
    }
} 