/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* Navigation styles moved to shared-navbar.css */

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: transparent;
    color: #1d1d1f;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-btn:hover {
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
}

.language-btn.active {
    background: #007aff;
    color: white;
    border-color: #007aff;
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector {
        position: fixed;
        top: 70px;
        right: 20px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 8px;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        flex-direction: column;
    }
    
    .language-selector.visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .language-btn {
        width: 80px;
        text-align: center;
        padding: 10px 16px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    color: white;
    z-index: 2;
    position: relative;
    text-align: left;
}



.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(100deg,
        rgba(255,255,255,0.98) 0%,
        rgba(210,224,255,0.92) 22%,
        rgba(255,255,255,1) 45%,
        rgba(240,230,255,0.92) 68%,
        rgba(255,255,255,0.98) 84%,
        rgba(230,245,255,0.95) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 100%;
    animation: gradientShift 10s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007aff;
    color: white;
}

.btn-primary:hover {
    background: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 100vh;
}



.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(5) {
    top: 20%;
    right: 25%;
    animation-delay: 1s;
}

.floating-element:nth-child(6) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2.5s;
}

.floating-element:nth-child(7) {
    top: 70%;
    left: 30%;
    animation-delay: 1.8s;
}

.floating-element:nth-child(8) {
    top: 40%;
    left: 80%;
    animation-delay: 0.6s;
}

.floating-element:nth-child(9) {
    bottom: 30%;
    right: 30%;
    animation-delay: 3.2s;
}

.floating-element:nth-child(10) {
    top: 15%;
    left: 60%;
    animation-delay: 2.2s;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 50%;
    animation-delay: 4s;
}

