/* Custom Styles for Oceano RP */

/* Font Families */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-rajdhani {
    font-family: 'Rajdhani', sans-serif;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 200, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 200, 255, 0.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Buttons */
.cta-button-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button-primary:hover::before {
    left: 100%;
}

.cta-button-primary:hover {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.cta-button-secondary {
    background: rgba(88, 101, 242, 0.2);
    color: white;
    border: 2px solid #5865F2;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.cta-button-secondary:hover {
    background: rgba(88, 101, 242, 0.3);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

/* Status Indicator Pulse */
@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.status-online {
    background: #22c55e;
    animation: pulse-green 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.status-offline {
    background: #ef4444;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Update Indicator Animation */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#update-indicator.animate-spin {
    animation: spin-slow 1s linear infinite;
}

/* Smooth number transitions */
#players-count,
#server-version,
#server-uptime {
    transition: all 0.3s ease;
}

/* Real-time update pulse */
@keyframes update-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.real-time-updating {
    animation: update-pulse 0.5s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #0891b2);
}

/* Selection Color */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 3px solid rgba(100, 200, 255, 0.1);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Tooltip Animation */
@keyframes tooltip-fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#copy-tooltip:not(.hidden) {
    animation: tooltip-fade 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
}

/* Glow Effect on Hover */
.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Discord Avatar Styles */
.discord-avatar {
    border: 2px solid rgba(100, 200, 255, 0.3);
    transition: all 0.3s ease;
}

.discord-avatar:hover {
    border-color: rgba(100, 200, 255, 0.6);
    transform: scale(1.1);
}

.team-members-badges img {
    object-fit: cover;
}

/* Logo Styles */
.logo-navbar {
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.logo-navbar:hover {
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.5));
    transform: scale(1.05);
}

/* Logo Float Animation */
@keyframes logo-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Logo Glow Effect */
@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 8px 32px rgba(59, 130, 246, 0.4));
    }
    50% {
        filter: drop-shadow(0 8px 32px rgba(34, 211, 238, 0.6));
    }
}

.logo-hero {
    filter: drop-shadow(0 8px 32px rgba(59, 130, 246, 0.4));
    animation: logo-float 3s ease-in-out infinite, logo-glow 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.logo-hero:hover {
    filter: drop-shadow(0 12px 48px rgba(59, 130, 246, 0.6));
    transform: scale(1.05);
}

