@media screen {
    div#mainvisual {background:url(../images/bg12.jpg) no-repeat center top;}
}

@media only screen and (max-width: 40.063em) {
	div#mainvisual {background:url(../images/bg12.jpg) no-repeat 85% top; background-size:300% auto;}
}

@media only screen and (min-width: 100.063em){
	div#mainvisual {background-size:100% auto;}
}

/* DisabilityMatches - Main Styles */

/* Tailwind Custom Colors Configuration - copy this to your HTML if needed */
/*
colors: {
    primary: '#d73371',
    secondary: '#e24a7a', 
    accent: '#d1d5db',
    darkpurple: '#b8295a',
    lightpurple: '#f9fafb',
    welcomebg: '#d9e8e7'
}
*/

/* Site Layout */
.site-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #d73371;
    border-radius: 6px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8295a;
}

/* Registration Buttons */
.registration-btn {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(215, 51, 113, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.registration-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(215, 51, 113, 0.4);
}

/* Migration Banner */
.migration-banner {
    background: white;
}

.old-platform-btn {
    background: white;
    border: 1px solid #d73371;
    color: #b8295a;
    transition: all 0.3s ease;
}

.old-platform-btn:hover {
    background: #f9fafb;
    border: 1px solid #b8295a;
    transform: translateY(-1px);
}

/* Popup Styles */
.policy-popup {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Responsive Utilities */
@media (max-width: 640px) {
    .popup-content {
        margin: 1rem;
        height: calc(100vh - 2rem);
        max-height: none;
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .popup-title {
        font-size: 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.625rem !important;
        filter: none !important;
    }
}