/* Modern Dating App Design - Floofr */

:root {
    --primary-color: #fd5068;
    --secondary-color: #42b9ff;
    --success-color: #00d4aa;
    --info-color: #667eea;
    --warning-color: #ffc107;
    --danger-color: #e3342f;
    --light-color: #f8fafc;
    --dark-color: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --gradient-primary: linear-gradient(135deg, #fd5068 0%, #ff6b9d 100%);
    --gradient-secondary: linear-gradient(135deg, #42b9ff 0%, #667eea 100%);
    --gradient-hero: linear-gradient(135deg, #fd5068 0%, #ff6b9d 50%, #667eea 100%);
    --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

/* Global Styles and Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.navbar {
    margin-bottom: 0 !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.navbar-light {
    border-bottom: none !important;
}

.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Modern Button Styles */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-transform: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 80, 104, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 185, 255, 0.4);
    color: white;
}

.btn-light {
    background: white;
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-light:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* Gradient Backgrounds */
.bg-primary-gradient {
    background: var(--gradient-primary) !important;
}

.bg-secondary-gradient {
    background: var(--gradient-secondary) !important;
}

.bg-gradient {
    background: var(--gradient-primary) !important;
}

/* Modern Brand Styling */
.navbar-brand.modern-brand {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.navbar-brand.modern-brand:hover {
    transform: scale(1.05) !important;
    text-decoration: none !important;
}

.navbar-brand.modern-brand .brand-icon {
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #ffffff, #f0f8ff) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0.75rem !important;
    font-size: 1.2rem !important;
    color: #fd5068 !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important;
}

.navbar-brand.modern-brand:hover .brand-icon {
    transform: rotate(15deg) !important;
    box-shadow: 0 6px 20px rgba(255,255,255,0.3) !important;
}





.navbar-brand.modern-brand .brand-primary {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
    letter-spacing: -0.5px !important;
}

.navbar-brand.modern-brand .brand-primary::before,
.navbar-brand.modern-brand .brand-primary::after,
.navbar-brand.modern-brand .brand-text::before,
.navbar-brand.modern-brand .brand-text::after {
    content: none !important;
    display: none !important;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
}

/* Modern Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253,80,104,0.95) 0%, rgba(255,107,157,0.9) 50%, rgba(102,126,234,0.9) 100%);
    z-index: 1;
}

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

.hero-content {
    padding: 2rem 0;
}

.hero-title-elegant {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.hero-title-elegant::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ffd93d);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.hero-title-elegant::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #ffd93d, #ff6b9d);
    border-radius: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Modern Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    margin-bottom: 4rem;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 500px;
    background: #2c3e50;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.app-logo {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    margin-right: 10px;
}

.app-header span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.match-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

.profile-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-image {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.profile-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.profile-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-pass, .btn-like {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pass {
    background: #f8f9fa;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-pass:hover {
    background: #dc3545;
    color: white;
}

.btn-like {
    background: #fd5068;
    color: white;
}

.btn-like:hover {
    background: #e63946;
    transform: scale(1.1);
}

/* Modern Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Feature Cards */
.modern-feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.modern-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(253,80,104,0.1);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon-modern.feature-icon-secondary {
    background: var(--gradient-secondary);
}

.feature-icon-modern.feature-icon-success {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}

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

.modern-feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modern-feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Swipe Card Styles */
.swipe-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.swipe-card {
    position: relative;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card.swiping-left {
    transform: translateX(-50px) rotate(-10deg);
    opacity: 0.7;
}

.swipe-card.swiping-right {
    transform: translateX(50px) rotate(10deg);
    opacity: 0.7;
}

.swipe-actions {
    padding: 1rem 0;
}

.swipe-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    transition: all 0.3s ease;
}

.swipe-btn:hover {
    transform: scale(1.1);
}

.swipe-btn:active {
    transform: scale(0.95);
}

/* Profile Avatar */
.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Match Card Styles */
.match-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.match-card:hover {
    border-left-color: var(--secondary-color);
}

/* Chat Styles */
.chat-container {
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    max-height: 500px;
}

.message-item {
    margin-bottom: 1rem;
    display: flex;
}

.message-item.sent {
    justify-content: flex-end;
}

.message-item.received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
}

.message-item.sent .message-bubble {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-item.received .message-bubble {
    background: white;
    color: var(--dark-color);
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.message-text {
    margin: 0;
    line-height: 1.4;
}

.message-time {
    opacity: 0.7;
    font-size: 0.75rem;
}

.no-messages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.4);
    background: var(--gradient-primary);
    border: none;
}

/* Animations */
@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.heartbeat {
    animation: heartbeat 1s ease-in-out infinite;
}

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

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

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.8em;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards {
        max-width: 100%;
    }
    
    .swipe-card {
        margin: 0 1rem;
    }
    
    .chat-container {
        height: 60vh;
    }
    
    .message-bubble {
        max-width: 85%;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .chat-messages {
        max-height: 400px;
    }
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Settings Page */
.setting-item {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
}

.setting-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

/* Form Switch Styles */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Fursuit Couple SVG Styles */
.fursuit-couple-container {
    margin: 2rem 0;
}

.fursuit-couple-svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.fursuit-couple-svg:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .fursuit-couple-svg {
        max-width: 280px;
    }
}

/* Photo Gallery Styles */
.photo-gallery {
    height: 400px;
    overflow: hidden;
    border-radius: 0.375rem;
}

.gallery-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-photo.active {
    opacity: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}

.gallery-image.no-photo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.375rem;
}

/* Furry-themed Loading Indicators and Micro-interactions */

/* Paw Print Loading Animation */
.paw-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.paw-print {
    width: 20px;
    height: 20px;
    position: relative;
    animation: pawBounce 1.4s infinite ease-in-out both;
}

.paw-print:nth-child(1) { animation-delay: -0.32s; }
.paw-print:nth-child(2) { animation-delay: -0.16s; }
.paw-print:nth-child(3) { animation-delay: 0s; }

@keyframes pawBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.paw-print::before {
    content: '•';
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
}

/* Bouncing Furry Character Loader */
.furry-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: furryBounce 2s infinite;
}

@keyframes furryBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-20px) rotate(5deg);
    }
    60% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

