/* ==========================================
   SPORSIUM - Custom CSS
   ========================================== */

/* Navigation styles */
.nav-link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #F59E0B;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: #d1d5db;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    color: #F59E0B;
    background: rgba(255,255,255,0.05);
}

.mobile-nav-link {
    display: block;
    padding: 0.625rem 0.75rem;
    color: #d1d5db;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}
.mobile-nav-link:hover {
    color: #F59E0B;
    background: rgba(255,255,255,0.05);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Selection */
::selection {
    background-color: rgba(245, 158, 11, 0.3);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Focus ring */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* Prose dark adjustments */
.prose a {
    color: #F59E0B;
    text-decoration: none;
}
.prose a:hover {
    text-decoration: underline;
}
.prose blockquote {
    border-left-color: #F59E0B;
    color: #94A3B8;
}

/* Page transition */
main {
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
