:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#shader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    animation: fadeIn 2s ease-out;
}

.profile-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alias {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
}

.tagline {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollMove 2s infinite;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-glow);
}

/* Content Sections */
.content-section {
    padding: 8rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
}

/* LIA Section */
.lia-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(0, 0, 0, 0.4));
}

.lia-logo {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.lia-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.demo-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.demo-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.demo-item {
    text-decoration: none;
    text-align: center;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #aaa;
}

.demo-item:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--accent-color);
    transform: scale(1.05) translateY(-5px);
}

.demo-item:hover span {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* List Layout (Rows) */
.list-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
}

.large-img {
    flex: 1;
    max-width: 50%;
    height: 400px !important;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.row-card .card-body {
    flex: 1;
}

.row-card .card-body h3 {
    font-size: 2rem;
}

.row-card .card-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-item {
    padding: 1rem;
    overflow: hidden;
}

.video-item iframe {
    border-radius: 10px;
}

/* Grid Layouts (General) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.center-text {
    text-align: center;
}

.card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.card-body h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.sub-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid #444;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.sub-links a:hover {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.1);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.link-list {
    list-style: none;
    margin-top: 2rem;
}

.link-list li {
    margin-bottom: 1rem;
}

.link-list a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    transition: padding-left 0.3s ease;
}

.link-list a:hover {
    padding-left: 10px;
    color: #fff;
}

/* Code Window */
.code-window {
    background: #000;
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.dots {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

code {
    color: #00d2ff;
}

/* Guipper & Tutorials */
.guipper-card, .tutorial-card {
    padding: 0;
    overflow: hidden;
}

.guipper-content, .tutorial-card {
    display: flex;
    align-items: center;
}

.guipper-card .text, .tutorial-text {
    padding: 3rem;
    flex: 1;
}

.guipper-card .image, .tutorial-image {
    flex: 1;
    height: 100%;
}

.guipper-card img, .tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Music Links */
.music-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.music-link span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-top: 0.5rem;
}

.doc-link {
    border-color: rgba(255, 215, 0, 0.2);
}

.doc-link:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.doc-link:hover h3 {
    color: #ffd700;
}

/* Tribute Section */
#tributo {
    background: linear-gradient(to top, rgba(0, 210, 255, 0.05), transparent);
}

.tribute-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tribute-message p {
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 2rem;
}

.friends-list {
    font-size: 0.9rem;
    color: #888;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollMove {
    0% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
    50% { transform: translateX(-50%) scaleY(1); transform-origin: top; }
    50.1% { transform: translateX(-50%) scaleY(1); transform-origin: bottom; }
    100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}

/* Responsive */
@media (max-width: 992px) {
    .row-card {
        flex-direction: column;
        padding: 2rem;
    }
    
    .lia-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    
    .lia-logo {
        width: 100%;
        max-width: 300px;
    }
    
    .large-img {
        max-width: 100%;
        width: 100%;
        height: 300px !important;
    }
    
    .feature-grid, .guipper-content, .tutorial-card {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
}