/* show all floating elements */

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 40px;
        min-height: 100vh;
    }
    
    .hero .container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 40px;
    }
    
    .hero-content {
        text-align: left;
        order: 1;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .hero-visual {
        height: 200px;
        margin-top: 40px;
        order: 2;
        flex-shrink: 0;
    }
    
    .floating-elements {
        position: relative;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .floating-element {
        position: relative;
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.4);
        animation: float 6s ease-in-out infinite;
        margin: 0 10px;
    }
    
    .floating-element:nth-child(1) {
        top: 15%;
        left: 10%;
    }

    .floating-element:nth-child(2) {
        top: 25%;
        right: 15%;
    }

    .floating-element:nth-child(3) {
        bottom: 35%;
        left: 20%;
    }

    .floating-element:nth-child(4) {
        top: 45%;
        right: 10%;
    }

    .floating-element:nth-child(5) {
        top: 60%;
        left: 15%;
    }

    .floating-element:nth-child(6) {
        bottom: 20%;
        right: 20%;
    }

    .floating-element:nth-child(7) {
        top: 75%;
        left: 25%;
    }

    .floating-element:nth-child(8) {
        top: 35%;
        left: 70%;
    }

    .floating-element:nth-child(9) {
        bottom: 45%;
        right: 25%;
    }

    .floating-element:nth-child(10) {
        top: 8%;
        left: 50%;
    }

    /* Reduce icon size on mobile */
    .floating-element {
        font-size: 2rem;
    }

    /* Hide some elements on very small screens to prevent overcrowding */
    @media (max-width: 480px) {
        .floating-element:nth-child(9),
        .floating-element:nth-child(10) {
            display: none;
        }
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: #1d1d1f;
}

.section-header p {
    font-size: 1.125rem;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    padding: 80px 0 60px;
    background: #fff;
    overflow: hidden;
}

.games-section .section-header {
    margin-bottom: 48px;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    flex-shrink: 0;
}

.game-card {
    flex-shrink: 0;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f7;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.game-card img {
    width: 200px;
    height: 94px;
    object-fit: cover;
    display: block;
}

.game-card span {
    display: block;
    padding: 8px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #111114;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.marquee-left {
    animation: marquee-left 35s linear infinite;
}

.marquee-right {
    animation: marquee-right 40s linear infinite;
}

.marquee-wrapper:hover .marquee-left,
.marquee-wrapper:hover .marquee-right {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .game-card {
        width: 150px;
    }

    .game-card img {
        width: 150px;
        height: 70px;
    }

    .marquee-left {
        animation-duration: 25s;
    }

    .marquee-right {
        animation-duration: 30s;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #fbfbfd;
}

/* Updates Section */
.updates-section {
    padding: 80px 0 100px;
    background: white;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* two-card layout uses existing updates-grid; remove large section styles */

.update-card {
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.update-media {
    position: relative;
    aspect-ratio: unset;
    background: #f5f5f7;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95) contrast(1.05);
}

.carousel-slide:hover img {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.1);
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.02) 0%, 
        rgba(0,0,0,0.05) 50%, 
        rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.carousel-slide:hover::before {
    opacity: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
}

.carousel:hover .carousel-control {
    opacity: 1;
}

.carousel-control:hover { 
    background: rgba(255,255,255,1); 
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.carousel-control:active { 
    transform: translateY(-50%) scale(0.95);
}

.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-dots {
    opacity: 1;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
}

.carousel-dots button:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.carousel-dots button.is-active { 
    background: #fff; 
    border-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.update-body {
    padding: 8px 10px 10px;
}

.update-body h3 {
    margin-bottom: 3px;
    color: #1d1d1f;
    font-size: 0.8rem;
}

.update-body p {
    color: #56565c;
    line-height: 1.3;
    margin-bottom: 4px;
    font-size: 0.7rem;
}

.update-body time {
    font-size: 0.7rem;
    color: #8e8e93;
}

.update-card.placeholder .placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .updates-section {
        padding: 60px 0 80px;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    margin-bottom: 16px;
    color: #1d1d1f;
}

.about-card p {
    color: #86868b;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: white;
}

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

.product-card {
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #007aff;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34c759, #30d158);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    margin-bottom: 16px;
    color: #1d1d1f;
}

.product-card p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.feature {
    background: #f2f2f7;
    color: #1d1d1f;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-action {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f2f2f7;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.product-btn:hover {
    background: linear-gradient(135deg, #0056cc, #4845b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.product-btn i {
    font-size: 1rem;
}

/* Technology Section */
.technology-section {
    padding: 100px 0;
    background: #fbfbfd;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.tech-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9500, #ff6b35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: white;
}

.tech-item h3 {
    margin-bottom: 16px;
    color: #1d1d1f;
}

.tech-item p {
    color: #86868b;
    line-height: 1.6;
}

/* Modules Section */
.modules-section {
    padding: 100px 0;
    background: white;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.module-card {
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5856d6, #007aff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #5856d6;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5856d6, #007aff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: white;
}

.module-card h3 {
    margin-bottom: 16px;
    color: #1d1d1f;
}

.module-card p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5856d6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.module-link:hover {
    color: #007aff;
    transform: translateX(4px);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #fbfbfd;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #007aff;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: 8px;
}

.contact-item h4 {
    margin-bottom: 4px;
    color: #1d1d1f;
}

.contact-item p {
    color: #86868b;
}

.social-links h4 {
    margin-bottom: 20px;
    color: #1d1d1f;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1d1d1f;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 1.25rem;
    color: #007aff;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Footer decorative elements */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6, #af52de);
}

.footer::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 24px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    border-radius: 3px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #86868b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #007aff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

/* Company info section */
.footer-section:first-child {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-width: 100%;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section:first-child p {
    color: #86868b;
    line-height: 1.6;
    margin-top: auto;
    font-size: 0.95rem;
    max-width: 250px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #86868b;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 12px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* ICP and Public Security Record */
.footer-icp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.footer-icp p {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-icp a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-icp a:hover {
    color: white;
}

.beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
}

/* Footer social links */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #86868b;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: rgba(0, 122, 255, 0.15);
    color: #007aff;
    transform: translateY(-3px);
    border-color: #007aff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-section h4 {
        margin-bottom: 16px;
        font-size: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }
    
    .footer-icp {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-icp p {
        font-size: 0.8rem;
    }
    
    .beian-icon {
        width: 14px;
        height: 14px;
    }

    .footer::after {
        right: -200px;
        width: 300px;
        height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .about-grid,
    .products-grid,
    .tech-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card,
    .product-card,
    .tech-item,
    .module-card {
        padding: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        min-width: auto;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .module-card {
        min-width: auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.about-card,
.product-card,
.tech-item,
.module-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* -------------------------------------------------- */
/* AirTag-inspired Visual & Motion Override           */
/* -------------------------------------------------- */
:root {
    --air-bg: #f5f5f7;
    --air-bg-soft: #fbfbfd;
    --air-text: #1d1d1f;
    --air-muted: #6e6e73;
    --air-card: #ffffff;
    --air-border: #e2e2e7;
    --air-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --air-blue: #0071e3;
    --air-dark-btn: #1d1d1f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
    color: var(--air-text);
    background: linear-gradient(180deg, #ffffff 0%, var(--air-bg) 36%, #ffffff 100%);
}

.container {
    max-width: 1280px;
}

.navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.nav-link {
    color: #2f2f33;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--air-blue);
}

.hero {
    padding-top: 88px;
    min-height: 92vh;
    background:
        radial-gradient(circle at 78% 28%, rgba(0, 113, 227, 0.11) 0 260px, transparent 320px),
        linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
    color: var(--air-text);
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #111114;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: initial;
    animation: none;
}

.hero-subtitle {
    color: var(--air-muted);
    font-size: clamp(1.03rem, 1.5vw, 1.22rem);
    line-height: 1.75;
}

.btn {
    border-radius: 999px;
    border: 1px solid transparent;
    box-shadow: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--air-dark-btn);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: var(--air-text);
    border-color: #d2d2d7;
}

.btn:hover,
.product-btn:hover {
    transform: translateY(-2px);
}

.hero-visual {
    height: auto;
    min-height: 500px;
    border-radius: 28px;
    border: 1px solid var(--air-border);
    background: linear-gradient(155deg, #ffffff 0%, #f1f3f7 100%);
    box-shadow: var(--air-shadow);
    position: relative;
    overflow: hidden;
}

.hero-product-image {
    width: min(68%, 380px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + var(--airtag-scroll-progress, 0) * -22px)) scale(calc(1 + var(--airtag-scroll-progress, 0) * 0.08));
    transform-origin: center;
    transition: transform 0.2s linear;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    inset: 0;
}

.floating-element {
    color: rgba(0, 113, 227, 0.42);
    text-shadow: none;
    animation: floatSoft 5.6s ease-in-out infinite;
}

.section-header {
    margin-bottom: 54px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -0.02em;
    color: #1b1b1f;
    text-shadow: none;
}

.section-header p {
    color: var(--air-muted);
    font-size: 1.05rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
}

.about-visual {
    border-radius: 24px;
    border: 1px solid var(--air-border);
    background: linear-gradient(145deg, #111317 0%, #2a2f3d 100%);
    box-shadow: var(--air-shadow);
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
}

.about-visual img {
    width: min(90%, 460px);
    object-fit: contain;
    opacity: 0.96;
}

.about-section,
.products-section,
.modules-section,
.contact-section {
    padding: 120px 0;
    background: #ffffff;
}

.products-section,
.contact-section {
    background: var(--air-bg-soft);
}

.about-grid,
.products-grid,
.modules-grid {
    gap: 22px;
}

.about-card,
.product-card,
.module-card,
.contact-item,
.social-link {
    border-radius: 24px;
    border: 1px solid var(--air-border);
    background: var(--air-card);
    box-shadow: var(--air-shadow);
    transform: none;
}

.about-card:hover,
.product-card:hover,
.module-card:hover {
    transform: translateY(-6px);
}

.product-cover {
    border-radius: 16px;
    border: 1px solid #ececf0;
    background: linear-gradient(145deg, #f8f9fc 0%, #eef1f6 100%);
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
}

.product-cover img {
    width: min(72%, 280px);
    max-height: 140px;
    object-fit: contain;
}

.card-icon,
.product-icon,
.module-icon,
.contact-item i {
    background: #f2f2f7;
    color: #1f1f23;
    border: 1px solid #d9d9df;
    border-radius: 14px;
    box-shadow: none;
}

.feature {
    background: #f2f2f7;
    color: #3a3a40;
    border: 1px solid #dfdfe5;
    border-radius: 999px;
    box-shadow: none;
}

.product-btn {
    background: var(--air-dark-btn);
    color: #ffffff;
    border-radius: 999px;
    box-shadow: none;
}

.module-link {
    color: var(--air-blue);
}

.social-link:hover {
    transform: translateY(-3px);
}

.footer {
    background: #f5f5f7;
    color: #1d1d1f;
    border-top: 1px solid #dfdfe3;
}

.footer::before,
.footer::after {
    display: none;
}

.footer-section h4 {
    color: #1f1f23;
}

.footer-section ul li a,
.footer-bottom,
.footer-icp a,
.footer-section:first-child p {
    color: #6e6e73;
}

.footer-social a {
    background: #ffffff;
    border-color: #dfdfe4;
    color: #4a4a50;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 1100px) {
    .hero-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 76px;
        min-height: auto;
    }

    .about-section,
    .products-section,
    .modules-section,
    .contact-section {
        padding: 84px 0;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-title {
        font-size: 2.4rem;
    }
}

/* -------------------------------------------------- */
/* AirTag-like Fine Tune                              */
/* -------------------------------------------------- */
:root {
    --airtag-surface: #ffffff;
    --airtag-surface-alt: #f5f5f7;
    --airtag-text: #1d1d1f;
    --airtag-muted: #6e6e73;
    --airtag-line: #d2d2d7;
}

body {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 38%, #ffffff 100%);
    color: var(--airtag-text);
}

.nav-container {
    height: 64px;
}

.nav-menu {
    gap: 24px;
}

.nav-link {
    font-size: 0.92rem;
    color: #3a3a3c;
}

.hero {
    min-height: 88vh;
    background:
        radial-gradient(circle at 70% 25%, rgba(0, 113, 227, 0.08) 0 220px, transparent 310px),
        linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
}

.hero-layout {
    gap: 52px;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.4rem);
    letter-spacing: -0.03em;
    line-height: 0.97;
    margin-bottom: 20px;
}

.hero-subtitle {
    max-width: 560px;
    font-size: clamp(1.06rem, 1.6vw, 1.26rem);
    line-height: 1.75;
}

.hero-visual {
    border-radius: 0;
    border: none;
    background: transparent;
    min-height: 540px;
    box-shadow: none;
    overflow: visible;
}

.hero-product-image {
    width: min(62%, 340px);
    filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.2));
}

.floating-element {
    font-size: 2.1rem;
    color: rgba(0, 113, 227, 0.22);
}

.floating-element:nth-child(3),
.floating-element:nth-child(4),
.floating-element:nth-child(5) {
    opacity: 0.55;
}

.about-section,
.products-section,
.modules-section,
.contact-section {
    padding: 132px 0;
    border-top: none;
    border-bottom: none;
}

.about-section,
.modules-section {
    background: var(--airtag-surface);
}

.products-section,
.contact-section {
    background: var(--airtag-surface-alt);
}

.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4.1vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.028em;
}

.section-header p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.about-visual {
    border-radius: 28px;
    background: linear-gradient(150deg, #1c1f28 0%, #2f3544 100%);
}

.about-card,
.product-card,
.module-card,
.contact-item,
.social-link {
    border: 1px solid #e0e0e5;
    border-radius: 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.about-card,
.product-card,
.module-card {
    padding: 34px;
}

.about-card:hover,
.product-card:hover,
.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}

.product-cover {
    border-radius: 18px;
    background: linear-gradient(150deg, #f9f9fb 0%, #eff1f5 100%);
    min-height: 210px;
}

.product-cover img {
    width: min(68%, 250px);
}

.card-icon,
.product-icon,
.module-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.btn {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: #1d1d1f;
}

.btn-primary:hover {
    background: #000000;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--airtag-line);
}

.contact-content {
    gap: 34px;
}

.social-link {
    padding: 18px;
}

.footer {
    background: #111317;
    border-top: 1px solid #2a2d34;
}

.footer-content {
    gap: 34px;
}

.footer-section h4 {
    font-size: 1rem;
}

.footer-section ul li a,
.footer-section:first-child p,
.footer-bottom,
.footer-icp a {
    color: #b7bcc8;
}

.footer-section h4 {
    color: #f5f7fb;
}

.footer-section ul li a:hover,
.footer-icp a:hover {
    color: #ffffff;
}

.reveal-on-scroll {
    transform: translateY(48px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1100px) {
    .hero-title {
        font-size: 3.6rem;
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
    }

    .hero-layout {
        gap: 24px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-visual {
        min-height: 330px;
        border-radius: 24px;
    }

    .about-section,
    .products-section,
    .modules-section,
    .contact-section {
        padding: 86px 0;
    }
}

/* -------------------------------------------------- */
/* Item Split Layout (text + image)                   */
/* -------------------------------------------------- */
.about-layout {
    display: block;
}

.about-visual,
.about-grid,
.products-grid,
.modules-grid,
.product-cover {
    display: none;
}

.split-items {
    display: grid;
    gap: 26px;
}

.split-item {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: center;
}

.split-item.reverse .split-item-text {
    order: 2;
}

.split-item.reverse .split-item-image {
    order: 1;
}

.split-item-text {
    border: 1px solid #e0e0e5;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    padding: 34px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-item-text h3 {
    margin: 14px 0 10px;
    font-size: clamp(1.4rem, 2vw, 2rem);
    letter-spacing: -0.01em;
}

.split-item-text p {
    color: #6e6e73;
    line-height: 1.8;
}

.split-item-image {
    border: 1px solid #dfe2e8;
    border-radius: 28px;
    background: linear-gradient(150deg, #171b24 0%, #313847 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
    transform: none !important;
}

.split-item-image img {
    width: min(80%, 420px);
    max-height: 230px;
    object-fit: contain;
}

/* Products section: remove rounded image panel background and enlarge image */
.products-section .split-item-image {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-height: calc(100vh - 160px);
    max-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-section .split-item-image img {
    width: min(98%, 900px);
    max-height: 92vh;
    object-fit: contain;
}

.products-section .split-item {
    min-height: 100vh;
    align-items: center;
}

/* About section icon panel: make background smaller */
.about-section .split-item-image,
.modules-section .split-item-image {
    min-height: auto;
    width: 240px;
    height: 240px;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 20px;
}

.about-icon-cluster {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.about-icon-cluster i {
    display: inline-block;
    font-size: 4rem;
    color: #2f7df2;
    background: transparent;
    box-shadow: none;
}

.split-item .card-icon,
.split-item .product-icon,
.split-item .module-icon {
    margin-bottom: 6px;
}

@media (max-width: 1100px) {
    .split-item {
        grid-template-columns: 1fr;
    }

    .split-item.reverse .split-item-text,
    .split-item.reverse .split-item-image {
        order: initial;
    }
}

@media (max-width: 768px) {
    .split-items {
        gap: 18px;
    }

    .split-item-text,
    .split-item-image {
        border-radius: 22px;
        padding: 24px;
    }

    .split-item-image {
        min-height: 220px;
    }

    .about-icon-cluster i {
        font-size: 3.2rem;
    }

    .products-section .split-item-image {
        min-height: 68vh;
        max-height: 72vh;
    }

    .products-section .split-item-image img {
        width: min(98%, 520px);
        max-height: 68vh;
    }

    .products-section .split-item {
        min-height: auto;
    }

    .about-section .split-item-image,
    .modules-section .split-item-image {
        min-height: auto;
        width: 200px;
        height: 200px;
        aspect-ratio: 1 / 1;
        max-width: 200px;
        border-radius: 20px;
        padding: 16px;
    }
}

/* -------------------------------------------------- */
/* AirTag Match Pass 2                                */
/* -------------------------------------------------- */
.hero {
    min-height: 96vh;
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 6rem);
    letter-spacing: -0.034em;
}

.hero-subtitle {
    max-width: 520px;
}

.floating-elements {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.72;
}

.hero-visual .floating-element {
    color: rgba(0, 113, 227, 0.46);
    font-size: clamp(1.8rem, 2.6vw, 2.7rem);
    filter: drop-shadow(0 6px 12px rgba(0, 113, 227, 0.2));
    animation: floatSoft 4.2s ease-in-out infinite, iconGlow 2.8s ease-in-out infinite;
    text-shadow: none;
}

.hero-visual .floating-element:nth-child(odd) {
    animation-duration: 3.8s, 2.3s;
}

.hero-visual .floating-element:nth-child(even) {
    animation-duration: 4.6s, 3.2s;
}

.hero-visual .floating-element:nth-child(1) { top: 8%; left: 6%; }
.hero-visual .floating-element:nth-child(2) { top: 16%; right: 8%; }
.hero-visual .floating-element:nth-child(3) { top: 34%; left: 18%; }
.hero-visual .floating-element:nth-child(4) { top: 42%; right: 4%; }
.hero-visual .floating-element:nth-child(5) { top: 58%; left: 4%; }
.hero-visual .floating-element:nth-child(6) { top: 68%; right: 14%; }
.hero-visual .floating-element:nth-child(7) { top: 78%; left: 22%; }
.hero-visual .floating-element:nth-child(8) { top: 24%; left: 52%; }
.hero-visual .floating-element:nth-child(9) { top: 52%; left: 44%; }
.hero-visual .floating-element:nth-child(10) { top: 12%; left: 70%; }

.section-header {
    margin-bottom: 74px;
}

.section-header h2 {
    letter-spacing: -0.03em;
    font-weight: 700;
    line-height: 1.04;
}

.section-header p {
    max-width: 640px;
    line-height: 1.8;
    font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.split-items {
    gap: 100px;
    margin-top: 28px;
}

.split-item {
    min-height: auto;
    align-items: start;
}

.split-item-text {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 16px 8px 16px 0;
}

.split-item-text h3 {
    font-size: clamp(2rem, 4.1vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.028em;
    margin: 0 0 14px;
    color: #121316;
}

.split-item-text p {
    max-width: 560px;
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    line-height: 1.82;
}

.split-item-image {
    min-height: 420px;
    border-radius: 34px;
    border: 1px solid #e5e6eb;
    background:
        radial-gradient(circle at 50% 48%, #ffffff 0 36%, #f6f7fa 62%, #eceff3 100%);
    box-shadow: 0 26px 42px rgba(0, 0, 0, 0.1);
    position: relative;
    top: auto;
}

.split-item-image img {
    width: min(66%, 340px);
    max-height: 260px;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.16));
}

.feature {
    padding: 8px 14px;
}

.module-link,
.product-btn {
    margin-top: 10px;
}

/* Product section moves closer to AirTag narrative style */
.products-section .section-header {
    margin-bottom: 84px;
}

.products-section .split-item {
    min-height: 108vh;
    align-items: center;
}

.products-section .split-item-image {
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 100px);
    position: sticky;
    top: 92px;
}

.products-section .split-item-image img {
    width: min(96%, 960px);
    max-height: 92vh;
    transform: scale(calc(1.01 + var(--airtag-scroll-progress, 0) * 0.04));
    transition: transform 0.25s linear;
}

.products-section .split-item-text p {
    max-width: 520px;
}

/* Contact section: remove social block and improve contact info layout */
.contact-section .contact-content {
    grid-template-columns: 1fr;
    max-width: 920px;
    margin: 0 auto;
    gap: 0;
}

.contact-section .contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-section .contact-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 14px;
    padding: 24px 26px;
    border: 1px solid #e2e4ea;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.contact-section .contact-item i {
    width: 52px;
    height: 52px;
    margin-left: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #f2f4f8 0%, #e8ebf2 100%);
    color: #1f2937;
    border: 1px solid #d9dde7;
    font-size: 1.1rem;
}

.contact-section .contact-item h4 {
    margin: 2px 0 8px;
    color: #111827;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.contact-section .contact-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    word-break: break-word;
}

@media (max-width: 1100px) {
    .split-items {
        gap: 30px;
    }

    .split-item {
        min-height: auto;
    }

    .split-item-image {
        position: relative;
        top: auto;
        min-height: 320px;
        border-radius: 24px;
    }

    .products-section .split-item {
        min-height: auto;
    }

    .products-section .split-item-image {
        position: relative;
        top: auto;
        min-height: 72vh;
        max-height: none;
    }

    .products-section .split-item-image img {
        width: min(98%, 560px);
        max-height: 70vh;
        transform: none;
    }

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

    .split-item-text h3 {
        font-size: clamp(1.7rem, 4.6vw, 2.6rem);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .floating-elements {
        opacity: 0;
    }

    /* Mobile: hide hero icon visual area entirely */
    .hero-visual {
        display: none;
    }

    .hero-visual .floating-elements,
    .hero-visual .floating-element {
        display: none !important;
    }

    .split-item-text {
        padding: 8px 2px;
    }

    .split-item-text h3 {
        font-size: 2rem;
    }

    .split-item-image {
        min-height: 240px;
    }

    .products-section .section-header {
        margin-bottom: 56px;
    }

    .products-section .split-item-image {
        min-height: 66vh;
    }

    .products-section .split-item-image img {
        max-height: 64vh;
    }

    .contact-section .contact-content {
        max-width: 100%;
    }

    .contact-section .contact-item {
        padding: 20px 18px;
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .contact-section .contact-item i {
        width: 46px;
        height: 46px;
    }

    .hero-visual .floating-element:nth-child(9),
    .hero-visual .floating-element:nth-child(10) {
        display: none;
    }
}

@keyframes iconGlow {
    0%,
    100% {
        opacity: 0.72;
        filter: drop-shadow(0 6px 12px rgba(0, 113, 227, 0.2));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 10px 18px rgba(0, 113, 227, 0.35));
    }
}

/* Footer first column: center logo and social icons */
.footer .footer-section:first-child {
    align-items: center;
}

.footer .footer-section:first-child .footer-logo {
    margin-left: auto;
    margin-right: auto;
}

.footer .footer-section:first-child .footer-social {
    justify-content: center;
}

/* -------------------------------------------------- */
/* Action&Link Arcade                                 */
/* -------------------------------------------------- */
.arcade-kicker {
    margin: 0 0 12px;
    color: #5453e1;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.arcade-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #e1e4ec;
    border-radius: 999px;
    background: #ffffff;
    color: #2f3440;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.arcade-points i {
    color: #5453e1;
}

.products-section .arcade-product {
    min-height: 92vh;
}

.products-section .arcade-product-visual {
    min-height: 520px;
    padding: 34px;
    border: 1px solid #e3e6ef;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(84, 83, 225, 0.08), rgba(0, 160, 181, 0.08)),
        #ffffff;
    box-shadow: 0 26px 46px rgba(17, 24, 39, 0.1);
}

.arcade-control-stage {
    position: relative;
    width: min(100%, 520px);
    min-height: 380px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: center;
}

.arcade-signal-card,
.arcade-output-card,
.arcade-core-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    min-height: 118px;
    border-radius: 22px;
    border: 1px solid #e0e4ee;
    background: rgba(255, 255, 255, 0.92);
    color: #1d1d1f;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.arcade-signal-card i,
.arcade-output-card i {
    color: #5453e1;
    font-size: 1.7rem;
}

.arcade-signal-card span,
.arcade-output-card span {
    color: #4c5363;
    font-size: 0.95rem;
    font-weight: 700;
}

.arcade-core-mark {
    grid-column: 1 / -1;
    min-height: 92px;
    background: #14171f;
    color: #ffffff;
}

.arcade-core-mark span {
    font-size: 1.35rem;
    font-weight: 800;
}

body.arcade-page {
    position: relative;
    background: #ffffff;
}

body.arcade-page::before {
    display: none;
}

body.arcade-page::after {
    display: none;
}

body.arcade-page main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8f8ff 26%, #ffffff 52%, #f7f9ff 78%, #ffffff 100%);
}

body.arcade-page main::before,
body.arcade-page main::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body.arcade-page main::before {
    background-image:
        linear-gradient(90deg, rgba(84, 83, 225, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(84, 83, 225, 0.035) 1px, transparent 1px),
        linear-gradient(118deg, transparent 0 22%, rgba(84, 83, 225, 0.08) 22.12%, transparent 22.75% 100%),
        linear-gradient(118deg, transparent 0 64%, rgba(0, 160, 181, 0.06) 64.12%, transparent 64.7% 100%);
    background-size:
        88px 88px,
        88px 88px,
        100% 34%,
        100% 42%;
    background-position:
        0 0,
        0 0,
        center 8%,
        center 54%;
    opacity: 0.78;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.3) 42%, rgba(0, 0, 0, 0.48));
}

body.arcade-page main::after {
    width: 58vw;
    height: 28vw;
    min-width: 520px;
    min-height: 240px;
    top: 12%;
    left: -18%;
    right: auto;
    bottom: auto;
    border-radius: 999px;
    background:
        linear-gradient(105deg, rgba(84, 83, 225, 0), rgba(84, 83, 225, 0.12), rgba(0, 160, 181, 0.07), rgba(84, 83, 225, 0));
    opacity: 0.46;
    transform: translate3d(0, 0, 0) rotate(-12deg);
    will-change: transform, opacity;
    animation: arcadeLightWave 16s ease-in-out infinite;
}

body.arcade-page main > * {
    position: relative;
    z-index: 1;
}

body.arcade-page .footer {
    position: relative;
    z-index: 1;
}

body.arcade-page .navbar {
    border-bottom: 1px solid rgba(84, 83, 225, 0.08);
    background: rgba(255, 255, 255, 0.88);
}

body.arcade-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
}

@keyframes arcadeLightWave {
    0%, 100% {
        opacity: 0.2;
        transform: translate3d(0, 0, 0) rotate(-12deg) scale(0.98);
    }
    45% {
        opacity: 0.46;
        transform: translate3d(90vw, 90vh, 0) rotate(-12deg) scale(1.04);
    }
    70% {
        opacity: 0.26;
    }
}

.arcade-hero {
    position: relative;
    min-height: 100vh;
    padding: 124px 0 90px;
    background: transparent;
    overflow: visible;
}

.arcade-hero::before {
    display: none;
}

.arcade-hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 58px;
    align-items: stretch;
}

.arcade-hero-marquee-bg {
    position: absolute;
    left: 50%;
    top: clamp(276px, 28vw, 390px);
    z-index: 0;
    width: min(1780px, 150vw);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.8vw, 24px);
    opacity: 0.68;
    pointer-events: none;
    transform: translateX(-50%) rotate(-4deg);
    filter: saturate(0.96) brightness(1.06);
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
}

.arcade-hero-marquee-bg::after {
    content: '';
    position: absolute;
    inset: -24px -8vw;
    background:
        radial-gradient(circle at 24% 32%, rgba(255, 255, 255, 0.48), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.34));
    pointer-events: none;
}

.arcade-hero-marquee-row {
    display: flex;
    width: max-content;
}

.arcade-hero-marquee-content {
    display: flex;
    gap: clamp(10px, 1.55vw, 18px);
    flex-shrink: 0;
    padding-right: clamp(10px, 1.55vw, 18px);
}

.arcade-bg-game {
    position: relative;
    flex-shrink: 0;
    width: clamp(132px, 16vw, 214px);
    height: clamp(62px, 7.55vw, 102px);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        0 16px 38px rgba(84, 83, 225, 0.16),
        0 8px 20px rgba(34, 38, 70, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.arcade-bg-game::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18)),
        linear-gradient(135deg, rgba(84, 83, 225, 0.03), rgba(0, 160, 181, 0.03));
}

.arcade-bg-game img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arcade-bg-marquee-left {
    animation: arcadeBgMarqueeLeft 44s linear infinite;
}

.arcade-bg-marquee-right {
    animation: arcadeBgMarqueeRight 50s linear infinite;
    opacity: 0.9;
    transform: translateX(-9%);
}

.arcade-bg-marquee-mid {
    animation: arcadeBgMarqueeLeft 58s linear infinite;
    opacity: 0.78;
    transform: translateX(-18%);
}

@keyframes arcadeBgMarqueeLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes arcadeBgMarqueeRight {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.arcade-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: clamp(0px, 6vw, 72px);
}

.arcade-hero-content h1 {
    margin: 0 0 20px;
    color: #15151c;
    font-size: clamp(3rem, 5.8vw, 5.35rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.arcade-hero-content h1 span {
    color: #5453e1;
}

.arcade-hero-subtitle {
    max-width: 620px;
    margin: 0;
    color: #6a6d78;
    font-size: clamp(1.08rem, 1.6vw, 1.42rem);
    line-height: 1.68;
    font-weight: 500;
}

.arcade-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.arcade-beta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 10px;
    background: #5453e1;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(84, 83, 225, 0.28);
    user-select: none;
}

.arcade-beta-contact {
    color: #5453e1;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.arcade-beta-contact:hover {
    color: #3f3dc6;
    transform: translateX(2px);
}

.arcade-hero-visual {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    min-height: clamp(430px, 48vw, 650px);
    margin: 0 auto;
}

.arcade-platform-frame {
    position: absolute;
    left: 0;
    right: clamp(92px, 13vw, 160px);
    top: 0;
    aspect-ratio: 1072 / 807;
    border: 1px solid rgba(84, 83, 225, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 38px 90px rgba(35, 38, 70, 0.18),
        0 8px 24px rgba(84, 83, 225, 0.08);
    overflow: hidden;
    transform: perspective(1200px) rotateX(1deg);
}

.arcade-platform-frame > img {
    display: block;
    width: 100%;
    height: auto;
}

.arcade-app-preview {
    --app-bar: clamp(24px, 3.2vw, 36px);
    --app-sidebar: clamp(104px, 20.5vw, 220px);
    --app-cell: clamp(48px, 8.65vw, 100px);
    --app-gap: clamp(5px, 0.86vw, 10px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    color: #1c1c23;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    pointer-events: auto;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.arcade-app-titlebar {
    height: var(--app-bar);
    min-height: var(--app-bar);
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.arcade-app-title-left {
    display: flex;
    width: clamp(60px, 8.6vw, 92px);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.arcade-app-title-left span,
.arcade-app-title-actions span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(84, 83, 224, 0.68);
    font-size: clamp(0.52rem, 1.12vw, 0.8rem);
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        opacity 0.15s ease,
        transform 0.12s ease;
}

.arcade-app-title-left span {
    flex: 1;
}

.arcade-app-title-left span + span {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.arcade-app-title-tabs {
    flex: 1;
    min-width: 0;
}

.arcade-app-title-actions {
    display: flex;
    align-items: stretch;
}

.arcade-app-title-actions span {
    width: clamp(28px, 4.25vw, 46px);
}

.arcade-app-title-actions span:nth-last-child(3) {
    border-left: 1px solid #efefef;
}

.arcade-app-title-actions span:last-child {
    color: #6357e6;
}

.arcade-app-title-left span:hover,
.arcade-app-title-actions span:hover {
    background: rgba(84, 83, 224, 0.08);
    color: #5453e0;
}

.arcade-app-title-left span:active,
.arcade-app-title-actions span:active {
    transform: scale(0.92);
    opacity: 0.76;
}

.arcade-app-title-actions span:last-child:hover {
    background: #e81123;
    color: #ffffff;
}

.arcade-app-body {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
}

.arcade-app-sidebar {
    width: var(--app-sidebar);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-top: clamp(12px, 1.8vw, 20px);
    border-right: 1px solid #efefef;
    background: #ffffff;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.06);
}

.arcade-app-logo {
    display: flex;
    align-items: center;
    height: clamp(30px, 5vw, 54px);
    padding: 0 clamp(8px, 1.55vw, 16px);
}

.arcade-app-logo img {
    width: min(78%, 140px);
    height: auto;
    display: block;
    object-fit: contain;
}

.arcade-app-nav-item {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.7vw, 8px);
    margin: clamp(3px, 0.48vw, 5px) clamp(7px, 1.1vw, 12px);
    padding: clamp(7px, 1.18vw, 13px) clamp(9px, 1.7vw, 18px);
    border-radius: clamp(8px, 1.25vw, 14px);
    background: #f2f2f2;
    color: #666666;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        color 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arcade-app-nav-item span {
    width: 1.1em;
    font-size: clamp(0.62rem, 1.1vw, 0.92rem);
    line-height: 1;
    text-align: center;
}

.arcade-app-nav-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.58rem, 1.16vw, 0.88rem);
    line-height: 1.2;
    font-weight: 600;
}

.arcade-app-nav-item.is-active {
    background: #5453e0;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(84, 83, 224, 0.35);
}

.arcade-app-nav-item:hover {
    background: #e8e8e8;
    color: #333333;
    transform: translateX(2px);
}

.arcade-app-nav-item.is-active:hover {
    background: #4342cc;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(84, 83, 224, 0.45);
}

.arcade-app-nav-item:active {
    transform: translateX(2px) scale(0.98);
}

.arcade-app-device-hud {
    position: relative;
    z-index: 12;
    margin-top: auto;
    padding: clamp(6px, 0.95vw, 10px) clamp(7px, 1.1vw, 12px);
    border-top: 1px solid #efefef;
}

.arcade-app-device-popover {
    position: absolute;
    left: clamp(6px, 0.95vw, 10px);
    right: clamp(6px, 0.95vw, 10px);
    bottom: calc(100% + clamp(5px, 0.72vw, 8px));
    padding: clamp(8px, 1.45vw, 16px) clamp(7px, 1.25vw, 14px) clamp(7px, 1.18vw, 14px);
    border: 1px solid #efefef;
    border-radius: clamp(10px, 1.45vw, 16px);
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    animation: arcadePortalPopoverIn 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.arcade-app-device-body {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 12px);
}

.arcade-app-device-image-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(38px, 5.8vw, 64px);
    height: clamp(38px, 5.8vw, 64px);
    border-radius: clamp(7px, 0.9vw, 10px);
    background: #ffffff;
    perspective: 180px;
}

.arcade-app-device-image {
    display: block;
    width: clamp(32px, 4.75vw, 52px);
    height: clamp(32px, 4.75vw, 52px);
    object-fit: contain;
    user-select: none;
    animation: arcadePortalFloat 3s ease-in-out infinite;
}

.arcade-app-device-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
}

.arcade-app-device-name {
    color: #222222;
    font-size: clamp(0.58rem, 1.08vw, 0.88rem);
    line-height: 1.15;
    font-weight: 800;
}

.arcade-app-device-status {
    color: #4caf50;
    font-size: clamp(0.5rem, 0.96vw, 0.76rem);
    line-height: 1.2;
    font-weight: 700;
}

.arcade-app-device-hint {
    margin-top: clamp(6px, 0.9vw, 10px);
    padding: clamp(5px, 0.75vw, 8px) clamp(6px, 0.9vw, 10px);
    border: 1px solid #c8e6c9;
    border-radius: clamp(6px, 0.8vw, 8px);
    background: #f0fff4;
    color: #2e7d32;
    font-size: clamp(0.46rem, 0.9vw, 0.72rem);
    line-height: 1.5;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arcade-app-portal {
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.8vw, 8px);
    min-height: clamp(28px, 4.1vw, 42px);
    padding: 0 clamp(7px, 1.05vw, 10px);
    border-radius: clamp(7px, 0.9vw, 10px);
    background: transparent;
    color: #777777;
    font-size: clamp(0.54rem, 1vw, 0.78rem);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arcade-app-portal:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateX(2px);
}

.arcade-app-portal.is-connected {
    color: #646a66;
}

.arcade-app-portal span {
    width: clamp(5px, 0.72vw, 8px);
    height: clamp(5px, 0.72vw, 8px);
    border-radius: 50%;
    flex-shrink: 0;
    background: #4caf50;
    animation: arcadePortalDotPulse 2s ease-in-out infinite;
}

@keyframes arcadePortalPopoverIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes arcadePortalFloat {
    0% {
        transform: rotateY(-28deg) rotateX(6deg) translateY(2px);
        filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.22));
    }
    50% {
        transform: rotateY(28deg) rotateX(-6deg) translateY(-4px);
        filter: drop-shadow(-5px 14px 10px rgba(0, 0, 0, 0.14));
    }
    100% {
        transform: rotateY(-28deg) rotateX(6deg) translateY(2px);
        filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.22));
    }
}

@keyframes arcadePortalDotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0);
    }
}

.arcade-app-menu-tab {
    position: absolute;
    left: var(--app-sidebar);
    top: 50%;
    z-index: 5;
    width: clamp(12px, 1.7vw, 18px);
    height: clamp(34px, 5vw, 52px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
    background: #5453e0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.65rem, 1.2vw, 0.95rem);
    box-shadow: 2px 0 10px rgba(84, 83, 224, 0.35);
    cursor: pointer;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.14s ease;
}

.arcade-app-menu-tab:hover {
    background: #4342c8;
    color: #ffffff;
    box-shadow: 3px 0 16px rgba(84, 83, 224, 0.5);
}

.arcade-app-menu-tab:active {
    transform: translateY(-50%) scaleX(0.92);
}

.arcade-app-library {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    padding-top: clamp(8px, 1.8vw, 20px);
    background: #ffffff;
}

.arcade-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--app-cell), var(--app-cell)));
    grid-auto-rows: var(--app-cell);
    grid-auto-flow: row dense;
    justify-content: center;
    gap: var(--app-gap);
    min-height: 100%;
    padding: clamp(5px, 0.75vw, 8px) clamp(10px, 1.9vw, 20px) clamp(22px, 3vw, 30px);
}

