/* Global Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --primary-bg: #1a0033;
    --primary-accent: #ff00ff;
    --secondary-accent: #00ffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --error-color: #ff4444;
    --success-color: #44ff44;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-display: 'Impact', 'Arial Black', sans-serif;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #4d0099 100%);
    color: var(--text-light);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Screen Management */
.screen {
    display: none;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Warning Overlays */
.warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.warning-content {
    text-align: center;
    padding: var(--spacing-xl);
    max-width: 500px;
}

.warning-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-accent);
}

.warning-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.rotate-icon {
    font-size: 5rem;
    animation: rotate 2s infinite;
    margin-bottom: var(--spacing-md);
}

.phone-icon {
    font-size: 3rem;
    margin-top: var(--spacing-md);
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(90deg);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), #cc00cc);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.6);
}

.btn-primary:disabled {
    background: #666;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.5;
}

/* Form Elements */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--secondary-accent);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

/* Loading States */
.loading {
    text-align: center;
    padding: var(--spacing-md);
    opacity: 0.7;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading::after {
    content: '...';
    animation: pulse 1.5s infinite;
}
