:root {
    --primary-color: #2b70d3;
    --primary-hover: #1f5bb5;
    --accent-color: #fca311;
    --bg-gradient: linear-gradient(135deg, #0b192c 0%, #1a365d 100%);
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    --card-bg: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.03)"/></svg>') center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.header {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: fadeInUp 0.6s ease-out;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    background-color: #f8fafc;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary-color);
    background-color: #f1f5f9;
}

.upload-icon {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: var(--primary-color);
}

.upload-area p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upload-area span {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Photo Guidelines */
.photo-guidelines {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.guidelines-title {
    color: #166534;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guidelines-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guidelines-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.guidelines-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #166534;
    font-size: 0.85rem;
}

.guidelines-list li {
    margin-bottom: 0.3rem;
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 112, 211, 0.3);
}

.preview-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.loading-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.loading-overlay p {
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-action {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-action:not(:disabled):hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 0 4px rgba(252, 163, 17, 0.6);
    transform: translateY(-2px);
}

.btn-action:disabled {
    background-color: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.social-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    animation: fadeIn 1s ease-out 0.5s both;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.social-icons i {
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons i.fa-facebook:hover { color: #1877F2; transform: scale(1.1); }
.social-icons i.fa-instagram:hover { color: #E4405F; transform: scale(1.1); }
.social-icons i.fa-twitter:hover { color: #1DA1F2; transform: scale(1.1); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
