/* ==========================================================================
   ARAKNIC — main.css
   Extracted from the inline <style> block of index.php (OPERATION REFACTOR).
   Cascade order is preserved: this file is linked AFTER the Tailwind CDN
   stylesheet injection, exactly where the original <style> block lived.
   ========================================================================== */

body {
    background-color: #07080a;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Cyber grid background layer */
.cyber-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 42, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 42, 42, 0.04) 1px, transparent 1px);
}

/* Glassmorphism styling */
.glass-panel {
    background: rgba(12, 13, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 42, 42, 0.2);
}

.glass-panel-hover:hover {
    border-color: rgba(255, 42, 42, 0.6);
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.25);
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #07080a;
}
::-webkit-scrollbar-thumb {
    background: #FF2A2A;
    border-radius: 3px;
}

/* Glow text utility */
.text-glow-red {
    text-shadow: 0 0 12px rgba(255, 42, 42, 0.7);
}

/* Red gradient button */
.btn-araknic {
    background: linear-gradient(135deg, #FF2A2A 0%, #a80505 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-araknic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
.btn-araknic:hover::before {
    left: 100%;
}
.btn-araknic:hover {
    box-shadow: 0 0 25px rgba(255, 42, 42, 0.8);
    transform: translateY(-2px);
}
