/* Custom CSS for Bitsy Apps Landing Page */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
}

.footer-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Main Content */
.main-content {
    padding-top: 76px; /* Account for fixed navbar */
    min-height: calc(100vh - 76px);
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0856d4 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

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

.min-vh-50 {
    min-height: 50vh;
}

/* Game Hero */
.game-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.game-hero h2.text-warning {
    color: #ffd43b !important;
    font-family: inherit;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

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

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0856d4);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0856d4, var(--primary-color));
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Placeholders */
.hero-image-placeholder,
.app-showcase-image,
.game-image-placeholder,
.story-image-placeholder,
.screenshot-placeholder {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Image Styling */
.hero-logo {
    max-height: 120px;
    width: auto;
}

.hero-logo-prominent {
    max-height: 200px;
    width: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-logo-prominent:hover {
    transform: scale(1.05);
}

.game-icon {
    max-height: 200px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-showcase-screenshot {
    max-height: 380px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-showcase-screenshot:hover {
    transform: scale(1.05);
}

.game-preview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.game-icon-featured {
    height: 180px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.game-dashboard-featured {
    height: 300px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-dashboard-featured:hover {
    transform: scale(1.05);
}

/* Video Styling */
.video-container {
    position: relative;
    width: 70%;  /* Reduced from 100% to 70% (30% smaller) */
    max-width: 560px;  /* Reduced from 800px to 560px (30% smaller) */
    margin: 0 auto;
}

.gameplay-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gameplay-video:hover {
    transform: scale(1.02);
}

.game-hero-icon {
    max-height: 180px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.story-icon {
    max-height: 150px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-screenshot {
    max-height: 400px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-hero-screenshot {
    max-height: 450px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.game-screenshot {
    max-height: 350px;
    width: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-screenshot:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.screenshot-container {
    text-align: center;
}

.contact-hero-logo {
    max-height: 80px;
    width: auto;
}

/* Sections */
.content-section {
    margin-bottom: 2rem;
}

.content-section h3 {
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: #fff;
    border: none;
    font-weight: 600;
    color: var(--dark-color);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: #6c757d;
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section,
    .game-hero {
        text-align: center;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-image-placeholder,
    .app-showcase-image,
    .game-image-placeholder,
    .story-image-placeholder {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .hero-logo-prominent {
        max-height: 150px;
    }
    
    .game-preview-container {
        flex-direction: column;
    }
    
    .game-icon-featured {
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .game-dashboard-featured {
        height: 220px;
    }
    
    .video-container {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #2c3e50 !important;
    }
    
    .card {
        background-color: #34495e;
        color: #ecf0f1;
    }
    
    .text-muted {
        color: #bdc3c7 !important;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), #0856d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-primary-thick {
    border: 3px solid var(--primary-color) !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}



.card {
    transition: all 0.3s ease;
}

.badge {
    font-weight: 500;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.input-group-text {
    font-weight: 500;
}

/* Custom gradient background */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Payment modal improvements */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

/* Stripe element styling */
#card-element {
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
}

#card-element:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Success animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.6s ease-in-out;
}

/* Responsive improvements for donation page */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
    
    .badge.fs-1 {
        font-size: 2rem !important;
    }
}