:root {
    --bg-color: #0f0c29;
    /* Deep Space Purple */
    --text-color: #e0e0e0;
    --primary-color: #00d2ff;
    /* Crystal Cyan */
    --secondary-color: #3a7bd5;
    /* Deep Blue */
    --accent-color: #9d50bb;
    /* Amethyst Purple */
    --font-main: 'Cinzel', serif;
    --font-mono: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-mono);
    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;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
}

/* Crystal Background */
.crystal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(157, 80, 187, 0.1) 0%, transparent 20%);
    z-index: 0;
}

/* Floating Crystals */
.crystal {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    z-index: 0;
}

.crystal-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    transform: rotate(45deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 10s ease-in-out infinite;
}

.crystal-2 {
    width: 150px;
    height: 300px;
    bottom: 10%;
    left: 10%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-20px) rotate(50deg);
    }
}

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

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

/* Monolith Container */
.monolith-container {
    border: 2px solid var(--primary-color);
    padding: 4rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.1);
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
}

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

/* Typography */
h1 {
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    letter-spacing: 2px;
}

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

h2 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    letter-spacing: 1px;
}

p {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: #ccc;
    text-align: center;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.inscription {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
    letter-spacing: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    width: 50%;
}

/* Code Blocks */
pre {
    background-color: #2e3440;
    padding: 1.5rem;
    border: 1px solid var(--secondary-color);
    max-width: 1000px;
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

code {
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
}

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

.law-item {
    font-family: var(--font-main);
    font-size: 1.4rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    color: white;
    transition: all 0.3s;
}

.law-item:hover {
    background: rgba(0, 210, 255, 0.1);
    padding-left: 2rem;
}

/* Comparison */
.comparison {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

.code-block {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-main);
}

/* Components */
.section-number {
    font-family: var(--font-main);
    font-size: 10rem;
    font-weight: 700;
    position: absolute;
    top: 10%;
    opacity: 0.1;
    color: white;
    z-index: -1;
}

/* 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.5);
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.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: white;
    text-shadow: 0 0 10px var(--primary-color);
}

.progress-container {
    width: 300px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    background: var(--primary-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-main);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

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

    h2 {
        font-size: 1.8rem;
    }

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

    .monolith-container {
        width: 90%;
        height: auto;
        padding: 2rem;
    }

    .comparison {
        flex-direction: column;
    }

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