:root {
    --primary-color: #00ffcc;
    --secondary-color: #ff0055;
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #050505;
    color: var(--text-color);
    overflow: hidden; /* No scrolling */
    height: 100vh;
    width: 100vw;
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: blur(3px) brightness(0.6);
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navigation {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color);
}

.progress-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 1px solid var(--text-color);
    background: transparent;
    transform: rotate(45deg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Slides Container */
#slides-container {
    width: 80%;
    height: 80%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

h1 {
    font-size: 4rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 20px;
}

/* Specific Slide Styles */
.slide-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 100%;
}

.slide-content.center {
    flex-direction: column;
    justify-content: center;
}

.slide-image {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.2));
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 10px;
    background: rgba(0, 255, 204, 0.05);
}

.slide-text {
    flex: 1;
    text-align: left;
}

.slide-text.center {
    text-align: center;
}

.logo-img {
    max-width: 600px;
    margin-bottom: 30px;
}

.character-stats {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 0 10px rgba(0, 255, 204, 0.1);
    position: relative;
}

/* Tech decoration corners */
.character-stats::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.character-stats::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stat span {
    width: 140px; /* Fixed width for labels */
    text-align: left;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

.stat-bar {
    flex: 1;
    height: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-left: 15px;
}

.stat-fill {
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    position: relative;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Segmented look */
.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(0,0,0,0.8) 4px,
        rgba(0,0,0,0.8) 6px
    );
    z-index: 2;
}

/* Gallery Grid for Art */
.art-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 15px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.art-item {
    position: relative;
    border: 1px solid var(--primary-color);
    background: rgba(0, 255, 204, 0.05);
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

/* Main image takes 2x2 space */
.art-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.art-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.7;
    filter: grayscale(80%) sepia(20%) hue-rotate(130deg); /* Cyber tint */
}

.art-item:hover img {
    transform: scale(1.1);
    opacity: 1;
    filter: grayscale(0%) sepia(0%);
}

/* Tech overlay scanlines for images */
.art-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.5) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.art-item:hover::after {
    opacity: 0;
}

.art-item:hover {
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 5;
    border-color: #fff;
}

/* Credits Grid */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    perspective: 1000px;
}

.credit-card {
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 30px 10px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.credit-card:hover {
    background: rgba(0, 255, 204, 0.15);
    border-color: var(--primary-color);
    transform: translateZ(20px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.credit-card span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

/* Decorative corners for credits */
.corner-tl, .corner-br {
    position: absolute;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.credit-card:hover .corner-tl {
    top: -5px;
    left: -5px;
}

.credit-card:hover .corner-br {
    bottom: -5px;
    right: -5px;
}
