/* ===== CSS Variables ===== */
:root {
    /* GameDō Brand Colors */
    --color-black: #1a1a1a;
    --color-red: #c41e3a;
    --color-red-dark: #9e1830;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #888888;

    /* GravityShot Colors */
    --gs-pink: #ff3399;
    --gs-cyan: #30d5c8;
    --gs-purple: #0b0422;
    --gs-purple-light: #1a0a3e;

    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-game: 'Orbitron', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    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;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.hero-logo {
    max-width: 700px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: var(--color-black);
    max-width: 500px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-brush {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border: 40px solid var(--color-black);
    border-radius: 50%;
    opacity: 0.05;
}

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

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-header.light h2 {
    color: var(--color-white);
}

.brush-underline {
    width: 80px;
    height: 4px;
    background: var(--color-red);
    margin: 0 auto;
    position: relative;
}

.brush-underline::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
}

.brush-underline.light {
    background: var(--gs-pink);
}

.brush-underline.light::after {
    background: var(--gs-cyan);
}

/* ===== Games Section ===== */
.games-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

/* GravityShot Showcase */
.game-showcase.gravityshot {
    background: linear-gradient(135deg, var(--gs-purple) 0%, var(--gs-purple-light) 100%);
    border-radius: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

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

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px;
    position: relative;
    z-index: 1;
}

.game-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-logo {
    max-width: 350px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(255, 51, 153, 0.3));
}

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

.orbit-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(48, 213, 200, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.game-info {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    font-family: var(--font-game);
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--gs-pink), var(--gs-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.game-genre {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gs-cyan);
    margin-bottom: 25px;
}

.game-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.game-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 35px;
}

.game-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 20px;
    position: relative;
}

.game-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gs-pink);
    border-radius: 50%;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: linear-gradient(90deg, var(--gs-pink), var(--gs-cyan));
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 51, 153, 0.4);
}

.download-button .icon {
    font-size: 24px;
}

.download-button .text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-button .text small {
    font-size: 11px;
    opacity: 0.8;
}

.download-button .text strong {
    font-size: 16px;
}

.coming-soon {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Life of a Regressor Showcase */
.game-showcase.regressor {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d1f1f 50%, #1a1a2e 100%);
    border-radius: 20px;
    max-width: var(--container-width);
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.game-showcase.regressor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(75, 0, 130, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.regressor-logo {
    max-width: 450px;
    border-radius: 10px;
    filter: drop-shadow(0 20px 40px rgba(139, 69, 19, 0.4));
    animation: float 6s ease-in-out infinite;
}

.regressor-title {
    font-family: var(--font-main);
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, #d4a574, #8b4513, #d4a574);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-showcase.regressor .game-genre {
    color: #d4a574;
}

.game-showcase.regressor .game-description {
    color: rgba(255, 255, 255, 0.75);
}

.game-showcase.regressor .game-features li::before {
    background: #d4a574;
}

.coming-soon-badge {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #8b4513, #d4a574);
    color: #1a0a0a;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
}

/* A Helping Hand Showcase */
.game-showcase.helping-hand {
    background: linear-gradient(135deg, #2d1f3d 0%, #1a2a4a 50%, #2d3a5a 100%);
    border-radius: 20px;
    max-width: var(--container-width);
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.game-showcase.helping-hand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(100, 149, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 112, 219, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.helping-hand-logo {
    max-width: 400px;
    border-radius: 10px;
    filter: drop-shadow(0 20px 40px rgba(100, 149, 237, 0.4));
    animation: float 6s ease-in-out infinite;
}

.helping-hand-title {
    font-family: var(--font-main);
    font-size: 42px;
    font-weight: 700;
    color: #87ceeb;
}

.game-showcase.helping-hand .game-genre {
    color: #b0c4de;
}

.game-showcase.helping-hand .game-description {
    color: rgba(255, 255, 255, 0.85);
}

.game-showcase.helping-hand .game-features li {
    color: rgba(255, 255, 255, 0.8);
}

.game-showcase.helping-hand .game-features li::before {
    background: #87ceeb;
}

.game-showcase.helping-hand .coming-soon-badge {
    background: linear-gradient(90deg, #6495ed, #87ceeb);
    color: #1a2a4a;
}

/* ===== About Section ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--color-gray-light);
}

.about-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro {
    font-size: 28px;
    margin-bottom: 30px;
}

.about-intro .japanese {
    font-size: 64px;
    display: block;
    color: var(--color-red);
    margin-bottom: 10px;
}

.about-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 40px;
    color: var(--color-red);
    display: block;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--color-gray);
}

/* ===== Projects Section ===== */
.projects-section {
    padding: var(--section-padding);
    background: var(--color-gray-light);
}

.projects-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    padding: 50px 40px;
    background: var(--color-white);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-icon {
    color: var(--color-red);
    margin-bottom: 25px;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-black);
}

.project-type {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-red);
    margin-bottom: 20px;
}

.project-description {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.project-card:hover .project-link {
    color: var(--color-red);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-black);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-email {
    display: inline-block;
    font-size: 24px;
    color: var(--color-white);
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 5px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--color-red);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--color-red);
    background: var(--color-red);
    transform: translateY(-3px);
}

/* ===== Team Section ===== */
.team-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.team-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
    padding: 40px;
    background: var(--color-gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-red);
    margin-bottom: 25px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-black);
}

.member-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-red);
    margin-bottom: 20px;
}

.member-bio {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.member-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.team-member:hover .member-link {
    color: var(--color-red);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: var(--color-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .game-content {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        text-align: center;
    }

    .game-visual {
        margin-bottom: 40px;
    }

    .game-features {
        justify-content: center;
    }

    .game-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-tagline {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .game-title {
        font-size: 36px;
    }

    .game-logo {
        max-width: 250px;
    }

    .orbit-ring {
        width: 300px;
        height: 300px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .game-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .game-content {
        padding: 40px 20px;
    }

    .hero-content {
        padding: 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 12px;
    }

    .download-button {
        padding: 12px 20px;
    }

    .contact-email {
        font-size: 18px;
    }
}
