:root {
    --bg-color: #0a0e17;
    /* Dark Blue/Black */
    --text-color: #e0e6ed;
    --primary-color: #00f3ff;
    /* Cyan Neon */
    --secondary-color: #ff00ff;
    /* Magenta Neon */
    --accent-color: #7000ff;
    /* Purple Neon */
    --circuit-line: rgba(0, 243, 255, 0.15);
    --font-main: 'Orbitron', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Circuit Background */
.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--circuit-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--circuit-line) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.circuit-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
    transform: scale(0.95);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: scale(1);
}

/* Circuit Border Effect */
.circuit-border {
    border: 2px solid var(--primary-color);
    padding: 3rem;
    position: relative;
    background: rgba(10, 14, 23, 0.85);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.1);
    max-width: 1200px;
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-shadow: 0 0 15px var(--primary-color);
}

.section-header h1 {
    font-size: 6rem;
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--secondary-color);
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
    display: inline-block;
}

p {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: #b0c4de;
    text-align: center;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Code Blocks */
pre {
    background-color: #1e2127;
    padding: 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

code {
    font-family: var(--font-mono);
    font-size: 1.2rem;
}

/* Lists and Tables */
ul {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    list-style: none;
    text-align: left;
}

li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '>';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    border: 1px solid var(--accent-color);
    background: rgba(30, 33, 39, 0.8);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border: 1px solid rgba(112, 0, 255, 0.3);
}

.comparison-table th {
    background-color: rgba(112, 0, 255, 0.2);
    color: var(--primary-color);
    text-transform: uppercase;
}

/* Components */
.protocol-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.protocol-item {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    padding: 1rem;
    border: 1px solid var(--circuit-line);
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.05);
    transition: all 0.3s;
    cursor: default;
}

.protocol-item:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 0 15px var(--primary-color);
}

.danger {
    color: #ff3333;
    font-weight: bold;
    text-shadow: 0 0 10px #ff3333;
}

.neon-circle {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-color));
    margin-bottom: 1rem;
}

.section-number {
    font-size: 10rem;
    font-weight: 900;
    position: absolute;
    right: 5%;
    bottom: 5%;
    opacity: 0.1;
    color: var(--secondary-color);
    font-family: var(--font-main);
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background: rgba(10, 14, 23, 0.9);
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
    transform: scale(1.1);
}

.progress-container {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--secondary-color);
}

.slide-number {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    background: rgba(10, 14, 23, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p,
    ul {
        font-size: 1.1rem;
    }

    .circuit-border {
        padding: 1.5rem;
        width: 95%;
        height: 90%;
    }

    .progress-container {
        width: 100px;
    }
}