:root {
    --bg-color: #0f1115;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --accent-color: #ffd700;
    /* Gold/Yellow for subtle pop */
    --hover-color: #64ffda;
    /* Cyan/Teal for modern tech feel */
    --grid-line: rgba(255, 255, 255, 0.03);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background Effect - Subtle and Premium */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.5;
    z-index: -1;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px);
    }
}

.content-wrapper {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    position: relative;
    /* Glassmorphism subtle backing */
    background: rgba(15, 17, 21, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    /* Allow scrolling if content is tall */
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--text-secondary) transparent;
}

/* Typography Main */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: -2px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-title a {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

/* Personal Link Style (New Brand) */
.link-personal {
    color: var(--text-primary);
    font-weight: 600;
}

.link-personal:hover {
    color: var(--hover-color);
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    transform: translateY(-2px);
}

/* Company Link Style (Old/Suspended Brand) */
.link-company {
    color: var(--text-secondary);
    font-weight: 300;
}

.link-company:hover {
    color: var(--accent-color);
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 200;
    margin: 0 10px;
}

/* Status Indicator */
.status-indicator {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Common Styles for Info Page */
.info-container {
    max-width: 800px;
    /* Wider for gallery */
    margin: 0 auto;
    text-align: left;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    transition: all 0.3s;
}

.back-link:hover {
    border-color: var(--text-primary);
}

.minimal-footer {
    position: absolute;
    bottom: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

/* CAROUSEL STYLES */
.carousel-container {
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 30s linear infinite;
    /* Slow scrolling */
}

.carousel-slide {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(110%);
    transition: all 0.5s ease;
}

.carousel-slide:hover img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 3 - 60px));
    }

    /* Adjust based on slide width + gap */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .separator {
        display: none;
    }

    .content-wrapper {
        width: 95%;
        padding: 1.5rem;
    }

    .carousel-slide {
        width: 180px;
        height: 120px;
    }
}