.arcade-app-cell {
    min-width: 0;
    min-height: 0;
    position: relative;
}

.arcade-app-cell:hover {
    z-index: 8;
}

.arcade-cell-1 {
    grid-column: span 1;
    grid-row: span 1;
}

.arcade-cell-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.arcade-cell-3 {
    grid-column: span 3;
    grid-row: span 3;
}

.arcade-cell-pinned {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: clamp(5px, 0.75vw, 8px);
    z-index: 4;
}

.arcade-pinned-card,
.arcade-game-tile {
    width: 100%;
    height: 100%;
    border-radius: clamp(8px, 1.05vw, 12px);
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.22s ease,
        filter 0.22s ease;
    transform: scale(1);
}

.arcade-pinned-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.arcade-pinned-card img {
    display: block;
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arcade-pinned-card:hover {
    transform: scale(1.04);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.10);
    will-change: transform;
}

.arcade-pinned-card:hover img {
    transform: scale(1.03);
}

.arcade-pinned-card:active {
    transform: scale(0.97);
}

.arcade-game-tile {
    position: relative;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.55), transparent 27%),
        linear-gradient(135deg, #eef1f7, #dfe4ef);
    isolation: isolate;
}

.arcade-game-tile img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.22s ease;
}

.arcade-game-tile::before,
.arcade-game-tile::after {
    content: '';
    position: absolute;
    pointer-events: none;
    transition:
        background 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease,
        inset 0.25s ease;
}

