:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #00f3ff;
    /* Cyan Neon */
    --secondary-color: #bc13fe;
    /* Purple Neon */
    --accent-color: #ff0055;
    /* Pink Neon */
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --code-bg: #1a1b26;
    --font-main: 'Space Grotesk', sans-serif;
    --font-code: 'Fira Code', 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;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.15) 0%, transparent 50%);
}

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

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

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

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.section-header h1 {
    font-size: 6rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.6rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.subtitle {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Code Blocks */
pre {
    background-color: var(--code-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    position: relative;
}

pre::before {
    content: 'PHP';
    position: absolute;
    top: 10px;
    right: 15px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-code);
    font-size: 0.8rem;
}

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

/* Lists */
ul,
ol {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 900px;
    list-style-position: inside;
}

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

li::marker {
    color: var(--accent-color);
}

/* Components */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
}

.agenda-item {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 12px;
    border: var(--glass-border);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.3s;
    cursor: default;
}

.agenda-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.comparison-table {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 1.4rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    color: var(--primary-color);
    text-transform: uppercase;
    border-bottom: 2px solid var(--secondary-color);
}

.warning {
    color: #ff4757;
    font-weight: bold;
    border-left: 4px solid #ff4757;
    padding-left: 1rem;
}

.important {
    color: #ffa502;
    font-weight: bold;
    border-left: 4px solid #ffa502;
    padding-left: 1rem;
}

.good {
    color: #2ed573;
}

.bad {
    color: #ff4757;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.glitch {
    position: relative;
    color: var(--text-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(50px, 9999px, 20px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(60px, 9999px, 30px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 50px, 0);
    }
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.progress-container {
    width: 400px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

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

.slide-number {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-family: var(--font-code);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.section-number {
    font-size: 10rem;
    font-weight: 800;
    position: absolute;
    top: 10%;
    left: 10%;
    opacity: 0.05;
    color: var(--primary-color);
    z-index: -1;
}

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

    h2 {
        font-size: 2rem;
    }

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

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .progress-container {
        width: 150px;
    }

    .slide {
        padding: 1.5rem;
    }

    .section-header h1 {
        font-size: 3.5rem;
    }
}