/* Base Styles - Color Palette: #365741 #8E1616 #000000 #ffffff #053846 */
:root {
    --color-green: #365741;
    --color-red: #8E1616;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-teal: #053846;
}

* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-teal) 50%, var(--color-green) 100%);
}

/* Logo Styles */
.site-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

/* Common Styles */
.main-title {
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 0.5rem;
}

.main-title i {
    color: var(--color-red);
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-align: center;
}

/* Form Card Styles */
.ticket-form-card, .ticket-ready-card {
    background: linear-gradient(145deg, rgba(54,87,65,0.3) 0%, rgba(5,56,70,0.4) 100%);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--color-red) 0%, rgba(142,22,22,0.7) 100%);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--color-white);
}

.card-header-success {
    background: linear-gradient(135deg, var(--color-green) 0%, rgba(54,87,65,0.9) 100%);
    padding: 20px 25px;
    text-align: center;
}

.card-body-custom {
    padding: 25px;
}

.form-label {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.form-control {
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    border-color: var(--color-red);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(142,22,22,0.3);
    color: var(--color-white);
}

.generate-btn {
    background: linear-gradient(135deg, var(--color-red) 0%, #6b1010 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: var(--color-white);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142,22,22,0.5);
    background: linear-gradient(135deg, #a51a1a 0%, var(--color-red) 100%);
}

/* Social Buttons */
.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: scale(1.15);
    color: white;
}

.btn-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.btn-instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.btn-facebook { background: linear-gradient(135deg, #1877F2, #3b5998); }
.btn-x { 
    background: #000000;
}

.x-logo-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.btn-tiktok { background: linear-gradient(135deg, #000000, #25F4EE); }

/* Desktop Layout */
.desktop-layout {
    min-height: 100vh;
    display: flex;
}

.desktop-image-side {
    width: 50%;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
}

.desktop-hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.desktop-form-side {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(145deg, var(--color-black) 0%, var(--color-teal) 50%, var(--color-green) 100%);
}

.form-wrapper {
    width: 100%;
    max-width: 480px;
}

/* Mobile Layout */
.mobile-layout {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--color-black) 0%, var(--color-teal) 50%, var(--color-green) 100%);
}

.mobile-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-black);
}

.mobile-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mobile-form-container {
    padding: 24px 16px 40px;
}

/* Success button */
.btn-success {
    background: linear-gradient(135deg, var(--color-green) 0%, #2a4533 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #3d6a4e 0%, var(--color-green) 100%);
}

.text-success {
    color: var(--color-green) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .site-logo {
        width: 150px;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .card-body-custom {
        padding: 20px;
    }
    
    .btn-social {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .site-logo {
        width: 130px;
    }
    
    .main-title {
        font-size: 1.4rem;
    }
    
    .card-header-custom,
    .card-header-success {
        padding: 15px 20px;
    }
    
    .card-body-custom {
        padding: 16px;
    }
    
    .generate-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-social {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-red);
}

/* Animation */
.fa-ticket-alt {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
