﻿@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Bebas Neue";
    src: url("../fonts/bebas-neue-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
            --paper: #060606;
            --paper-deep: #0b0b0b;
            --surface: #121212;
            --ink: #f2f2f2;
            --ink-soft: #b8b8b8;
            --accent: #f2b84a;
            --accent-strong: #d2992f;
            --line: rgba(255, 255, 255, 0.16);
            --radius-lg: 18px;
            --radius-md: 12px;
            --trans: all 240ms cubic-bezier(0.22, 1, 0.36, 1);
        }

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

        body {
            font-family: "Space Grotesk", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
            font-weight: 400;
            line-height: 1.55;
            color: var(--ink);
            background:
                radial-gradient(circle at 82% 10%, rgba(242, 184, 74, 0.14), transparent 30%),
                radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.07), transparent 26%),
                linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
            min-height: 100vh;
            overflow-x: hidden;
            text-rendering: optimizeLegibility;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: 0.2;
            background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            background-size: 32px 32px;
            z-index: -1;
        }

        h1, h2, h3 {
            font-family: "Bebas Neue", "Impact", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
            letter-spacing: 0.03em;
            font-weight: 400;
        }

        a {
            color: inherit;
        }

        .topbar {
            position: sticky;
            top: 0;
            z-index: 90;
            backdrop-filter: blur(10px);
            background: rgba(8, 8, 8, 0.88);
            border-bottom: 1px solid var(--line);
        }

        .topbar-inner {
            max-width: 1320px;
            margin: 0 auto;
            min-height: 82px;
            padding: 12px 24px;
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 16px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 0.065em;
            text-transform: uppercase;
        }

        .brand-logo-wrap {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: linear-gradient(140deg, #1a1816, #36302a);
            border: 1px solid rgba(255, 255, 255, 0.24);
            display: grid;
            place-items: center;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
        }

        .brand-logo {
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

        .brand-text {
            font-size: 0.9rem;
            font-weight: 700;
        }

        .topnav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 22px;
        }

        .topnav a {
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.075em;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--ink-soft);
            border-bottom: 2px solid transparent;
            padding: 8px 2px;
            transition: var(--trans);
        }

        .topnav a:hover,
        .topnav a[aria-current="page"] {
            color: var(--ink);
            border-bottom-color: var(--accent);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            border: 1px solid transparent;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 0.76rem;
            font-weight: 500;
            letter-spacing: 0.075em;
            padding: 12px 18px;
            gap: 8px;
            transition: var(--trans);
            cursor: pointer;
        }

        .btn-primary {
            background: var(--ink);
            color: #111a28;
        }

        .btn-primary:hover {
            background: #ffffff;
            transform: translateY(-1px);
        }

        .btn-subtle {
            background: rgba(26, 26, 26, 0.86);
            border-color: var(--line);
            color: var(--ink);
        }

        .btn-subtle:hover {
            background: rgba(37, 37, 37, 0.96);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .btn-outline {
            border-color: rgba(255, 255, 255, 0.64);
            color: #fff;
            background: rgba(0, 0, 0, 0.2);
        }

        .btn-outline:hover {
            background: #fff;
            border-color: #fff;
            color: var(--ink);
        }

        .btn:focus-visible,
        .brand:focus-visible,
        .topnav a:focus-visible,
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible {
            outline: 3px solid rgba(199, 146, 45, 0.36);
            outline-offset: 2px;
        }

        .container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 24px 24px 70px;
        }

        .page {
            display: none;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 300ms ease, transform 300ms ease;
        }

        .page.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .hero {
            min-height: 68vh;
            border-radius: var(--radius-lg);
            border: 1px solid var(--line);
            overflow: hidden;
            box-shadow: 0 26px 52px rgba(58, 45, 20, 0.18);
            background:
                linear-gradient(112deg, rgba(8, 8, 7, 0.84) 20%, rgba(11, 11, 9, 0.44) 58%, rgba(11, 11, 9, 0.16) 100%),
                url('rechan/thumb.png') center / cover no-repeat;
            display: flex;
            align-items: flex-end;
            padding: 36px;
            margin-bottom: 18px;
        }

        .hero-copy {
            max-width: 740px;
            color: #fff;
        }

        .kicker {
            display: inline-block;
            margin-bottom: 10px;
            padding: 7px 12px;
            border-radius: 999px;
            background: var(--accent);
            color: #15120d;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.72rem;
            font-weight: 700;
        }

        .hero h1 {
            font-size: clamp(2.6rem, 9vw, 5.8rem);
            line-height: 0.94;
            margin-bottom: 14px;
        }

        .hero p {
            font-size: clamp(1rem, 2.4vw, 1.2rem);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .hero-actions,
        .row-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .home-logo-panel {
            padding: 26px 20px;
            display: grid;
            justify-items: center;
            text-align: center;
            gap: 10px;
        }

        .home-logo-wrap {
            width: 320px;
            height: 320px;
            border-radius: 30px;
            background: linear-gradient(140deg, #1a1816, #36302a);
            border: 1px solid rgba(255, 255, 255, 0.24);
            display: grid;
            place-items: center;
            box-shadow: 0 28px 52px rgba(0, 0, 0, 0.28);
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        .home-logo-wrap::before {
            content: "";
            position: absolute;
            inset: -40%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 58%);
            animation: auraPulse 4.2s ease-in-out infinite;
            opacity: 0.75;
            pointer-events: none;
            z-index: 0;
        }

        .home-logo-wrap::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(110deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 72%);
            mix-blend-mode: screen;
            pointer-events: none;
            animation: logoSheen 5.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
            z-index: 1;
        }

        .home-logo {
            width: 304px;
            height: 304px;
            object-fit: contain;
            transform-origin: center;
            filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42));
            animation: logoMotion 6s cubic-bezier(0.22, 1, 0.36, 1) infinite, logoGlow 3.2s ease-in-out infinite;
            position: relative;
            z-index: 2;
        }

        .home-logo-panel h1 {
            font-size: clamp(2.1rem, 7vw, 4rem);
            line-height: 0.93;
        }

        .home-about {
            color: var(--ink-soft);
            line-height: 1.7;
            max-width: 76ch;
            margin-top: 10px;
        }

        .panel {
            background: rgba(14, 14, 14, 0.9);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            overflow: hidden;
            margin-bottom: 16px;
        }

        .panel-head {
            padding: 14px 16px;
            border-bottom: 1px solid var(--line);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .panel-title {
            font-size: 2rem;
            line-height: 0.96;
            letter-spacing: 0.035em;
        }

        .grid-12 {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 14px;
            padding: 16px;
        }

        .card {
            border: 1px solid var(--line);
            border-radius: 10px;
            overflow: hidden;
            background: var(--surface);
            text-decoration: none;
            transition: var(--trans);
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
        }

        .card img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            border-bottom: 1px solid var(--line);
        }

        .card-body {
            padding: 14px;
            display: grid;
            gap: 8px;
        }

        .tag {
            text-transform: uppercase;
            letter-spacing: 0.075em;
            font-size: 0.68rem;
            color: #91a0b6;
            font-weight: 500;
        }

        .card h3 {
            font-size: 1.85rem;
            line-height: 0.95;
        }

        .card p {
            color: var(--ink-soft);
            line-height: 1.55;
            font-size: 0.93rem;
        }

        .slider-shell {
            position: relative;
            padding: 12px 16px 16px;
            display: grid;
            justify-content: center;
        }

        .slider-controls {
            display: flex;
            gap: 8px;
        }

        .slider-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid var(--line);
            background: rgba(20, 20, 20, 0.95);
            color: var(--ink);
            font-size: 1rem;
            cursor: pointer;
            transition: var(--trans);
        }

        .slider-btn:hover {
            background: rgba(38, 38, 38, 1);
            transform: translateY(-1px);
        }

        .featured-slider {
            display: grid;
            grid-template-columns: minmax(300px, 500px);
            gap: 12px;
            width: 100%;
            justify-content: center;
            padding-bottom: 4px;
        }

        .featured-slider .card {
            min-height: 100%;
            border-radius: 14px;
        }

        .featured-slider .card img {
            aspect-ratio: 16 / 9;
        }

        .projects-list {
            padding: 18px 16px 20px;
            display: grid;
            justify-content: center;
        }

        .projects-list .card {
            width: min(560px, 92vw);
        }

        .rechan-page-logo {
            width: min(420px, 86vw);
            height: auto;
            display: block;
            margin: 8px auto 8px;
            transform-origin: center;
            filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.42));
            animation: rechanLogoFloat 5.2s cubic-bezier(0.22, 1, 0.36, 1) infinite,
                rechanLogoGlow 2.6s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }

        .rechan-subtitle {
            font-size: 1.8rem;
            margin-top: 8px;
            line-height: 1;
            text-align: center;
        }

        .rechan-layout {
            max-width: 980px;
            margin: 0 auto;
            display: grid;
            gap: 20px;
        }

        .rechan-intro {
            text-align: center;
            display: grid;
            gap: 10px;
        }

        .rechan-details {
            color: var(--ink-soft);
            line-height: 1.75;
            max-width: 74ch;
            margin: 0 auto;
        }

        .rechan-badges {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin-top: 6px;
        }

        .rechan-badge {
            border: 1px solid var(--line);
            background: rgba(26, 26, 26, 0.86);
            color: #d8d8d8;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 700;
        }

        .rechan-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .rechan-card {
            border: 1px solid var(--line);
            border-radius: 12px;
            background: #121212;
            padding: 14px;
            display: grid;
            gap: 10px;
        }

        .rechan-card .rechan-subtitle {
            margin-top: 0;
            text-align: left;
        }

        .rechan-card .rechan-details {
            max-width: 100%;
            margin: 0;
        }

        .rechan-list {
            color: var(--ink-soft);
            line-height: 1.65;
            padding-left: 18px;
            display: grid;
            gap: 6px;
        }

        .rechan-list-columns {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 24px;
        }

        .rechan-code {
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #0b0b0b;
            color: #d9d9d9;
            font-size: 0.86rem;
            line-height: 1.6;
            padding: 12px;
            overflow-x: auto;
        }

        .rechan-note {
            color: #c9d2df;
            border: 1px solid rgba(242, 184, 74, 0.38);
            background: rgba(242, 184, 74, 0.08);
            border-radius: 10px;
            padding: 10px 12px;
            line-height: 1.6;
            font-size: 0.9rem;
        }

        .rechan-faq {
            display: grid;
            gap: 8px;
        }

        .rechan-faq details {
            border: 1px solid var(--line);
            border-radius: 9px;
            background: #0f0f0f;
            padding: 10px 12px;
        }

        .rechan-faq summary {
            cursor: pointer;
            font-weight: 700;
            color: #e7e7e7;
            list-style: none;
        }

        .rechan-faq summary::-webkit-details-marker {
            display: none;
        }

        .rechan-faq details p {
            margin-top: 8px;
            color: var(--ink-soft);
            line-height: 1.6;
            font-size: 0.94rem;
        }

        .rechan-main-shot {
            width: 100%;
            border-radius: 12px;
            border: 1px solid var(--line);
            overflow: hidden;
        }

        .rechan-main-shot img {
            width: 100%;
            display: block;
            aspect-ratio: 16 / 9;
            object-fit: cover;
        }

        .rechan-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 14px;
            margin-top: 4px;
        }

        .rechan-links .btn {
            min-width: 220px;
        }

        .download-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .download-item {
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #101010;
            overflow: hidden;
        }

        .screenshot-link {
            display: block;
            cursor: zoom-in;
            transition: var(--trans);
        }

        .screenshot-link:hover {
            transform: translateY(-2px);
            filter: brightness(1.08);
        }

        .download-item img {
            width: 100%;
            display: block;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border-bottom: 1px solid var(--line);
        }

        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 300;
            background: rgba(0, 0, 0, 0.88);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .lightbox.open {
            display: flex;
        }

        .lightbox-inner {
            width: min(1100px, 100%);
            display: grid;
            gap: 10px;
            justify-items: end;
            position: relative;
        }

        .lightbox-count {
            position: absolute;
            left: 50%;
            top: 12px;
            transform: translateX(-50%);
            border: 1px solid rgba(255, 255, 255, 0.32);
            background: rgba(16, 16, 16, 0.9);
            color: #fff;
            border-radius: 999px;
            padding: 6px 12px;
            font-size: 0.8rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            font-weight: 700;
        }

        .lightbox-close {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(20, 20, 20, 0.92);
            color: #fff;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
        }

        .lightbox-image {
            width: 100%;
            max-height: calc(100vh - 120px);
            object-fit: contain;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.24);
            background: #090909;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(16, 16, 16, 0.92);
            color: #fff;
            font-size: 1.6rem;
            line-height: 1;
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: var(--trans);
        }

        .lightbox-nav:hover {
            background: rgba(34, 34, 34, 0.96);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .lightbox-prev {
            left: 16px;
        }

        .lightbox-next {
            right: 16px;
        }

        .download-item .actions {
            padding: 10px;
            display: grid;
            gap: 8px;
        }

        .current-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            padding: 16px;
        }

        .current-item {
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #101010;
            padding: 14px;
            display: grid;
            gap: 8px;
        }

        .current-item h3 {
            font-size: 1.55rem;
            line-height: 0.95;
        }

        .current-item p {
            color: var(--ink-soft);
            line-height: 1.55;
            font-size: 0.9rem;
        }

        .col-6 {
            grid-column: span 6;
        }

        .col-4 {
            grid-column: span 4;
        }

        .col-3 {
            grid-column: span 3;
        }

        .section {
            padding: 20px;
        }

        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .three-col {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .service {
            border: 1px solid var(--line);
            border-radius: 10px;
            background: var(--surface);
            padding: 14px;
            display: grid;
            gap: 10px;
        }

        .service h3 {
            font-size: 1.7rem;
            line-height: 0.95;
        }

        .service p {
            color: var(--ink-soft);
            font-size: 0.92rem;
            line-height: 1.55;
        }

        .chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .chip {
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: 6px 10px;
            background: #1a1a1a;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 700;
            color: #c9c9c9;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            margin-top: 6px;
        }

        .stat {
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #fff;
            padding: 12px;
        }

        .stat strong {
            display: block;
            font-size: 1.2rem;
            margin-bottom: 4px;
        }

        .stat span {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #6f6658;
            font-weight: 700;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .field {
            display: grid;
            gap: 6px;
        }

        .field.full {
            grid-column: 1 / -1;
        }

        label {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: #90a4bf;
            font-weight: 700;
        }

        input,
        select,
        textarea {
            border: 1px solid var(--line);
            border-radius: 8px;
            background: #0e0e0e;
            padding: 11px 12px;
            font: inherit;
            color: var(--ink);
        }

        textarea {
            min-height: 130px;
            resize: vertical;
        }

        .contact-note {
            margin-top: 10px;
            color: #9eb0c8;
            font-size: 0.9rem;
        }

        .contact-result {
            margin-top: 10px;
            font-size: 0.9rem;
            color: #365b2f;
            font-weight: 500;
            display: none;
        }

        footer {
            margin-top: 22px;
            border-top: 1px solid var(--line);
            background: rgba(6, 6, 6, 0.92);
        }

        .footer-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: 28px 24px;
            display: grid;
            justify-items: center;
            gap: 12px;
            text-align: center;
        }

        .footer-logo-wrap {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            background: linear-gradient(140deg, #1a1816, #36302a);
            border: 1px solid rgba(255, 255, 255, 0.24);
            display: grid;
            place-items: center;
        }

        .footer-logo {
            width: 38px;
            height: 38px;
            object-fit: contain;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 14px;
        }

        .footer-links a {
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.76rem;
            font-weight: 700;
            color: #a7b8d0;
        }

        .copyright {
            color: #93a5bf;
            font-size: 0.8rem;
        }

        @keyframes logoMotion {
            0% {
                transform: translateY(0px) rotate(0deg) scale(1);
            }
            25% {
                transform: translateY(-10px) rotate(-3deg) scale(1.06);
            }
            50% {
                transform: translateY(0px) rotate(0deg) scale(1.02);
            }
            75% {
                transform: translateY(-8px) rotate(3deg) scale(1.06);
            }
            100% {
                transform: translateY(0px) rotate(0deg) scale(1);
            }
        }

        @keyframes logoGlow {
            0% {
                filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
            }
            50% {
                filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.36));
            }
            100% {
                filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
            }
        }

        @keyframes auraPulse {
            0% {
                transform: scale(0.92);
                opacity: 0.48;
            }
            50% {
                transform: scale(1.08);
                opacity: 0.84;
            }
            100% {
                transform: scale(0.92);
                opacity: 0.48;
            }
        }

        @keyframes logoSheen {
            0% {
                transform: translateX(-22%) translateY(0);
                opacity: 0.2;
            }
            50% {
                transform: translateX(12%) translateY(-2%);
                opacity: 0.6;
            }
            100% {
                transform: translateX(-22%) translateY(0);
                opacity: 0.2;
            }
        }

        @keyframes rechanLogoFloat {
            0% {
                transform: translateY(0) scale(1);
            }
            50% {
                transform: translateY(-10px) scale(1.015);
            }
            100% {
                transform: translateY(0) scale(1);
            }
        }

        @keyframes rechanLogoGlow {
            0% {
                filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 8px rgba(242, 184, 74, 0.28));
            }
            50% {
                filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 48px rgba(242, 184, 74, 0.62));
            }
            100% {
                filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 8px rgba(242, 184, 74, 0.28));
            }
        }

        @media (max-width: 1080px) {
            .topbar-inner {
                grid-template-columns: 1fr;
                justify-items: start;
            }

            .topnav {
                justify-content: flex-start;
            }

            .col-6,
            .col-4,
            .col-3 {
                grid-column: span 12;
            }

            .two-col,
            .three-col,
            .rechan-grid,
            .rechan-list-columns,
            .current-grid,
            .download-grid,
            .form-grid,
            .stats {
                grid-template-columns: 1fr;
            }

            .hero {
                min-height: 56vh;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 16px 14px 54px;
            }

            .topbar-inner {
                padding: 12px 14px;
            }

            .btn,
            .row-actions .btn,
            .hero-actions .btn {
                width: 100%;
            }

            .hero {
                padding: 24px;
            }

            .home-logo-wrap {
                width: 260px;
                height: 260px;
                border-radius: 22px;
            }

            .home-logo {
                width: 246px;
                height: 246px;
            }

            .featured-slider {
                grid-template-columns: minmax(0, 100%);
            }

            .rechan-links .btn {
                min-width: 0;
            }

            .lightbox {
                padding: 14px;
            }

            .lightbox-nav {
                width: 42px;
                height: 42px;
                font-size: 1.3rem;
            }

            .lightbox-prev {
                left: 8px;
            }

            .lightbox-next {
                right: 8px;
            }
        }
