:root {
    --bg-color: #0d1117;
    --text-color: #f0f6fc;
    --accent-color: #58a6ff;
    --secondary-accent: #bc8cff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(88, 166, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(188, 140, 255, 0.15) 0%, transparent 40%);
    transition: background 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.title-link {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.glow-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(88, 166, 255, 0.3));
}

.subtitle {
    font-size: 1.5rem;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(88, 166, 255, 0.2);
}

/* Featured Apps Section */
.featured-apps {
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.app-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    backdrop-filter: blur(20px);
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(188, 140, 255, 0.1));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(88, 166, 255, 0.1);
}

.app-card:hover::before {
    opacity: 1;
}

.app-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.app-content {
    position: relative;
    z-index: 1;
}

.app-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, #8b949e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-card p {
    font-size: 1rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-link {
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.app-card:hover .app-link {
    gap: 0.8rem;
}

.app-link .arrow {
    font-size: 1.2rem;
}

/* Repositories Section */
.repos {
    width: 100%;
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #8b949e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.repo-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.repo-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
    background: rgba(88, 166, 255, 0.05);
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.repo-lang {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    background: var(--glass-border);
    border-radius: 10px;
    color: var(--accent-color);
}

.repo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
}

.repo-card p {
    font-size: 0.9rem;
    color: #8b949e;
    line-height: 1.5;
}

.footer {
    padding: 2rem;
    color: #484f58;
    font-size: 0.9rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .glow-text {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-group {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}