/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 80px 20px;
    color: white;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.hero-header-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-header-image:hover {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    height: 60px;
    width: auto;
    margin-right: 20px;
    vertical-align: middle;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero h1:hover .hero-logo {
    transform: scale(1.05);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
    text-align: center;
    padding: 0 10%;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Hero CTA section */
.hero-cta {
    margin-top: 30px;
}

.hero-cta-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.youtube-link {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.youtube-link:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #c13584);
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.4);
}

.instagram-link:hover {
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.6);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link span {
    font-size: 1rem;
}

/* Main content */
.main-content {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Downloads section */
.downloads-section {
    margin-bottom: 80px;
}

.downloads-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #2d3748;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Booklet section */
.booklet-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 60px 50px;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.booklet-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.booklet-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.booklet-preview-small {
    width: 80px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    margin-left: 15px;
    vertical-align: middle;
}

.booklet-preview-small:hover {
    transform: scale(1.1);
}

.booklet-content > p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.booklet-image {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.booklet-preview {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    max-height: 400px;
    object-fit: cover;
}

.booklet-preview:hover {
    transform: scale(1.02);
}

.booklet-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.booklet-feature {
    text-align: center;
    padding: 20px;
}

.booklet-feature i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.booklet-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.booklet-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.booklet-cta {
    position: relative;
    z-index: 1;
}

.booklet-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booklet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.booklet-btn:hover::before {
    left: 100%;
}

.booklet-btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #e67e22 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.7);
}

.booklet-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.6);
}

.booklet-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.booklet-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

.booklet-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

.booklet-video-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.booklet-video-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.booklet-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.booklet-video-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.booklet-video-btn:hover::before {
    left: 100%;
}

.booklet-video-btn:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.6);
}

.booklet-video-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.booklet-video-btn:hover i {
    transform: scale(1.1);
}

.download-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.download-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.download-card p {
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.5;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.download-btn i {
    font-size: 1.1rem;
}

/* Card buttons container */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* YouTube button */
.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.youtube-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
}

.youtube-btn i {
    font-size: 1.1rem;
}

/* Donation section - Popup optimized */
.donation-section {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 25px;
    padding: 60px 50px;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.3);
}

.donation-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.donation-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.donation-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* eBay button styles removed */

/* PayPal donation button - Popup optimized */
.paypal-form {
    display: inline-block;
    margin: 0;
}

.paypal-donation-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #003087 0%, #002c75 100%); /* PayPal's official blue with gradient */
    color: white;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 48, 135, 0.5);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paypal-donation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.paypal-donation-btn:hover::before {
    left: 100%;
}

.paypal-donation-btn:hover {
    background: linear-gradient(135deg, #002c75 0%, #001f5c 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 48, 135, 0.7);
}

.paypal-donation-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.6);
}

.paypal-donation-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.paypal-donation-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Popup-specific styles */
.paypal-donation-btn[target="_blank"] {
    position: relative;
}

.paypal-donation-btn[target="_blank"]::after {
    content: '↗';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.paypal-donation-btn[target="_blank"]:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Donation buttons layout - Popup optimized */
.donation-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.donation-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* Info section */
.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #2d3748;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.info-item {
    text-align: center;
    padding: 20px;
}

.info-item i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.info-item p {
    color: #718096;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: white;
    opacity: 0.8;
}

.footer p {
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.0rem;
    }
    
    .hero-logo {
        height: 50px;
        margin-right: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.0rem;
    }
    
    .hero-header-image {
        margin-bottom: 25px;
    }
    
    .hero-cta-text {
        font-size: 1rem;
    }
    
    .hero-social-links {
        gap: 15px;
    }
    
    .social-link {
        padding: 10px 20px;
    }
    
    .main-content {
        padding: 40px 20px;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .downloads-section h2 {
        font-size: 2rem;
    }
    
    .donation-section {
        padding: 40px 25px;
    }
    
    .donation-content h2 {
        font-size: 2.2rem;
    }
    
    .booklet-section {
        padding: 30px 20px;
    }
    
    .booklet-content h2 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .booklet-content p {
        font-size: 1rem;
    }

    .booklet-preview-small {
        width: 50px;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .booklet-preview {
        max-height: 250px;
    }
    
    .booklet-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .donation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .paypal-donation-btn {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-text {
        font-size: 0.9rem;
    }
    
    .hero-social-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .downloads-section h2 {
        font-size: 1.8rem;
    }
    
    .donation-section {
        padding: 30px 20px;
    }
    
    .donation-content h2 {
        font-size: 1.8rem;
    }
    
    .booklet-section {
        padding: 30px 20px;
    }
    
    .booklet-content h2 {
        font-size: 1.4rem;
    }
    
    .booklet-preview-small {
        width: 60px;
    }
    
    .booklet-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .booklet-video-section {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .booklet-video-text {
        font-size: 0.9rem;
    }
    
    .booklet-video-btn {
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .info-section h2 {
        font-size: 1.8rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card, .info-item {
    animation: fadeInUp 0.6s ease forwards;
}

.download-card:nth-child(1) { animation-delay: 0.1s; }
.download-card:nth-child(2) { animation-delay: 0.2s; }
.download-card:nth-child(3) { animation-delay: 0.3s; }
.download-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for interactive elements */
.download-card:hover .card-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
