/* assets/css/style.css */
:root {
    --primary: #FF4D00;
    --primary-gradient: linear-gradient(135deg, #FF4D00 0%, #FF8C00 100%);
    --primary-light: #FF7033;
    --dark: #121212;
    --grey-light: #F8F9FA;
    --white: #FFFFFF;
    --success: #00C853;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 15px 35px rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --border-radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--grey-light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Card Style */
.card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: #F9F9F9;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.1);
}

/* App Button */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-gradient);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

/* QR Center */
.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

/* Stamps Grid */
.stamps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stamp {
    aspect-ratio: 1/1;
    background: #F0F0F0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #CCC;
    border: 2px dashed #DDD;
}

.stamp.active {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
    border: 1px solid #EEE;
}

.social-icon:active {
    transform: scale(0.9);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon.instagram:hover { color: #E4405F; border-color: #E4405F; }
.social-icon.facebook:hover { color: #1877F2; border-color: #1877F2; }
.social-icon.tiktok:hover { color: #000000; border-color: #000000; }

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.taco-bounce {
    font-size: 4rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.share-action-box {
    margin-top: 25px;
    padding: 20px;
    background: #FFF5F0;
    border-radius: 16px;
    border: 1px dashed var(--primary);
}

.copy-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--dark);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-badge:active { transform: scale(0.95); opacity: 0.8; }
