* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-elevated: #1a1a1a;
    --bg-input: #222222;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(139, 92, 246, 0.4);
    --purple: #8b5cf6;
    --purple-dim: rgba(139, 92, 246, 0.12);
    --purple-glow: rgba(139, 92, 246, 0.25);
    --green: #10b981;
    --blue: #500af3;
    --text: #f0f0f0;
    --muted: #666;
    --muted2: #444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}


.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.07);
    top: -200px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.05);
    bottom: 20%;
    left: -120px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.04);
    bottom: -100px;
    right: 20%;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links ul,
.nav-mobile ul {
    display: contents;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-elevated);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-hover);
    background: var(--purple-dim);
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: color 0.2s;
}

.nav-hamburger:hover {
    color: var(--text);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 12px 20px 16px;
    gap: 4px;
    border-top: 1px solid var(--border);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-mobile-link:hover {
    color: var(--text);
    background: var(--bg-elevated);
}

.nav-mobile-cta {
    color: var(--purple);
    margin-top: 4px;
}

.nav-mobile-lang {
    display: flex;
    justify-content: center;
    padding: 8px 12px 4px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.nav-lang-switcher {
    margin-left: 8px;
    margin-right: 2px;
}

main {
    position: relative;
    z-index: 1;
    padding-top: 72px;
}

.section {
    padding: 96px 32px;
}

.section-alt {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 52px;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--purple);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1.15;
}


.hero-section {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 32px 60px;
    position: relative;
}

.hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    width: fit-content;
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.hero-hi {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hero-name {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    background: linear-gradient(135deg, var(--purple), #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero-sub {
    font-family: 'Space Mono', monospace;
    font-size: clamp(12px, 1.5vw, 14px);
    color: var(--muted);
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-desc .flag {
    display: inline;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #6d28d9, var(--purple));
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--purple-glow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 15px;
}


.hero-right {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-ring {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin: 0 auto;
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(139,92,246,0.2);
    animation: spin-ring 12s linear infinite;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(139,92,246,0.3) 30%,
        transparent 60%
    );
    pointer-events: none;
}

.avatar-outer-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.2);
    animation: spin-ring 12s linear infinite;
    background: conic-gradient(from 0deg,
            transparent 0%,
            rgba(139, 92, 246, 0.3) 30%,
            transparent 60%);
}

.avatar-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.35);
    background: var(--bg-elevated);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--purple);
    background: var(--purple-dim);
}

.avatar-badge-flag,
.avatar-badge-code {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-badge-flag {
    bottom: 10px;
    right: 2px;
    border: 1px solid var(--border);
    font-size: 18px;
}

.avatar-badge-code {
    top: 10px;
    right: 2px;
    border: 1px solid rgba(139,92,246,0.3);
    font-size: 16px;
    color: var(--purple);
}


.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted2);
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
    margin-top: 48px;
    animation: bounce-hint 2s ease-in-out infinite;
    cursor: default;
    user-select: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--c);
    color: var(--ci);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.about-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.about-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.inline-link {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.inline-link:hover {
    opacity: 0.8;
}

.riwi-logo-link {
    display: inline-flex;
    margin-top: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
    justify-content: center;
}

.riwi-logo-link:hover {
    opacity: 1;
}

.riwi-logo {
    height: 20px;
    width: auto;
    filter: brightness(0.8);
}

.goals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.goals-list li i {
    color: var(--purple);
    font-size: 12px;
    width: 14px;
    flex-shrink: 0;
}


.stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.col-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.lang-card {
    display: grid;
    grid-template-columns: 44px 1fr auto auto;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.lang-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
}

.lang-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.lang-python {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.lang-html {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.lang-css {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

.lang-js {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.lang-db {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.lang-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.2px;
}

.lang-level {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.lang-bar-wrap {
    width: 80px;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 99px;
    overflow: hidden;
}

.lang-bar {
    height: 100%;
    width: var(--pct);
    background: var(--color);
    border-radius: 99px;
    transform-origin: left;
    animation: bar-grow 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-play-state: paused;
    transform: scaleX(0);
}

.tech-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tech-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.tech-list {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-track--left .tech-list {
    animation: scroll-left 30s linear infinite;
}

.tech-track--right .tech-list {
    animation: scroll-right 30s linear infinite;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-weight: 500;
    color: #555;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.3px;
    user-select: none;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s;
}

.tech-item i {
    font-size: 13px;
    color: #444;
}

.tech-carousel-wrap:hover .tech-item {
    color: #666;
}

.lang-pct {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    min-width: 32px;
    text-align: right;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tool-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.tool-chip:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: var(--bg-elevated);
}

.tool-chip img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.tool-chip:hover img {
    transform: scale(1.1);
}

.hosting-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.hosting-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.hosting-logo {
    width: auto;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
}
.hosting-logo-dark {
    filter: brightness(0) invert(1);
}

.hosting-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.hosting-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.hosting-desc {
    font-size: 12px;
    color: var(--muted);
}

.hosting-arrow {
    font-size: 12px;
    color: var(--muted);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 16px;
    align-items: start;
    transition: all 0.2s;
}

.learning-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.learning-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--c);
    color: var(--ci);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    grid-row: 1 / 3;
}

.learning-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
    align-self: end;
}

.learning-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    grid-column: 2;
}

.learning-status {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.powered-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.powered-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.powered-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.powered-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.powered-card:hover::before {
    opacity: 1;
}

.powered-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--c);
    color: var(--ci);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.powered-icon-img {
    padding: 6px;
}

.powered-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 9px;
}

.powered-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

.powered-desc {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.powered-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.like-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}


.cta-section {
    padding-bottom: 80px;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 15px;
    color: var(--muted);
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 28px 32px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

.footer-logo {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
}

.footer-logo span {
    color: var(--purple);
}

.footer-sep {
    color: var(--muted2);
}

.footer-heart {
    color: #ef4444;
    font-size: 11px;
}


.powered-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.powered-logo-wide {
    width: 90%;
    height: auto;
    object-fit: contain;
}

.powered-logo-small {
    width: 36px;
    height: 36px;
    object-fit: contain;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.game-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--gc) 0%, transparent 65%);
    pointer-events: none;
}

.game-card-featured {
    border-color: rgba(180, 120, 40, 0.3);
}

.game-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.game-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    position: relative;
    z-index: 1;
}

.game-logo-wrap-text {
    height: 70px;
}

.game-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.game-logo-white {
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.game-logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #aaa;
    text-shadow: 0 0 20px rgba(160, 140, 120, 0.3);
    position: relative;
    z-index: 1;
}

.game-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.game-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
}

.game-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.4;
}

.game-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.game-badge-fav {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.cta-desc-name {
    color: var(--text);
}

.cta-desc-dm {
    color: var(--purple);
}

.nav-lang-switcher {
    margin-left: 8px;
    margin-right: 2px;
}

.nav-mobile-lang {
    display: flex;
    justify-content: center;
    padding: 8px 12px 4px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

