/* GOPES LEGACY CLUB - Custom Styles */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #4B1D8F; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a1670; }

/* Font utilities */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-left { animation: slideInLeft 0.6s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease-out forwards; }

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }

/* Luxury gradient backgrounds */
.bg-luxury-gradient {
    background: linear-gradient(135deg, #4B1D8F 0%, #3a1670 50%, #2a1058 100%);
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #b8952e 50%, #9c7b25 100%);
}

.bg-hero-gradient {
    background: linear-gradient(135deg, rgba(75,29,143,0.05) 0%, rgba(212,175,55,0.05) 100%);
}

/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(75, 29, 143, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gold shine effect */
.gold-shine {
    background: linear-gradient(90deg, #D4AF37, #f3d599, #D4AF37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(75, 29, 143, 0.15);
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, #4B1D8F 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom button styles */
.btn-royal {
    background: linear-gradient(135deg, #4B1D8F, #3a1670);
    color: white;
    transition: all 0.3s ease;
}
.btn-royal:hover {
    background: linear-gradient(135deg, #3a1670, #2a1058);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(75, 29, 143, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #b8952e);
    color: white;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #b8952e, #9c7b25);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Property card overlay */
.property-overlay {
    background: linear-gradient(to top, rgba(75,29,143,0.9) 0%, transparent 100%);
}

/* Timeline for membership process */
.timeline-dot {
    width: 16px;
    height: 16px;
    background: #D4AF37;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px #D4AF37;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(75, 29, 143, 0.1);
    border-top-color: #4B1D8F;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* File upload styling */
.file-upload-area {
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}
.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #4B1D8F;
    background: rgba(75, 29, 143, 0.05);
}

/* Dashboard sidebar */
.sidebar-link {
    transition: all 0.2s ease;
}
.sidebar-link:hover {
    background: rgba(75, 29, 143, 0.1);
    color: #4B1D8F;
}
.sidebar-link.active {
    background: #4B1D8F;
    color: white;
}

/* Stats card */
.stat-card {
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* QR code container */
.qr-container {
    background: white;
    padding: 16px;
    border-radius: 12px;
    display: inline-block;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}