.arcade-game-tile::before {
    inset: 16%;
    border-radius: 28%;
    background:
        radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.64), transparent 0 24%, rgba(255, 255, 255, 0.18) 25% 42%, transparent 43%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06));
    opacity: 0.62;
    transform: rotate(-8deg);
}

.arcade-game-tile::after {
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 36%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 34%);
}

.arcade-game-tile:hover {
    transform: scale(1.04);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.10);
    filter: saturate(1.06) contrast(1.02);
    will-change: transform;
}

.arcade-game-tile:hover img {
    transform: scale(1.02);
    filter: saturate(1.04) contrast(1.02);
}

.arcade-game-tile:hover::before {
    opacity: 0.8;
    transform: rotate(-8deg) scale(1.08);
}

.arcade-game-tile:hover::after {
    background:
        linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, 0.38) 48%, transparent 74%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 42%);
}

.arcade-game-tile:active {
    transform: scale(0.97);
    filter: saturate(0.96) brightness(0.96);
}

.arcade-game-tile.has-icon::before {
    top: -10%;
    left: -80%;
    right: auto;
    bottom: auto;
    width: 45%;
    height: 120%;
    border-radius: 0;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255, 255, 255, 0.38) 50%,
        transparent 75%
    );
    opacity: 0;
    transform: skewX(-18deg);
    z-index: 3;
    transition: left 0s, opacity 0.15s ease;
}

