:root {
    --cyber-black: #0a0e14;
    --neon-blue: #00aead;
    --vivid-orange: #ff6200; /* Orange Business primary */
    --light-orange: #ff8c00; /* Lighter shade for highlights */
    --dark-orange: #cc4d00; /* Darker shade for depth */
    --glow-white: #d9e6ff;
    --alert-red: #ff4444;
    --shadow-gray: rgba(0, 0, 0, 0.7);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--glow-white);
    background: var(--cyber-black);
    overflow-x: hidden;
    line-height: 1.6;
}

#quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--cyber-black), var(--neon-blue), var(--vivid-orange));
    background-size: 400% 400%;
    animation: cyberPulse 15s ease-in-out infinite;
}

@keyframes cyberPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-header {
    background: rgba(10, 14, 20, 0.85);
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 0 15px var(--light-orange);
    transition: box-shadow 0.5s ease-in-out;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid var(--vivid-orange);
}

.main-header:hover {
    box-shadow: 0 0 25px var(--dark-orange);
}

h1, h2, h3 {
    color: var(--neon-blue);
    text-shadow: 0 0 6px var(--vivid-orange);
    margin: 15px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

nav ul li a {
    color: var(--glow-white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255, 98, 0, 0.2);
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
}

nav ul li a:hover {
    color: var(--light-orange);
    background: rgba(255, 140, 0, 0.3);
    box-shadow: 0 0 10px var(--vivid-orange);
}

.disclaimer {
    background: rgba(255, 68, 68, 0.3);
    border: 3px solid var(--alert-red);
    padding: 15px;
    margin: 15px;
    text-align: center;
    border-radius: 8px;
    transition: opacity 0.6s ease;
    box-shadow: 0 0 10px var(--alert-red);
}

.disclaimer:hover {
    opacity: 0.95;
}

.disclaimer #disclaimer-timer {
    color: var(--vivid-orange);
    font-weight: bold;
}

.quantum-section {
    margin: 15px;
    padding: 15px;
    background: rgba(10, 14, 20, 0.9);
    border: 2px solid var(--light-orange);
    border-radius: 8px;
    transition: box-shadow 0.5s ease-in-out;
}

.quantum-section:hover {
    box-shadow: 0 0 14px var(--dark-orange);
}

.code-block {
    background: var(--cyber-black);
    padding: 12px;
    border: 3px solid var(--light-orange);
    color: var(--glow-white);
    overflow-x: auto;
    box-shadow: inset 0 0 5px var(--vivid-orange);
    border-radius: 8px;
    font-size: 12px;
    margin: 10px 0;
}

footer {
    text-align: center;
    padding: 20px 10px;
    background: rgba(255, 98, 0, 0.25);
    box-shadow: 0 0 6px var(--neon-blue);
    margin-top: 30px;
    border-top: 2px solid var(--vivid-orange);
}

footer:hover {
    box-shadow: 0 0 15px var(--light-orange);
}

.action-btn {
    background: var(--vivid-orange);
    color: var(--cyber-black);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 15px var(--light-orange);
    transition: all 0.4s ease;
    font-weight: bold;
    margin: 10px;
}

.action-btn:hover {
    background: var(--dark-orange);
    box-shadow: 0 0 20px var(--glow-white);
    transform: scale(1.05);
}

.action-btn:disabled {
    background: var(--shadow-gray);
    cursor: not-allowed;
    box-shadow: none;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--vivid-orange);
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background: var(--cyber-black);
    color: var(--glow-white);
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 2px solid var(--light-orange);
    font-size: 12px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.hack-concept {
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid var(--vivid-orange);
    background: rgba(255, 98, 0, 0.1);
}

.concept-title {
    color: var(--light-orange);
    font-weight: bold;
    margin-bottom: 8px;
}

#alert, #sentinel-alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
}

.safe { background: rgba(0, 174, 173, 0.3); color: var(--glow-white); }
.warning { background: rgba(255, 140, 0, 0.3); color: var(--cyber-black); }
.danger { background: rgba(255, 68, 68, 0.3); color: var(--glow-white); }

#guardian-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

#guardian-table th, #guardian-table td {
    padding: 10px;
    border: 2px solid var(--light-orange);
    text-align: left;
}

#guardian-table th {
    background: rgba(255, 98, 0, 0.8);
    color: var(--glow-white);
}

@media (min-width: 768px) {
    body { font-size: 16px; }
    .main-header { padding: 40px 20px; }
    .quantum-section { margin: 20px; padding: 20px; }
    .disclaimer { padding: 20px; margin: 20px; }
    nav ul { flex-direction: row; gap: 20px; }
    nav ul li a { width: auto; }
    .code-block { font-size: 14px; }
    .tooltip .tooltiptext { font-size: 14px; }
    .quantum-section { width: 90%; margin-left: auto; margin-right: auto; }
}

@media (min-width: 1200px) {
    .quantum-section { max-width: 1000px; margin-left: auto; margin-right: auto; }
    .main-header { padding: 60px 30px; }
    body { font-size: 18px; }
}