/* Heart Pulse Animation for Likes */
.heart-pulse {
    display: inline-block;
    animation: heartPulse 1.5s infinite;
    color: #ff6b9d;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.2);
    }
    75% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Tail Wag Animation */
.tail-wag {
    display: inline-block;
    animation: tailWag 1s infinite ease-in-out;
    transform-origin: bottom center;
}

@keyframes tailWag {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* Cute Button Hover Effects */
.btn-furry {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-furry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 139, 184, 0.3);
}

.btn-furry:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn-furry::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-furry:hover::before {
    width: 300px;
    height: 300px;
}

/* Cute Card Hover Effects */
.card-furry {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.card-furry:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(186, 139, 184, 0.4);
}

.card-furry::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2em;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.card-furry:hover::after {
    opacity: 1;
    transform: scale(1) rotate(15deg);
}

/* Floating Animation for Icons */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

/* Sparkle Effect */
.sparkle {
    position: relative;
    overflow: hidden;
}

.sparkle::before {
    content: '•';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 0.8em;
    animation: sparkle 2s infinite;
    opacity: 0;
    color: var(--primary-color);
}

.sparkle::after {
    content: '•';
    position: absolute;
    bottom: 15%;
    left: 15%;
    font-size: 0.6em;
    animation: sparkle 2.5s infinite 0.5s;
    opacity: 0;
    color: var(--secondary-color);
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}