.arcade-game-tile.has-icon:hover::before {
    left: 130%;
    opacity: 1;
    transform: skewX(-18deg);
    transition: left 0.5s ease-out, opacity 0.1s ease;
}

.arcade-game-tile.has-icon::after {
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.04), transparent 34%);
}

.arcade-game-tile.has-icon:hover::after {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 44%);
}

.arcade-game-badge {
    position: absolute;
    top: clamp(4px, 0.72vw, 8px);
    left: clamp(4px, 0.72vw, 8px);
    z-index: 5;
    width: clamp(5px, 0.76vw, 9px);
    height: clamp(5px, 0.76vw, 9px);
    border-radius: 50%;
    background: #19d37d;
    box-shadow: 0 0 0 clamp(1px, 0.22vw, 2px) rgba(255, 255, 255, 0.6);
}

.arcade-favorite-dot {
    position: absolute;
    right: clamp(4px, 0.72vw, 8px);
    bottom: clamp(4px, 0.72vw, 8px);
    z-index: 5;
    width: clamp(13px, 2.35vw, 28px);
    height: clamp(13px, 2.35vw, 28px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    transition:
        background 0.15s ease,
        transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arcade-favorite-dot::before {
    content: '♥';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d7d;
    font-size: clamp(0.48rem, 1.08vw, 0.9rem);
    line-height: 1;
}

.arcade-game-tile:hover .arcade-favorite-dot {
    background: rgba(0, 0, 0, 0.72);
    transform: scale(1.12);
}

.arcade-game-tile:active .arcade-favorite-dot {
    transform: scale(0.94);
}

.tile-sky {
    background:
        radial-gradient(circle at 44% 58%, rgba(255, 255, 255, 0.76) 0 8%, transparent 9%),
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.46), transparent 0 17%, transparent 18%),
        linear-gradient(155deg, #0ea5e9 0%, #7dd3fc 42%, #fef3c7 72%, #fb7185 100%);
}

.tile-sky::before {
    inset: auto 10% 6% 9%;
    height: 42%;
    border-radius: 58% 42% 12% 12%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.18));
    transform: rotate(-12deg);
}

