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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #141420;
    --bg-tertiary: #1a1a2e;
    --accent-primary: #00d4ff;
    --accent-secondary: #7b2cbf;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --text-muted: #6b6b8a;
    --glow-color: rgba(0, 212, 255, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 500;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.hero-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    animation: iconReveal 1s ease 0.5s forwards;
}

.hero-icon {
    width: 600px;
    height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--glow-color)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.2));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconReveal {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px var(--glow-color)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px var(--glow-color)) drop-shadow(0 0 80px rgba(0, 212, 255, 0.3));
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 160px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    box-shadow: 0 8px 32px 0 rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.btn-secondary:hover {
    background: rgba(26, 26, 46, 0.5);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 220px;
    width: 220px;
}

.hero-phone {
    opacity: 0;
    transform: translateX(50px) rotateY(-15deg);
    transition: all 1s ease;
}

.hero-phone.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 693px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(60, 60, 60, 0.3) 25%,
        rgba(0, 0, 0, 0.95) 50%,
        rgba(50, 50, 50, 0.25) 75%,
        rgba(0, 0, 0, 1) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 63px;
    height: 19px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Features Section */
.features {
    padding: 1.5rem 2rem 2rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-card {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(26, 26, 46, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85rem;
}

/* AI Features Section */
.ai-features {
    padding: 0.5rem 2rem 1.5rem 2rem;
    background: var(--bg-secondary);
}

/* Professional Tools Section */
.professional-tools {
    padding: 1.5rem 2rem;
    background: var(--bg-primary);
}

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

.tool-card {
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(26, 26, 46, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.2);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Platform Integration Section */
.platform-integration {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
}

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

.platform-card {
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    text-align: center;
}

.platform-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(26, 26, 46, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.2);
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--glow-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Image Showcase Section */
.image-showcase {
    background: var(--bg-primary);
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
}

.image-showcase .screenshot-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.image-showcase .screenshot-wrapper {
    margin: 0 auto;
}

/* Game Controller Section */
.game-controller-section {
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.controller-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.controller-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

/* Game Controller Styles */
.controller {
    width: 550px;
    height: 280px;
    background: linear-gradient(145deg, #6b8e5a 0%, #5a7d4a 50%, #4a6d3a 100%);
    border-radius: 40px;
    position: relative;
    box-shadow: 
        0 0 40px rgba(107, 142, 90, 0.6),
        0 0 80px rgba(107, 142, 90, 0.4),
        0 0 120px rgba(107, 142, 90, 0.2),
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 -8px 20px rgba(0, 0, 0, 0.15),
        inset 0 8px 15px rgba(255, 255, 255, 0.3),
        inset -2px -2px 10px rgba(0, 0, 0, 0.1),
        inset 2px 2px 10px rgba(255, 255, 255, 0.25);
    transform: none;
    margin: 0 auto;
}

.controller::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 75%,
        transparent 100%
    );
    border-radius: 40px;
    pointer-events: none;
    z-index: 0;
}

.shoulder {
    position: absolute;
    width: 75px;
    height: 25px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 15px 15px 0 0;
    top: -30px;
    box-shadow: 
        0 -2px 8px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #ccc;
    z-index: 2;
}

.shoulder:active {
    transform: translateY(2px);
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.shoulder-l {
    left: 85px;
    top: -20px;
}

.shoulder-r {
    right: 85px;
    top: -20px;
}

.trigger {
    position: absolute;
    width: 75px;
    height: 25px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    top: 0;
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 
        0 -2px 8px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #ccc;
    z-index: 2;
}

.trigger:active {
    transform: translateY(2px);
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.trigger-l {
    left: 20px;
    top: -20px;
    border-radius: 15px 15px 0 0;
}

.trigger-r {
    right: 20px;
    top: -20px;
    border-radius: 15px 15px 0 0;
}

.dpad {
    position: absolute;
    left: 50px;
    top: 70px;
    width: 141px;
    height: 141px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpad::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        inset 0 -2px 4px rgba(255, 255, 255, 0.05);
}

.dpad-cross {
    position: relative;
    width: 113px;
    height: 113px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpad-segment {
    position: absolute;
    background: linear-gradient(145deg, #1f1f1f 0%, #151515 100%);
    cursor: pointer;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

.dpad-segment:active {
    background: linear-gradient(145deg, #151515 0%, #0a0a0a 100%);
    transform: translateY(1px);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.dpad-arrow {
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.dpad-up {
    width: 34px;
    height: 40px;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px 6px 2px 2px;
}

.dpad-up .dpad-arrow {
    transform: rotate(-90deg);
}

.dpad-down {
    width: 34px;
    height: 40px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px 2px 6px 6px;
}

.dpad-down .dpad-arrow {
    transform: rotate(90deg);
}

.dpad-left {
    width: 34px;
    height: 40px;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 6px 2px 2px 6px;
}

.dpad-left .dpad-arrow {
    transform: rotate(180deg);
}

.dpad-right {
    width: 34px;
    height: 40px;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px 6px 6px 2px;
}

.dpad-center {
    position: absolute;
    width: 26px;
    height: 26px;
    background: linear-gradient(145deg, #151515 0%, #0a0a0a 100%);
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.6),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}


.led {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.small-buttons {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.small-btn {
    width: 28px;
    height: 28px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
    font-weight: bold;
}

.small-btn:active {
    transform: scale(0.9);
}

.action-buttons {
    position: absolute;
    right: 50px;
    top: 75px;
    width: 140px;
    height: 140px;
    z-index: 2;
}

.action-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.1s;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.action-btn:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
}

.btn-x {
    top: 0;
    left: 45px;
    color: #ff6b6b;
}

.btn-a {
    right: 0;
    top: 45px;
    color: #51cf66;
}

.btn-y {
    left: 0;
    top: 45px;
    color: #ffd43b;
}

.btn-b {
    bottom: 0;
    left: 45px;
    color: #4dabf7;
}

.menu-buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.menu-btn {
    width: 35px;
    height: 35px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
}

.menu-btn:active {
    transform: scale(0.9);
}

.home-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.controller-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 1000;
}

.controller-container:hover .label {
    opacity: 1;
    transform: scale(1);
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    position: relative;
    z-index: 1000;
}

.label-text {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Label Positions - Based on new controller layout (550px × 280px) */
/* Left Shoulder: left=80px, top=-30px, center at x=130px */
/* L1: left=85px, center at x=122.5px (22.3%), top=-7.5px */
.label-shoulder-l {
    top: -7%;
    left: 32%;
    transform: translate(-50%, -100%);
    flex-direction: column-reverse;
    align-items: center;
}

.label-shoulder-l .label-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
}

/* R1: right=85px, center at x=427.5px (77.7%), top=-7.5px */
.label-shoulder-r {
    top: -7%;
    right: 32%;
    transform: translate(50%, -100%);
    flex-direction: column-reverse;
    align-items: center;
}

.label-shoulder-r .label-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
}

/* L2: left=20px, center at x=57.5px (10.5%), top=-7.5px */
.label-trigger-l {
    top: 7%;
    left: 8%;
    transform: translate(-50%, -100%);
    flex-direction: row-reverse;
    align-items: center;
}

.label-trigger-l .label-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* R2: right=20px, center at x=492.5px (89.5%), top=-7.5px */
.label-trigger-r {
    top: 7%;
    right: 12%;
    transform: translate(50%, -100%);
    flex-direction: row;
    align-items: center;
}

.label-trigger-r .label-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(270deg, var(--accent-primary), transparent);
}

/* D-Pad Up: dpad at 50,70 size 141x141, cross 113x113 centered, up segment center at y=100px */
.label-dpad-up {
    top: 32%;
    left: 20%;
    transform: translate(0%, -50%);
    flex-direction: row-reverse;
}

.label-dpad-up .label-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* D-Pad Down: down segment center at y=173px */
.label-dpad-down {
    top: 58%;
    left: 20%;
    transform: translate(0%, -50%);
    flex-direction: row-reverse;
}

.label-dpad-down .label-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* D-Pad Left: left segment left at -4px from center, so center at x=86.5px */
.label-dpad-left {
    top: 50.2%;
    left: 12%;
    transform: translate(-100%, -50%);
    flex-direction: row;
}

.label-dpad-left .label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* D-Pad Right: right segment right at -4px from center, so center at x=154.5px */
.label-dpad-right {
    top: 50.2%;
    left: 31.8%;
    transform: translate(0%, -50%);
    flex-direction: row;
}

.label-dpad-right .label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(270deg, var(--accent-primary), transparent);
}

/* Button X: container at right:50px top:75px (left:360px), X at top:0 left:45px, center at x=430px y=100px, button left edge at x=405px */
.label-button-x {
    top: 33%;
    left: 64%;
    transform: translate(-100%, -50%);
    flex-direction: row;
}

.label-button-x .label-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(270deg, var(--accent-primary), transparent);
}

/* Button A: right:0 top:45px, center at x=475px y=145px */
.label-button-a {
    top: 51.8%;
    right: 13.6%;
    transform: translate(50%, -50%);
    flex-direction: row-reverse;
}

.label-button-a .label-line {
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* Button Y: left:0 top:45px, center at x=385px y=145px */
.label-button-y {
    top: 51.8%;
    right: 30%;
    transform: translate(50%, -50%);
    flex-direction: row-reverse;
}

.label-button-y .label-line {
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* Button B: bottom:0 left:45px, center at x=430px y=190px (67.9% from top), button left edge at x=405px */
.label-button-b {
    top: 60%;
    left: 64%;
    transform: translate(-100%, -50%);
    flex-direction: row;
}

.label-button-b .label-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(270deg, var(--accent-primary), transparent);
}

/* Menu Start Button: center at x=247.5px (45%), y=265px (94.6%) */
.label-menu-start {
    top: 94.6%;
    left: 45%;
    transform: translate(-50%, 0%);
    flex-direction: column-reverse;
    align-items: center;
}

.label-menu-start .label-line {
    width: 2px;
    height: 25px;
    background: linear-gradient(0deg, var(--accent-primary), transparent);
}

/* Menu Home Button: center at x=275px (50%), y=265px (94.6%) */
.label-menu-home {
    top: 94.6%;
    left: 50%;
    transform: translate(-50%, 0%);
    flex-direction: column-reverse;
    align-items: center;
}

.label-menu-home .label-line {
    width: 2px;
    height: 25px;
    background: linear-gradient(0deg, var(--accent-primary), transparent);
}

.controller-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.controller-feature-card {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.controller-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.controller-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(26, 26, 46, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.2);
}

.controller-feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

.controller-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.controller-feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Portrait Showcase Section */
.portrait-showcase {
    padding: 1.5rem 2rem;
    background: var(--bg-primary);
}

.portrait-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 8rem auto 0 auto;
    align-items: center;
}

.portrait-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.portrait-item .phone-frame {
    width: 280px;
    height: 606px;
    margin: 0 auto;
}

.portrait-caption {
    text-align: center;
    max-width: 320px;
    margin-top: 0.5rem;
}

.portrait-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.portrait-caption p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Gallery Section */
.gallery {
    padding: 1.5rem 0;
    background: var(--bg-primary);
}

.gallery-header {
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.gallery-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-row.landscape-row {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 1.5rem;
}

.gallery-row.portrait-row {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-section {
    position: relative;
    width: 100%;
    margin: 0;
}

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

.screenshot-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transition: all 0.6s ease;
    opacity: 0;
    transform: scale(0.9);
    width: 100%;
    max-width: 100%;
}

.screenshot-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(60, 60, 60, 0.3) 25%,
        rgba(0, 0, 0, 0.95) 50%,
        rgba(50, 50, 50, 0.25) 75%,
        rgba(0, 0, 0, 1) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.screenshot-wrapper.visible {
    opacity: 1;
    transform: scale(1);
}

.screenshot-wrapper.landscape {
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    padding: 4px;
    margin: 0 auto;
    display: block;
    height: auto;
    min-height: auto;
}

.screenshot-wrapper.landscape::after {
    border-radius: 30px;
    padding: 3px;
}

.screenshot-wrapper.portrait {
    max-width: 280px;
    width: 100%;
    aspect-ratio: 9/19.5;
    margin: 0 auto;
    border-radius: 50px;
    padding: 4px;
}

.screenshot-wrapper.portrait::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 63px;
    height: 19px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
    pointer-events: none;
}

.screenshot-wrapper.portrait::after {
    border-radius: 50px;
    padding: 3px;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    border-radius: 46px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 0;
}

.screenshot-wrapper.landscape .screenshot-image {
    border-radius: 26px;
    object-fit: contain;
    width: 100%;
    height: auto !important;
    max-height: none;
    min-height: auto;
}

.screenshot-wrapper:hover .screenshot-image {
    transform: scale(1.02);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.screenshot-wrapper:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.screenshot-overlay p {
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stats-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 1.5rem 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coming-soon {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -8px 32px 0 rgba(0, 0, 0, 0.37);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-data-link {
    margin-bottom: 0.5rem;
}

.footer-data-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-data-link a:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--glow-color));
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 2rem 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.legal-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-section {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-section ul,
.legal-section ol {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.legal-list {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.legal-section li {
    margin-bottom: 0.4rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
}

.legal-section a,
.legal-list a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover,
.legal-list a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
}

.contact-box {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 1.5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.contact-box p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-box a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: var(--accent-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .gallery-container {
        padding: 0 1rem;
    }
    
    .gallery-row.landscape-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .screenshot-wrapper.landscape {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
    
    .gallery-row.portrait-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .screenshot-wrapper.landscape {
        max-width: 100%;
    }
    
    .screenshot-wrapper.portrait {
        max-width: 240px;
        aspect-ratio: 9/19.5;
    }
    
    .portrait-pair {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portrait-item .phone-frame {
        width: 240px;
        height: 520px;
    }
}

/* Mobile styles - applies to screens 768px and below */
@media (max-width: 768px) {
    .hero {
        padding-top: 8rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        order: 2;
    }
    
    .logo {
        order: 1;
        font-size: 1.2rem;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .legal-page {
        padding-top: 8rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary {
        min-width: 140px;
        width: auto;
        flex: 1 1 auto;
    }
    
    .hero-icon {
        width: 400px;
        height: 400px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .phone-frame {
        width: 280px;
        height: 606px;
        border-radius: 45px;
        padding: 3px;
        border-width: 2px;
    }
    
    .phone-frame::before {
        top: 12px;
        width: 55px;
        height: 16px;
        border-radius: 8px;
    }
    
    .phone-screen {
        border-radius: 42px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .screenshot-wrapper {
        background: transparent;
    }
    
    .screenshot-wrapper.landscape {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-radius: 16px;
        background: transparent;
        margin-bottom: 0;
    }
    
    .screenshot-wrapper.landscape::after {
        display: none;
    }
    
    .screenshot-wrapper::after {
        display: none;
    }
    
    .screenshot-image {
        background: transparent;
    }
    
    .screenshot-wrapper.portrait {
        max-width: 200px;
        aspect-ratio: 9/19.5;
        border-radius: 16px;
    }
    
    .screenshot-section {
        margin-bottom: 4rem;
    }
    
    .gallery {
        padding: 4rem 0;
    }
    
    .gallery-header {
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 0.875rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-card,
    .platform-card {
        padding: 1rem;
    }
    
    .tool-icon,
    .platform-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .tool-card h3,
    .platform-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-card p,
    .platform-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .ai-features,
    .professional-tools,
    .platform-integration {
        padding: 1.5rem 1rem;
    }
    
    .features {
        padding: 1.5rem 1rem 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .screenshot-section {
        margin-bottom: 0;
    }
    
    .image-showcase {
        padding: 0;
        background: transparent;
    }
    
    .image-showcase .screenshot-container {
        padding: 0;
    }
    
    .screenshot-wrapper {
        margin-bottom: 0;
    }
    
    .portrait-pair {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .portrait-item .phone-frame {
        width: 200px;
        height: 433px;
    }
    
    .portrait-caption {
        max-width: 100%;
    }
    
    .portrait-showcase {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .game-controller-section {
        padding: 1.5rem 1rem;
    }
    
    .controller-container {
        margin: 1.5rem 0;
        padding: 1.5rem 1rem;
    }
    
    .controller-features {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .controller-feature-card {
        padding: 0.875rem;
    }
    
    .controller-feature-card .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .controller-feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .controller-feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cta {
        padding: 1.5rem 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        min-width: 200px;
        width: 200px;
    }
    
    .legal-page {
        padding: 8rem 1rem 2rem;
    }
    
    .legal-content {
        margin-top: 0.5rem;
    }
    
    .legal-section {
        padding: 1.25rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Controller Responsive Styles */
    .controller {
        width: 90%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 550 / 280;
        transform: scale(0.85);
        border-radius: 30px;
    }
    
    .shoulder {
        width: 60px;
        height: 20px;
        font-size: 9px;
    }
    
    .shoulder-l {
        left: 60px;
    }
    
    .shoulder-r {
        right: 60px;
    }
    
    .trigger {
        width: 60px;
        height: 20px;
        font-size: 9px;
    }
    
    .trigger-l {
        left: 15px;
        top: -20px;
    }
    
    .trigger-r {
        right: 15px;
        top: -20px;
    }
    
    .shoulder-l {
        top: -20px;
    }
    
    .shoulder-r {
        top: -20px;
    }
    
    .dpad {
        left: 30px;
        top: 40px;
        width: 83px;
        height: 83px;
    }
    
    .dpad-cross {
        width: 70px;
        height: 70px;
    }
    
    .dpad-up, .dpad-down, .dpad-left, .dpad-right {
        width: 21px;
        height: 25px;
    }
    
    .dpad-arrow {
        font-size: 11px;
    }
    
    .dpad-center {
        width: 15px;
        height: 15px;
    }
    
    .action-buttons {
        right: 20px;
        top: 38px;
        width: 90px;
        height: 90px;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .btn-x {
        left: 29px;
    }
    
    .btn-a {
        top: 29px;
    }
    
    .btn-y {
        top: 29px;
    }
    
    .btn-b {
        left: 29px;
    }
    
    .small-buttons {
        top: 40px;
        gap: 12px;
    }
    
    .small-btn {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .menu-buttons {
        bottom: 10px;
        gap: 8px;
    }
    
    .controller-labels .label-text {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .label-line {
        width: 35px;
    }
    
    .label-shoulder-l .label-line,
    .label-shoulder-r .label-line,
    .label-trigger-l .label-line,
    .label-trigger-r .label-line,
    .label-menu-start .label-line,
    .label-menu-home .label-line {
        height: 25px;
    }
    
    .menu-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .home-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .led {
        top: 55px;
        width: 6px;
        height: 6px;
    }
    
    /* Match desktop label positions on mobile */
    .label-shoulder-l {
        top: 3% !important;
        left: 25% !important;
    }
    
    .label-shoulder-l .label-line {
        height: 80px !important;
    }
    
    .label-shoulder-r {
        top: 3% !important;
        right: 25% !important;
    }
    
    .label-shoulder-r .label-line {
        height: 80px !important;
    }
    
    .label-trigger-l {
        top: 15% !important;
        left: 8% !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .label-trigger-l .label-line {
        width: 2px !important;
        height: 30px !important;
        background: linear-gradient(180deg, var(--accent-primary), transparent) !important;
    }
    
    .label-trigger-r {
        top: 15% !important;
        right: 12% !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .label-trigger-r .label-line {
        width: 2px !important;
        height: 30px !important;
        background: linear-gradient(180deg, var(--accent-primary), transparent) !important;
    }
    
    .label-dpad-up {
        top: 44% !important;
        left: -5% !important;
        transform: translate(0%, -50%) !important;
    }
    
    .label-dpad-up .label-line {
        width: 40px !important;
    }
    
    .label-dpad-down {
        top: 55% !important;
        left: -5% !important;
        transform: translate(0%, -50%) !important;
    }
    
    .label-dpad-down .label-line {
        width: 40px !important;
    }
    
    .label-button-x {
        top: 40% !important;
        left: 70% !important;
    }
    
    .label-button-x .label-line {
        width: 40px !important;
    }
    
    .label-button-b {
        top: 53% !important;
        left: 70% !important;
    }
    
    .label-button-b .label-line {
        width: 40px !important;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .nav-links a {
        padding: 0.25rem 0.5rem;
    }
    
    .controller {
        width: 95%;
        max-width: 350px;
        transform: scale(0.75);
        border-radius: 25px;
    }
    
    .controller-container {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .dpad {
        left: 20px;
        top: 35px;
        width: 73px;
        height: 73px;
    }
    
    .dpad-cross {
        width: 59px;
        height: 59px;
    }
    
    .dpad-up, .dpad-down, .dpad-left, .dpad-right {
        width: 17px;
        height: 21px;
    }
    
    .dpad-arrow {
        font-size: 9px;
    }
    
    .dpad-center {
        width: 12px;
        height: 12px;
    }
    
    .action-buttons {
        right: 15px;
        top: 33px;
        width: 75px;
        height: 75px;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .btn-x {
        left: 23.5px;
    }
    
    .btn-a {
        top: 23.5px;
    }
    
    .btn-y {
        top: 23.5px;
    }
    
    .btn-b {
        left: 23.5px;
    }
    
    .controller-labels .label-text {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    
    .label-line {
        width: 30px;
    }
    
    .label-shoulder-l .label-line,
    .label-shoulder-r .label-line,
    .label-trigger-l .label-line,
    .label-trigger-r .label-line,
    .label-menu-start .label-line,
    .label-menu-home .label-line {
        height: 25px;
    }
    
    .small-buttons {
        top: 40px;
    }
    
    .trigger-l {
        top: -20px;
    }
    
    .trigger-r {
        top: -20px;
    }
    
    .shoulder-l {
        top: -20px;
    }
    
    .shoulder-r {
        top: -20px;
    }
    
    .menu-buttons {
        bottom: 10px;
        gap: 6px;
    }
    
    .menu-btn {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    
    .home-btn {
        width: 21px;
        height: 21px;
        font-size: 10px;
    }
    
    /* Match desktop label positions on mobile */
    .label-shoulder-l {
        top: 12% !important;
        left: 32% !important;
    }
    
    .label-shoulder-l .label-line {
        height: 80px !important;
    }
    
    .label-shoulder-r {
        top: 12% !important;
        right: 32% !important;
    }
    
    .label-shoulder-r .label-line {
        height: 80px !important;
    }
    
    .label-trigger-l {
        top: 7% !important;
        left: 8% !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .label-trigger-l .label-line {
        width: 2px !important;
        height: 30px !important;
        background: linear-gradient(180deg, var(--accent-primary), transparent) !important;
    }
    
    .label-trigger-r {
        top: 20% !important;
        right: 12% !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .label-trigger-r .label-line {
        width: 2px !important;
        height: 30px !important;
        background: linear-gradient(180deg, var(--accent-primary), transparent) !important;
    }
    
    .label-dpad-up {
        top: 45% !important;
        left: 20% !important;
        transform: translate(0%, -50%) !important;
    }
    
    .label-dpad-down {
        top: 58% !important;
        left: 20% !important;
        transform: translate(0%, -50%) !important;
    }
    
    .label-button-x {
        top: 38% !important;
        left: 64% !important;
    }
    
    .label-button-x .label-line {
        width: 40px !important;
    }
    
    .label-button-b {
        top: 55% !important;
        left: 64% !important;
    }
    
    .label-button-b .label-line {
        width: 40px !important;
    }
}

