:root {
    /* OmniCore portal palette */
    --primary: #0f7c8a;
    --primary-dark: #0a5963;
    --primary-light: #2ba8b8;
    --secondary: #f2b84b;
    --accent: #5ed3f3;
    --success: #00FF41;
    
    /* Dark mode */
    --background: #0a0e27;
    --surface: #1a1f3a;
    --surface-hover: #232d52;
    --text: #e0e6ff;
    --text-muted: #a0a8c8;
    --border: #2d3561;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(145, 70, 255, 0.1);
    --shadow-md: 0 8px 24px rgba(145, 70, 255, 0.15);
    --shadow-lg: 0 20px 48px rgba(145, 70, 255, 0.2);
    --glow-purple: 0 0 20px rgba(145, 70, 255, 0.4);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--background);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(15, 124, 138, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(242, 184, 75, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f2b84b 0%, #5ed3f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
    background-color: rgba(145, 70, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--secondary);
}

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

/* Announcement Ribbon */
.announcement-ribbon {
    background: linear-gradient(90deg, rgba(242, 184, 75, 0.2), rgba(94, 211, 243, 0.2));
    border-bottom: 1px solid rgba(94, 211, 243, 0.3);
}

.ribbon-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    flex-wrap: wrap;
}

.ribbon-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #0a0e27;
    background: #f2b84b;
}

.ribbon-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.ribbon-content a {
    color: #8de3ff;
}

.ribbon-cta {
    margin-left: auto;
    text-decoration: none;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(94, 211, 243, 0.5);
    color: #8de3ff;
    transition: var(--transition);
}

.ribbon-cta:hover {
    background: rgba(94, 211, 243, 0.18);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.logo-lol {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-dark {
    color: var(--text);
    font-weight: 900;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--surface);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    text-align: center;
    overflow: hidden;
}

.hero-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(145, 70, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.title-lol {
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
    animation: glow-yellow 3s ease-in-out infinite;
}

.title-dark {
    background: linear-gradient(135deg, #f2b84b 0%, #5ed3f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(145, 70, 255, 0.3);
}

/* Community Testing Section */
.testing {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 124, 138, 0.08) 0%, rgba(10, 14, 39, 1) 60%);
    border-top: 1px solid rgba(94, 211, 243, 0.18);
    border-bottom: 1px solid rgba(94, 211, 243, 0.18);
}

.testing-intro {
    max-width: 760px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.test-card {
    background: linear-gradient(160deg, rgba(35, 45, 82, 0.9), rgba(26, 31, 58, 0.9));
    border: 1px solid rgba(94, 211, 243, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.test-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.test-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.testing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@keyframes glow-yellow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
    }
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background-color: var(--background);
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(145, 70, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .card-glow {
    opacity: 1;
}

.project-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-purple);
    transform: translateY(-5px);
}

.project-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.project-header h3 {
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background-color: var(--surface);
    color: var(--text-muted);
}

.badge-primary {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary);
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--surface);
    border-radius: 4px;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
}

.btn-small {
    flex: 1;
    text-align: center;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--surface);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.skills-section {
    margin-top: 3rem;
}

.skills-section h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-group {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.skill-group h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-group ul {
    list-style: none;
}

.skill-group li {
    padding: 0.4rem 0;
    color: var(--text-muted);
}

.skill-group li::before {
    content: "▸ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--text);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.heart {
    color: #ff6b6b;
    animation: heartbeat 0.6s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    .projects,
    .about,
    .contact {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

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