/* PSky Online — Custom Styles (supplements Tailwind) */

/* Smooth scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Glass Card effect */
.glass-card {
    background: rgba(34, 34, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(58, 58, 58, 0.5);
}

.glass-card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(39, 39, 39, 0.7);
}

/* Accent Glow Button */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn-glow:hover::before {
    left: 100%;
}

/* Input focus glow */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* Status indicator pulse */
.status-online {
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Page transition */
.page-content {
    animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* News card hover lift */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hero background pattern */
.hero-pattern {
    background-image: radial-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Table row hover */
.table-hover-row {
    transition: background-color 0.15s ease;
}
.table-hover-row:hover {
    background-color: rgba(34, 197, 94, 0.05);
}