/* Success Animation */
.success-animation {
    display: inline-block;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Cute Input Focus Effects */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(186, 139, 184, 0.25);
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Message Bubble Animation */
.message-bubble {
    animation: bubbleSlide 0.3s ease-out;
    transform-origin: bottom left;
}

@keyframes bubbleSlide {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Notification Toast Animation */
.toast-furry {
    animation: toastSlide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toastSlide {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Photo Upload Styles */
.photo-upload-container {
    margin-top: 10px;
}

.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.photo-upload-slot {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-upload-slot.empty {
    border: 2px dashed var(--primary-color);
    background: rgba(186, 139, 184, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    min-height: 150px;
}

.photo-upload-slot.empty:hover {
    background: rgba(186, 139, 184, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.photo-upload-slot.empty i {
    margin-bottom: 8px;
    opacity: 0.7;
}

.photo-upload-slot.empty p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.photo-upload-slot.filled {
    border: 2px solid var(--success-color);
    background: white;
}

.photo-upload-slot.filled img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-upload-slot.filled:hover .photo-overlay {
    opacity: 1;
}

.remove-photo {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.photo-upload-slot.uploading {
    background: rgba(186, 139, 184, 0.2);
    pointer-events: none;
}

.photo-upload-slot.uploading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .photo-upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-upload-slot {
        min-height: 120px;
    }
}

/* Photo navigation */
.photo-nav-left,
.photo-nav-right {
    top: 0;
    width: 50%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.photo-nav-left {
    left: 0;
}

.photo-nav-right {
    right: 0;
}

.photo-nav-left:hover,
.photo-nav-right:hover {
    background: rgba(0,0,0,0.1);
}

/* Photo dots */
.photo-dots {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.photo-dot.active {
    background: white;
}

.photo-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* PWA and Mobile Optimizations */
@media (display-mode: standalone) {
    /* Hide elements that don't make sense in app mode */
    .browser-only {
        display: none !important;
    }
    
    /* Add extra padding for status bar on iOS */
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Full height for app-like experience */
    html, body {
        height: 100vh;
        overflow-x: hidden;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Better spacing for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Optimized navigation for mobile */
    .navbar-nav .nav-link {
        padding: 15px 20px;
    }
    
    /* Better card sizing for mobile */
    .card {
        margin-bottom: 20px;
    }
    
    /* Optimized form inputs for mobile */
    .form-control, .form-select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better photo gallery for mobile */
    .photo-upload-slot {
        min-height: 120px;
    }
    
    /* Mobile-optimized swipe cards */
    .swipe-container {
        padding: 10px;
    }
    
    .profile-card {
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* Touch-friendly swipe buttons */
    .swipe-buttons .btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }
    
    /* Better message input for mobile */
    .message-input-container {
        padding: 15px;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid var(--border-light);
    }
    
    /* Mobile-optimized photo viewer */
    .photo-gallery img {
        border-radius: 10px;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    /* Better grid layout for tablets */
    .swipe-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Two-column layout for tablets in landscape */
    @media (orientation: landscape) {
        .matches-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
    }
}

/* Prevent zoom on form inputs (iOS Safari) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    font-size: 16px !important;
}

/* App-like navigation for mobile */
@media (max-width: 767px) {
    .navbar {
        position: fixed;
        bottom: 0;
        top: auto;
        width: 100%;
        z-index: 1030;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        padding-bottom: calc(10px + constant(safe-area-inset-bottom)); /* iOS 11.0 */
        min-height: calc(60px + env(safe-area-inset-bottom));
        min-height: calc(60px + constant(safe-area-inset-bottom)); /* iOS 11.0 */
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .navbar .container {
        max-width: 100%;
        padding: 0;
    }
    
    .navbar-nav {
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
        margin: 0;
    }
    
    .navbar-nav .nav-item {
        text-align: center;
        flex: 1;
        max-width: 80px;
    }
    
    .navbar-nav .nav-link {
        padding: 6px 4px;
        font-size: 0.7rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: white !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .navbar-nav .nav-link i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
    
    /* Add bottom padding to body for fixed navbar */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
        padding-bottom: calc(70px + constant(safe-area-inset-bottom)); /* iOS 11.0 */
    }
    
    /* Hide navbar brand on mobile bottom nav */
    .navbar-brand {
        display: none;
    }
    
    .navbar-toggler {
        display: none;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
    
    /* Mobile swipe card optimizations */
    .swipe-container {
        height: calc(100vh - 160px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .swipe-panel {
        width: 100%;
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .swipe-card {
        max-height: calc(100vh - 180px);
        width: 100%;
        display: flex;
        flex-direction: column;
        z-index: 2;
    }
    
    /* Swipe direction indicators */
    .swipe-indicator {
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }
    
    .swipe-indicator-left {
        left: -60px;
        text-align: center;
        color: #dc3545;
    }
    
    .swipe-indicator-right {
        right: -60px;
        text-align: center;
        color: #28a745;
    }
    
    .swipe-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 5px;
        font-size: 18px;
        border: 2px solid currentColor;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .swipe-indicator small {
        display: block;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    .swipe-card .card-body {
        flex: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .photo-gallery {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
        max-height: calc(100vh - 400px);
    }
    
    .photo-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    
    .card-footer {
        flex-shrink: 0;
    }
    
    /* Optimize likes counter for mobile */
    .likes-counter-card {
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        margin-bottom: 15px;
    }
    
    .btn-gradient-premium {
        padding: 6px 12px;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    /* Swipe buttons optimization for mobile */
    .swipe-buttons {
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }
    
    .swipe-buttons .btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Landing Page Enhancements */

/* Mission Section */
.mission-section {
    background: #f8f9fa;
}

.mission-image {
    padding: 2rem;
}

/* Testimonials Section */
.testimonial-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-content {
    position: relative;
}

.quote-icon {
    opacity: 0.3;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

/* Community Features Section */
.community-feature {
    transition: transform 0.3s ease;
}

.community-feature:hover {
    transform: translateY(-5px);
}

.feature-icon-large {
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.community-feature:hover .feature-icon-large {
    opacity: 1;
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color) !important;
}

.stat-number {
    text-align: center;
    padding: 1rem;
}

.stat-number i {
    opacity: 0.8;
}

.stat-number h3 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

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

.testimonial-card,
.community-feature,
.stat-number {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero-title-elegant {
        font-size: 2.8rem;
    }
    
    .hero-title-elegant::before {
        width: 50px;
        height: 3px;
    }
    
    .hero-title-elegant::after {
        width: 60px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 2rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 360px;
        padding: 15px;
    }
    
    .app-interface {
        padding: 15px;
    }
    
    .app-header {
        margin-bottom: 20px;
    }
    
    .profile-image {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .modern-feature-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile Brand Adjustments */
    .navbar-brand.modern-brand .brand-icon {
        width: 38px !important;
        height: 38px !important;
        margin-right: 0.5rem !important;
        font-size: 1rem !important;
    }
    
    .navbar-brand.modern-brand .brand-primary {
        font-size: 1.3rem !important;
    }
}

/* Mobile responsiveness for landing page */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    .community-feature {
        margin-bottom: 2rem;
    }
    
    .stat-number h3 {
        font-size: 2rem;
    }
    
    .mission-image {
        padding: 1rem;
        margin-top: 2rem;
    }
}

/* Furry Showcase Styles */
.furry-showcase {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.featured-couple {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-couple:hover {
    transform: translateY(-10px);
}

.couple-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.couple-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.couple-overlay h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.couple-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}



.furry-gallery-section {
    background: linear-gradient(135deg, #f8f9ff, #f0f8ff);
}

.couples-gallery {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 40px 30px 25px;
    text-align: center;
}

.gallery-overlay h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gallery-overlay p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Success Stories Section Spacing */
.success-stories-section .row {
    gap: 2rem;
}

@media (min-width: 992px) {
    .success-stories-section .row {
        gap: 2.5rem;
    }
}

/* Mobile responsiveness for furry gallery */
@media (max-width: 768px) {
    .couple-image, .gallery-image {
        height: 300px;
    }
    
    .community-image {
        height: 250px;
    }
    
    .gallery-overlay, .couple-overlay {
        padding: 20px 15px 15px;
    }
    
    .gallery-overlay h5, .couple-overlay h5 {
        font-size: 1.1rem;
    }
    
    .success-stories-section .row {
        gap: 2rem;
    }
}
