/* Refer a Friend Page Styles */

/* Background Colors */
.bg-cream {
    background-color: #fef7ed;
}

.bg-blue-100 {
    background-color: #DBEAFE;
}

.bg-light-gray {
    background-color: #f8fafc;
}

.text-text-dark {
    color: var(--color-text-dark);
}

.bg-orange-500 {
    background-color: #f97316;
}

/* Refer a Friend Hero Section */
.refer-friend-hero {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .refer-friend-hero {
        min-height: auto;
        padding: 2rem 0;
    }
}


.refer-friend-hero .container {
    position: relative;
    z-index: 2;
}

/* Refer a Friend Badge Button - using existing btn classes */
.refer-friend-badge .btn {
    margin-bottom: 0;
}

/* 3D Characters Styling */
.refer-friend-characters {
    margin: 2rem 0;
}

.characters-container {
    width: 200px;
    height: 150px;
    margin: 0 auto;
}

.character {
    position: relative;
}

/* Man Character */
.man-character {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-primary-dark-blue) 100%);
    box-shadow: 0 8px 16px rgba(39, 65, 133, 0.3);
}

.man-character .character-body {
    background: linear-gradient(135deg, var(--color-primary-dark-blue) 0%, var(--color-primary-deep-purple) 100%);
}

.man-character .character-legs {
    background: linear-gradient(135deg, var(--color-primary-deep-purple) 0%, var(--color-primary-dark-blue) 100%);
}

/* Woman Character */
.woman-character {
    background: linear-gradient(135deg, var(--color-accent-orange) 0%, #f58220 100%);
    box-shadow: 0 8px 16px rgba(247, 168, 37, 0.3);
}

.woman-character .character-body {
    background: linear-gradient(135deg, #f58220 0%, var(--color-accent-orange) 100%);
}

.woman-character .character-legs {
    background: linear-gradient(135deg, var(--color-accent-orange) 0%, #f58220 100%);
}

/* Character Face Styling */
.character-face {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.character-face::after {
    content: '😊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* House Icon Styling */
.house-icon {
    background-color: var(--color-tan-light) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.house-icon:hover {
    transform: scale(1.1);
}

.house-roof {
    background-color: var(--color-brown-light) !important;
}

.house-body {
    background-color: var(--color-tan-light) !important;
}

.window {
    background-color: var(--color-brown-light) !important;
}

/* Refer a Friend Content */
.refer-friend-title {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    color: var(--color-primary-dark-blue);
    line-height: 1.1;
}

.refer-friend-description {
    font-family: 'Figtree', sans-serif;
    color: var(--color-primary-dark-blue);
    opacity: 0.9;
}

/* Refer Now Button - using existing btn classes */
.refer-friend-cta .btn {
    margin-top: 0;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--color-grey-light);
}

.step-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number-circle {
    width: 64px;
    height: 64px;
    background-color: #f97316;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.2);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--color-primary-dark-blue);
}

.step-content p {
    color: var(--color-grey-text);
}

/* Referral Form Section */
.referral-form {
    background: white;
}

.referral-form-content input,
.referral-form-content textarea {
    border: 1px solid var(--color-grey-dark);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Figtree', sans-serif;
}

.referral-form-content input:focus,
.referral-form-content textarea:focus {
    border-color: var(--color-accent-orange);
    box-shadow: 0 0 0 3px rgba(247, 168, 37, 0.1);
    outline: none;
}

/* Form submit button - using existing btn classes */
.referral-form-content .btn {
    margin-top: 0;
}

/* Benefits Section */
.referral-benefits {
    background-color: var(--color-primary-dark-blue);
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    background-color: var(--color-accent-orange) !important;
    box-shadow: 0 4px 12px rgba(247, 168, 37, 0.3);
}

/* Terms Section */
.referral-terms {
    background-color: var(--color-grey-light);
}

.referral-terms .prose {
    color: var(--color-grey-text);
}

.referral-terms .prose h3 {
    color: var(--color-primary-dark-blue);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .refer-friend-hero {
        padding: 2rem 0;
    }
    
    .refer-friend-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .refer-friend-content p {
        font-size: 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .referral-form-content {
        padding: 1.5rem;
    }
    
    .benefit-card {
        margin-bottom: 1rem;
    }
    
    .voucher-content h2 {
        font-size: 2.5rem;
    }
    
    .voucher-content p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .refer-friend-hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .step-number-circle {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .refer-friend-content h1 {
        font-size: 2rem;
    }
    
    .voucher-content h2 {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 1rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .form-section, .sharing-section {
        padding: 1rem;
    }
    
    .step-number-circle {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
}


/* Amazon Voucher Section */
.amazon-voucher {
    position: relative;
}

.coin-illustration {
    position: relative;
}

.gold-coin {
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gift-box {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Why Refer Us Section */
.why-refer-us {
    position: relative;
}

.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* Form Section Styling */
.form-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.sharing-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}