.tile-castle {
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.42), transparent 0 20%, transparent 21%),
        linear-gradient(145deg, #cbd5e1 0%, #94a3b8 52%, #4b5563 100%);
}

.tile-poster {
    background:
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.34), transparent 0 20%, transparent 21%),
        linear-gradient(135deg, #facc15 0%, #fb7185 48%, #7c3aed 100%);
}

.tone-a { background: linear-gradient(135deg, #86efac, #22c55e); }
.tone-b { background: linear-gradient(135deg, #fef08a, #f97316); }
.tone-c { background: linear-gradient(135deg, #0f172a, #64748b); }
.tone-d { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.tone-e { background: linear-gradient(135deg, #fde68a, #f43f5e); }
.tone-f { background: linear-gradient(135deg, #fbcfe8, #a855f7); }
.tone-g { background: linear-gradient(135deg, #bbf7d0, #14b8a6); }
.tone-h { background: linear-gradient(135deg, #fca5a5, #ef4444); }
.tone-i { background: linear-gradient(135deg, #d9f99d, #65a30d); }
.tone-j { background: linear-gradient(135deg, #bae6fd, #0284c7); }
.tone-k { background: linear-gradient(135deg, #fed7aa, #ea580c); }
.tone-l { background: linear-gradient(135deg, #c4b5fd, #4f46e5); }
.tone-m { background: linear-gradient(135deg, #e5e7eb, #111827); }
.tone-n { background: linear-gradient(135deg, #99f6e4, #0f766e); }
.tone-o { background: linear-gradient(135deg, #f9a8d4, #be123c); }
.tone-p { background: linear-gradient(135deg, #bfdbfe, #1d4ed8); }
.tone-q { background: linear-gradient(135deg, #fecdd3, #fb923c); }
.tone-r { background: linear-gradient(135deg, #d8b4fe, #6d28d9); }
.tone-s { background: linear-gradient(135deg, #a7f3d0, #047857); }
.tone-t { background: linear-gradient(135deg, #fef3c7, #d97706); }
.tone-u { background: linear-gradient(135deg, #ddd6fe, #7c3aed); }
.tone-v { background: linear-gradient(135deg, #e0f2fe, #0369a1); }

.arcade-app-scrollbar {
    position: absolute;
    top: clamp(24px, 4vw, 42px);
    right: 0;
    width: clamp(3px, 0.48vw, 5px);
    height: 80%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.28));
    opacity: 0.45;
}

.arcade-mobile-frame {
    position: absolute;
    right: clamp(-154px, -10vw, -72px);
    bottom: clamp(-76px, -5vw, -30px);
    width: clamp(380px, 44vw, 650px);
    filter:
        drop-shadow(0 34px 42px rgba(30, 32, 58, 0.34))
        drop-shadow(0 8px 18px rgba(84, 83, 225, 0.18));
    transform: rotate(0.5deg);
}

.arcade-mobile-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.arcade-hero-content.is-visible {
    transition-delay: 0.04s;
}

.arcade-hero-visual.is-visible {
    transition-delay: 0.16s;
}

.arcade-section {
    position: relative;
    padding: 112px 0;
    background: transparent;
}

.arcade-section::before {
    display: none;
}

.arcade-section > .container {
    position: relative;
    z-index: 1;
}

.arcade-capabilities,
.arcade-beta {
    background: transparent;
}

.arcade-quadrants {
    background: transparent;
}

.arcade-capability-layout {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(300px, 1fr);
    gap: clamp(72px, 10vw, 150px);
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.arcade-capability-copy {
    display: grid;
}

.arcade-capability-item {
    padding: 26px 0;
    border-bottom: 1px solid #e5e7f0;
}

.arcade-capability-item:first-child {
    padding-top: 0;
}

.arcade-capability-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.arcade-capability-item h2 {
    margin: 0 0 8px;
    color: #191a22;
    font-size: clamp(1.5rem, 2.1vw, 1.9rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-capability-item p {
    margin: 0;
    color: #666b78;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.62;
    font-weight: 500;
}

.arcade-capability-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.arcade-icon-tile {
    position: relative;
    width: clamp(200px, 20vw, 260px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(84, 83, 225, 0.16);
    border-radius: 27%;
    background: #ffffff;
    box-shadow:
        0 28px 58px rgba(43, 48, 86, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
    isolation: isolate;
    animation: arcadeIconBreath 6.8s ease-in-out infinite;
    transition:
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.85s ease;
}

.arcade-icon-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        linear-gradient(rgba(84, 83, 225, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(84, 83, 225, 0.09) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    animation: arcadeGridBreath 6.8s ease-in-out infinite;
    z-index: 2;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.arcade-icon-tile::after {
    content: '';
    position: absolute;
    top: -24%;
    left: -72%;
    width: 42%;
    height: 150%;
    background: linear-gradient(
        105deg,
        transparent 8%,
        rgba(255, 255, 255, 0.08) 28%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(154, 168, 255, 0.2) 58%,
        transparent 82%
    );
    transform: rotate(14deg);
    opacity: 0;
    transition: left 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
    animation: arcadeIconSweep 6.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    z-index: 3;
    pointer-events: none;
}

.arcade-icon-tile img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: drop-shadow(0 18px 24px rgba(84, 83, 225, 0.22));
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
}

.arcade-icon-tile:hover {
    border-color: rgba(84, 83, 225, 0.42);
    box-shadow:
        0 38px 76px rgba(43, 48, 86, 0.19),
        0 0 0 10px rgba(84, 83, 225, 0.05),
        0 0 48px rgba(84, 83, 225, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-10px) rotateX(7deg) rotateY(-9deg);
    animation-name: arcadeIconBreathHover;
    animation-duration: 4.8s;
}

.arcade-icon-tile:hover::before {
    opacity: 0.22;
    transform: scale(1);
    animation-duration: 4.8s;
}

.arcade-icon-tile:hover::after {
    animation-duration: 4.8s;
}

.arcade-icon-tile:hover img {
    filter: drop-shadow(0 22px 30px rgba(84, 83, 225, 0.36));
    transform: translateZ(28px) scale(1.08) rotate(-3deg);
}

.arcade-icon-wordmark {
    display: block;
    width: clamp(210px, 22vw, 310px);
    height: auto;
    margin-top: 34px;
}

.arcade-icon-tagline {
    margin: 12px 0 0;
    color: #5453e1;
    font-size: clamp(1.02rem, 1.5vw, 1.28rem);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0;
}

@keyframes arcadeIconBreath {
    0%, 100% {
        box-shadow:
            0 28px 58px rgba(43, 48, 86, 0.13),
            inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }
    42% {
        box-shadow:
            0 34px 70px rgba(43, 48, 86, 0.16),
            0 0 34px rgba(84, 83, 225, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.96);
    }
}

@keyframes arcadeIconBreathHover {
    0%, 100% {
        box-shadow:
            0 38px 76px rgba(43, 48, 86, 0.19),
            0 0 0 10px rgba(84, 83, 225, 0.05),
            0 0 48px rgba(84, 83, 225, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.96);
    }
    46% {
        box-shadow:
            0 44px 86px rgba(43, 48, 86, 0.22),
            0 0 0 12px rgba(84, 83, 225, 0.07),
            0 0 68px rgba(84, 83, 225, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.98);
    }
}

@keyframes arcadeGridBreath {
    0%, 22%, 100% {
        opacity: 0;
        transform: scale(0.97);
    }
    42%, 56% {
        opacity: 0.12;
        transform: scale(1);
    }
}

@keyframes arcadeIconSweep {
    0%, 22% {
        opacity: 0;
        transform: translateX(0) rotate(14deg);
    }
    34% {
        opacity: 0.46;
    }
    52% {
        opacity: 0.28;
        transform: translateX(430%) rotate(14deg);
    }
    64%, 100% {
        opacity: 0;
        transform: translateX(430%) rotate(14deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.arcade-page main::before,
    body.arcade-page main::after,
    .arcade-bg-marquee-left,
    .arcade-bg-marquee-right,
    .arcade-bg-marquee-mid,
    .arcade-app-device-popover,
    .arcade-app-device-image,
    .arcade-app-portal span,
    .arcade-icon-tile,
    .arcade-icon-tile::before,
    .arcade-icon-tile::after {
        animation: none;
    }
}

.arcade-quadrant-header {
    max-width: 780px;
    margin: 0 auto 54px;
}

.arcade-quadrant-header h2 {
    margin: 0 0 14px;
    color: #17181f;
    font-size: 3.45rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.arcade-quadrant-header p {
    margin: 0;
    color: #666b78;
    font-size: clamp(1.08rem, 1.65vw, 1.35rem);
    line-height: 1.58;
    font-weight: 500;
}

.arcade-quadrant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.arcade-quadrant-card {
    position: relative;
    min-height: 430px;
    padding: 30px 32px;
    border: 1px solid rgba(84, 83, 225, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 255, 0.96));
    box-shadow: 0 18px 42px rgba(34, 38, 70, 0.08);
    overflow: hidden;
}

.arcade-quadrant-card h3 {
    position: relative;
    z-index: 3;
    margin: 0 0 10px;
    color: #20222b;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-quadrant-card p {
    position: relative;
    z-index: 3;
    max-width: 420px;
    margin: 0;
    color: #666b78;
    font-size: 1.03rem;
    line-height: 1.58;
    font-weight: 500;
}

.arcade-quadrant-card::before {
    content: '';
    position: absolute;
    left: 40px;
    right: 0;
    top: 164px;
    bottom: 0;
    border-radius: 14px 0 0 0;
    background:
        linear-gradient(135deg, rgba(84, 83, 225, 0.08), rgba(0, 160, 181, 0.05)),
        #f0f1f8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arcade-quadrant-media {
    position: absolute;
    z-index: 1;
    left: 40px;
    right: -1px;
    top: 164px;
    bottom: -1px;
    border-radius: 14px 0 0 0;
    overflow: hidden;
    background: #eef0fb;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 -10px 26px rgba(84, 83, 225, 0.08);
}

.arcade-quadrant-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arcade-quadrant-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 34%);
    pointer-events: none;
}

.arcade-quadrant-card:hover .arcade-quadrant-media img {
    transform: scale(1.055);
}

.arcade-quadrant-card:nth-child(1) .arcade-quadrant-media img {
    object-position: center;
}

.arcade-quadrant-card:nth-child(2) .arcade-quadrant-media img {
    object-position: 48% center;
}

.arcade-quadrant-card:nth-child(3) .arcade-quadrant-media img {
    object-position: center;
}

.arcade-quadrant-card:nth-child(4) .arcade-quadrant-media img {
    object-position: center;
}

.arcade-quadrant-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 32%),
        radial-gradient(circle at 18% 8%, rgba(84, 83, 225, 0.09), transparent 36%);
    opacity: 0.7;
    pointer-events: none;
}

.arcade-actionsets {
    background: transparent;
}

.arcade-actionsets-header {
    max-width: 1040px;
    margin: 0 auto 58px;
}

.arcade-actionsets-header h2 {
    max-width: 640px;
    margin: 0 0 18px;
    color: #17181f;
    font-size: 3.45rem;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-actionsets-header p {
    max-width: 640px;
    margin: 0;
    color: #666b78;
    font-size: clamp(1.08rem, 1.7vw, 1.36rem);
    line-height: 1.58;
    font-weight: 500;
}

.arcade-actionset-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 7vw, 92px);
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 66px;
}

.arcade-actionset-option {
    max-width: 330px;
}

.arcade-actionset-option img {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    filter: invert(36%) sepia(85%) saturate(1096%) hue-rotate(220deg) brightness(94%) contrast(95%);
}

.arcade-actionset-option h3 {
    margin: 0 0 10px;
    color: #20222b;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-actionset-option p {
    margin: 0;
    color: #666b78;
    font-size: 1.02rem;
    line-height: 1.62;
    font-weight: 500;
}

.arcade-actionset-preview {
    position: relative;
    max-width: 1040px;
    height: 520px;
    margin: 0 auto;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: transparent;
    overflow: hidden;
    filter:
        drop-shadow(0 28px 54px rgba(34, 38, 70, 0.16))
        drop-shadow(0 8px 20px rgba(84, 83, 225, 0.08));
}

.arcade-actionset-preview::before {
    display: none;
}

.arcade-actionset-preview img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 43%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0) 76%);
    mask-image: linear-gradient(180deg, #000 0%, #000 43%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0) 76%);
}

.arcade-actionset-preview::after {
    display: none;
}

.arcade-developers {
    background: transparent;
}

.arcade-developer-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(48px, 6vw, 76px);
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.arcade-developer-copy h2 {
    max-width: 660px;
    margin: 0 0 18px;
    color: #17181f;
    font-size: 3.45rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-developer-copy h2 span {
    display: inline-block;
    font-size: 0.72em;
    white-space: nowrap;
}

.arcade-developer-lead {
    max-width: 560px;
    margin: 0 0 24px;
    color: #666b78;
    font-size: clamp(1.08rem, 1.7vw, 1.36rem);
    line-height: 1.58;
    font-weight: 500;
}

.arcade-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 28px;
    padding: 0 22px;
    border: 1px solid rgba(84, 83, 225, 0.18);
    border-radius: 10px;
    background: #5453e1;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(84, 83, 225, 0.22);
    user-select: none;
}

.arcade-developer-points {
    display: grid;
    gap: 18px;
}

.arcade-developer-points article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 14px;
}

.arcade-developer-points article:nth-child(2) {
    border: 1px solid rgba(84, 83, 225, 0.12);
    background: rgba(84, 83, 225, 0.06);
}

.arcade-developer-points i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: #5453e1;
    font-size: 1.05rem;
}

.arcade-developer-points p {
    margin: 0;
    color: #666b78;
    font-size: 1.03rem;
    line-height: 1.58;
    font-weight: 500;
}

.arcade-developer-points strong {
    color: #20222b;
    font-weight: 800;
}

.arcade-developer-preview {
    position: relative;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.arcade-developer-preview::before,
.arcade-developer-preview::after {
    display: none;
}

.arcade-cli-window {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 314px;
    border: 1px solid rgba(84, 83, 225, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 22px 46px rgba(34, 38, 70, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.arcade-cli-titlebar {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(84, 83, 225, 0.1);
    background:
        linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(244, 246, 255, 0.98));
}

.arcade-window-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arcade-window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.arcade-window-controls .is-close {
    background: #ff5f57;
}

.arcade-window-controls .is-minimize {
    background: #ffbd2e;
}

.arcade-window-controls .is-zoom {
    background: #28c840;
}

.arcade-cli-output {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 26px 28px 24px 62px;
    color: #20222b;
    font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
    font-size: 0.88rem;
    line-height: 1.78;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    scrollbar-color: rgba(84, 83, 225, 0.26) transparent;
    scrollbar-width: thin;
}

.arcade-cli-output::-webkit-scrollbar {
    width: 7px;
}

.arcade-cli-output::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(84, 83, 225, 0.24);
}

.arcade-cli-output::before {
    content: "01\A 02\A 03\A 04\A 05\A 06";
    position: absolute;
    top: 26px;
    left: 24px;
    color: #b6bdcb;
    font: inherit;
    line-height: inherit;
    white-space: pre;
    user-select: none;
}

.arcade-cli-typewriter {
    position: relative;
    z-index: 1;
    display: block;
}

.arcade-cli-line {
    display: block;
    min-height: 1.78em;
}

.arcade-cli-line.is-comment {
    color: #8f97a8;
}

.arcade-cli-line.is-command {
    color: #20222b;
}

.arcade-cli-line.is-success {
    color: #1a8f5b;
}

.arcade-cli-line.is-live {
    color: #007aff;
}

.arcade-cli-caret {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 8px;
    height: 1.12em;
    margin-left: 0;
    border-radius: 2px;
    background: #5453e1;
    vertical-align: -0.18em;
    animation: arcade-cli-caret 1s steps(2, end) infinite;
}

@keyframes arcade-cli-caret {
    0%,
    46% {
        opacity: 1;
    }

    47%,
    100% {
        opacity: 0;
    }
}

.arcade-beta-cta {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.arcade-beta-cta h2 {
    margin: 0 0 20px;
    color: #17181f;
    font-size: clamp(3rem, 6vw, 5.35rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.arcade-beta-cta p {
    margin: 28px 0 0;
    color: #666b78;
    font-size: clamp(1.08rem, 1.7vw, 1.36rem);
    line-height: 1.58;
    font-weight: 500;
}

.arcade-qr-frame {
    width: min(52vw, 220px);
    margin: 42px auto 0;
    padding: 14px;
    border: 1px solid rgba(84, 83, 225, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 22px 52px rgba(34, 38, 70, 0.12),
        0 0 0 10px rgba(84, 83, 225, 0.04);
}

.arcade-qr-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    .products-section .arcade-product {
        min-height: auto;
    }

    .products-section .arcade-product-visual {
        min-height: 420px;
    }

    .arcade-capability-layout,
    .arcade-quadrant-grid {
        grid-template-columns: 1fr;
    }

    .arcade-hero {
        padding: 112px 0 78px;
    }

    .arcade-hero-marquee-bg {
        top: clamp(244px, 34vw, 340px);
        width: 164vw;
        opacity: 0.58;
    }

    .arcade-hero-content {
        margin-left: 0;
    }

    .arcade-hero-content h1 {
        font-size: clamp(2.65rem, 6.3vw, 4.4rem);
    }

    .arcade-hero-visual {
        min-height: clamp(390px, 56vw, 580px);
    }

    .arcade-platform-frame {
        right: clamp(72px, 13vw, 130px);
    }

    .arcade-mobile-frame {
        right: clamp(-112px, -10vw, -58px);
        bottom: clamp(-54px, -5vw, -24px);
        width: clamp(340px, 48vw, 540px);
    }

    .arcade-capability-layout {
        gap: 46px;
        max-width: 680px;
    }

    .arcade-capability-icon {
        justify-content: center;
        padding-left: 0;
    }

    .arcade-quadrant-header {
        max-width: 680px;
    }

    .arcade-quadrant-header h2 {
        font-size: 2.85rem;
    }

    .arcade-quadrant-grid {
        max-width: 680px;
    }

    .arcade-quadrant-card {
        min-height: 380px;
    }

    .arcade-actionset-options {
        gap: 30px;
        max-width: 680px;
    }

    .arcade-actionsets-header {
        max-width: 680px;
    }

    .arcade-actionset-preview {
        max-width: 680px;
        height: 390px;
    }

    .arcade-developer-layout {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .arcade-developer-preview {
        min-height: 0;
    }

    .arcade-cli-window {
        min-height: 304px;
    }

    .arcade-beta-cta {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .arcade-points {
        flex-direction: column;
        align-items: stretch;
    }

    .arcade-points span {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .products-section .arcade-product-visual {
        min-height: 360px;
        padding: 20px;
    }

    .arcade-control-stage {
        min-height: 300px;
        gap: 10px;
    }

    .arcade-signal-card,
    .arcade-output-card {
        min-height: 94px;
    }

    .arcade-core-mark {
        min-height: 76px;
    }

    .arcade-hero {
        min-height: auto;
        padding: 102px 0 64px;
    }

    .arcade-hero-marquee-bg {
        top: clamp(230px, 58vw, 310px);
        width: 222vw;
        gap: 12px;
        opacity: 0.46;
        transform: translateX(-50%) rotate(-7deg);
    }

    .arcade-bg-game {
        width: 138px;
        height: 64px;
        border-radius: 8px;
    }

    .arcade-bg-marquee-left {
        animation-duration: 30s;
    }

    .arcade-bg-marquee-right {
        animation-duration: 34s;
    }

    .arcade-bg-marquee-mid {
        animation-duration: 42s;
    }

    .arcade-app-device-hud {
        padding: 6px;
    }

    .arcade-app-device-popover {
        left: 5px;
        right: 5px;
        padding: 7px 6px;
        border-radius: 10px;
    }

    .arcade-app-device-body {
        gap: 5px;
    }

    .arcade-app-device-hint {
        margin-top: 5px;
        padding: 4px 5px;
    }

    .arcade-app-portal {
        min-height: 28px;
        padding: 0 5px;
    }

    .arcade-hero-layout {
        gap: 32px;
    }

    .arcade-hero-content {
        max-width: none;
    }

    .arcade-hero-content h1 {
        font-size: clamp(2.05rem, 8.7vw, 2.75rem);
    }

    .arcade-hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.62;
    }

    .arcade-hero-actions {
        gap: 14px;
        margin-top: 24px;
    }

    .arcade-beta-button {
        min-height: 46px;
        padding: 0 22px;
    }

    .arcade-beta-contact {
        font-size: 0.98rem;
    }

    .arcade-hero-visual {
        width: calc(100% + 40px);
        min-height: 430px;
        margin-left: -20px;
    }

    .arcade-platform-frame {
        left: 20px;
        right: 20px;
        border-radius: 14px;
        transform: none;
    }

    .arcade-mobile-frame {
        right: -62px;
        bottom: -30px;
        width: min(104vw, 410px);
    }

    .arcade-hero::before {
        background-size: 56px 56px;
    }

    .arcade-section {
        padding: 82px 0;
    }

    .arcade-capability-layout {
        gap: 38px;
    }

    .arcade-capability-item {
        padding: 22px 0;
    }

    .arcade-icon-tile {
        width: min(56vw, 220px);
        border-radius: 27%;
    }

    .arcade-icon-wordmark {
        width: min(70vw, 270px);
        margin-top: 28px;
    }

    .arcade-quadrant-header {
        margin-bottom: 34px;
    }

    .arcade-quadrant-header h2 {
        font-size: 2.05rem;
    }

    .arcade-quadrant-header p {
        font-size: 1.04rem;
        line-height: 1.62;
    }

    .arcade-quadrant-grid {
        gap: 16px;
    }

    .arcade-quadrant-card {
        min-height: 350px;
        padding: 24px;
        border-radius: 14px;
    }

    .arcade-quadrant-card h3 {
        font-size: 1.28rem;
    }

    .arcade-quadrant-card p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .arcade-quadrant-card::before {
        left: 28px;
        right: 0;
        top: 154px;
        border-radius: 12px 0 0 0;
    }

    .arcade-quadrant-media {
        left: 28px;
        top: 154px;
        border-radius: 12px 0 0 0;
    }

    .arcade-actionsets-header {
        margin-bottom: 36px;
    }

    .arcade-actionsets-header h2 {
        font-size: 2.05rem;
    }

    .arcade-actionsets-header p {
        font-size: 1.04rem;
        line-height: 1.62;
    }

    .arcade-actionset-options {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 42px;
    }

    .arcade-actionset-option {
        max-width: none;
    }

    .arcade-actionset-preview {
        height: 300px;
        border-radius: 14px 14px 0 0;
    }

    .arcade-developer-layout {
        gap: 38px;
    }

    .arcade-developer-copy h2 {
        font-size: 2.05rem;
    }

    .arcade-developer-lead {
        margin-bottom: 18px;
        font-size: 1.04rem;
        line-height: 1.62;
    }

    .arcade-coming-soon {
        min-height: 44px;
        margin-top: 22px;
        padding: 0 20px;
    }

    .arcade-developer-points article {
        padding: 16px;
    }

    .arcade-developer-preview {
        min-height: 0;
        padding: 0;
        border-radius: 0;
    }

    .arcade-cli-window {
        min-height: 300px;
        border-radius: 12px;
    }

    .arcade-cli-titlebar {
        min-height: 40px;
        padding: 0 12px;
    }

    .arcade-cli-output {
        padding: 20px 16px 18px 46px;
        font-size: 0.78rem;
        line-height: 1.68;
    }

    .arcade-cli-output::before {
        top: 20px;
        left: 16px;
    }

    .arcade-cli-line {
        min-height: 1.68em;
    }

    .arcade-beta-cta h2 {
        font-size: clamp(2.4rem, 12vw, 3.45rem);
    }

    .arcade-beta-cta p {
        margin-top: 24px;
        font-size: 1.04rem;
    }

    .arcade-qr-frame {
        width: min(66vw, 190px);
        margin-top: 34px;
        padding: 10px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .arcade-quadrant-header h2,
    .arcade-actionsets-header h2,
    .arcade-developer-copy h2 {
        font-size: 1.65rem;
    }

    .arcade-developer-copy h2 span {
        font-size: 0.72em;
    }

    .arcade-cli-output {
        padding: 18px 14px 16px 42px;
        font-size: 0.72rem;
        line-height: 1.62;
    }

    .arcade-cli-output::before {
        top: 18px;
        left: 14px;
    }

    .arcade-cli-line {
        min-height: 1.62em;
    }
}
