/* CourtshipCore — Ship-Inspired Design */

::selection {
    background: #1a3a5c;
    color: #f0c060;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.perspective-1000 {
    perspective: 1000px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: rgba(240,192,96,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,192,96,0.5); }

html { scroll-behavior: smooth; }

nav.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(240,192,96,0.2);
}

.site-footer { border-top: 1px solid rgba(106, 30, 74, 0.1); }

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Rope divider decoration */
.rope-divider {
    height: 3px;
    background: repeating-linear-gradient(90deg, #f0c060 0px, #f0c060 8px, transparent 8px, transparent 16px);
    opacity: 0.4;
}

/* Wave animation at bottom of hero */
.wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Premium Styling Enhancements */

/* Sleek Glassmorphism Navigation */
.glass-nav {
    background: rgba(72, 15, 45, 0.9) !important; /* Deep luxury brand-dark burgundy */
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(230, 168, 124, 0.25) !important; /* Rose-gold bottom border */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3) !important;
}

/* Luxury Card Swiper styling */
.card-stack-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.card-front-hover {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.card-front-hover:hover {
    box-shadow: 0 45px 80px -20px rgba(106, 30, 74, 0.25);
}

/* Soft Premium Glass Cards */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 20px 50px -10px rgba(128, 0, 32, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-premium:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(106, 30, 74, 0.15) !important;
    box-shadow: 0 30px 60px -10px rgba(128, 0, 32, 0.15) !important;
}

/* Input Focus Glows */
.premium-input {
    transition: all 0.3s ease;
}
.premium-input:focus {
    border-color: #6A1E4A !important;
    box-shadow: 0 0 0 4px rgba(106, 30, 74, 0.15) !important;
    background-color: #ffffff !important;
}

/* Interactive Match Card Navigation Transition */
.profile-card-image {
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Glowing floating background spots */
.glow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    animation: float-slow 12s ease-in-out infinite alternate;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(3%, 5%) scale(1.1);
    }
    100% {
        transform: translate(-3%, -5%) scale(0.95);
    }
}

/* Floating Heart Animation in Footer */
.footer-heart {
    position: absolute;
    bottom: -30px;
    pointer-events: none;
    z-index: 1;
    transform: translateY(0) scale(1);
    animation: floatHeart 5s ease-out forwards;
}

.footer-heart svg {
    filter: drop-shadow(0 0 10px rgba(255, 77, 128, 0.7));
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) scale(1.1) rotate(15deg);
    }
    100% {
        transform: translateY(-250px) translateX(var(--drift)) scale(0.8) rotate(-15deg);
        opacity: 0;
    }
}

/* Custom logo height utility */
.h-30 {
    height: 120px;
}

/* Premium Footer Brand Name Styling */
.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #da1b60 0%, #ff4d80 40%, #a0006b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(255, 77, 128, 0.45));
    transition: filter 0.3s ease;
    line-height: 1;
}

.footer-brand-name:hover {
    filter: drop-shadow(0 0 16px rgba(255, 77, 128, 0.75));
}

/* Premium Pink Neon Moving Border Effect */
@property --neon-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.neon-glow-border {
    position: relative;
    border: none !important;
}

.neon-glow-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px; /* Border thickness */
    background: conic-gradient(
        from var(--neon-angle),
        #ff4d80, 
        #da1b60, 
        #ff4d80 25%, 
        #ff007f 50%, 
        #da1b60 75%,
        #ff4d80
    );
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 25;
    animation: rotateNeonGlow 4s linear infinite;
}

.neon-glow-border::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--neon-angle),
        #ff4d80, 
        #da1b60, 
        #ff4d80 25%, 
        #ff007f 50%, 
        #da1b60 75%,
        #ff4d80
    );
    filter: blur(12px);
    opacity: 0.65;
    pointer-events: none;
    z-index: -1;
    animation: rotateNeonGlow 4s linear infinite;
}

@keyframes rotateNeonGlow {
    0% {
        --neon-angle: 0deg;
    }
    100% {
        --neon-angle: 360deg;
    }
}



