:root {
    --bg-color: #0a0b1e;
    --card-bg: rgba(20, 22, 45, 0.6);
    --text-primary: #e0e6ed;
    --text-secondary: #94a3b8;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --accent-blue: #0066ff;
    --positive: #00ff9d;
    --negative: #ff3366;
    --grid-line: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    background-color: #0a0b1e;
    color: var(--text-primary);
    color: #e0e6ed;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 20%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

/* Header */
header {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    background: linear-gradient(to right, #00f3ff, #bc13fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-animation: glow 2s ease-in-out infinite alternate;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Sections */
section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-cyan);
    border-left: 4px solid #00f3ff;
    color: var(--accent-cyan);
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: var(--accent-blue);
    color: #0066ff;
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    color: #94a3b8;
}

strong {
    color: var(--text-primary);
    color: #e0e6ed;
    font-weight: 600;
}

code {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    color: #00f3ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', 'Courier New', monospace;
}

/* Cards */
.card {
    background: var(--card-bg);
    background: rgba(20, 22, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@supports not (backdrop-filter: blur(10px)) {
    .card {
        background: rgba(20, 22, 45, 0.9);
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.2);
}

/* Lists */
ul {
    list-style: none;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    color: #94a3b8;
}

li::before {
    content: "►";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    color: #bc13fe;
    font-size: 0.8em;
    top: 4px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--grid-line);
}

th {
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent-cyan);
    color: #00f3ff;
    font-weight: 600;
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* SVG Containers */
.svg-container {
    width: 100%;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--grid-line);
    position: relative;
    overflow: hidden;
}

.svg-container svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG Animations */
.path-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    -webkit-animation: dash 3s ease-out forwards;
    animation: dash 3s ease-out forwards;
}

.fade-in {
    opacity: 0;
    -webkit-animation: fadeIn 1s ease-out 1s forwards;
    animation: fadeIn 1s ease-out 1s forwards;
}

@-webkit-keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(188, 19, 254, 0.6);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(188, 19, 254, 0.6);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--grid-line);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .card {
        padding: 20px;
    }
}
