:root {
    --bg-color: #050505;
    --neon-cyan: #0ff;
    --neon-pink: #f0f;
    --neon-yellow: #ff0;
    --text-color: #fff;
    --text-muted: #aaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200vw;
    height: 200vh;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px);
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero-content {
    max-width: 800px;
}

/* Glitch Effect */
.glitch {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(23px, 9999px, 86px, 0);
    }

    5% {
        clip: rect(61px, 9999px, 88px, 0);
    }

    10% {
        clip: rect(81px, 9999px, 49px, 0);
    }

    15% {
        clip: rect(83px, 9999px, 52px, 0);
    }

    20% {
        clip: rect(48px, 9999px, 63px, 0);
    }

    25% {
        clip: rect(72px, 9999px, 58px, 0);
    }

    30% {
        clip: rect(79px, 9999px, 43px, 0);
    }

    35% {
        clip: rect(2px, 9999px, 77px, 0);
    }

    40% {
        clip: rect(4px, 9999px, 66px, 0);
    }

    45% {
        clip: rect(93px, 9999px, 50px, 0);
    }

    50% {
        clip: rect(8px, 9999px, 11px, 0);
    }

    55% {
        clip: rect(70px, 9999px, 46px, 0);
    }

    60% {
        clip: rect(48px, 9999px, 9px, 0);
    }

    65% {
        clip: rect(69px, 9999px, 48px, 0);
    }

    70% {
        clip: rect(82px, 9999px, 13px, 0);
    }

    75% {
        clip: rect(61px, 9999px, 90px, 0);
    }

    80% {
        clip: rect(66px, 9999px, 66px, 0);
    }

    85% {
        clip: rect(42px, 9999px, 63px, 0);
    }

    90% {
        clip: rect(100px, 9999px, 35px, 0);
    }

    95% {
        clip: rect(32px, 9999px, 83px, 0);
    }

    100% {
        clip: rect(11px, 9999px, 11px, 0);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--neon-pink);
    font-weight: 700;
}

/* Neon Button */
.cta-container {
    margin-top: 30px;
}

.neon-btn {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: 0.5s;
    letter-spacing: 4px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    border-radius: 5px;
}

.neon-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 80px var(--neon-cyan);
}

.neon-btn span {
    position: absolute;
    display: block;
}

.neon-btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan));
    animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.neon-btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--neon-cyan));
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.neon-btn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, var(--neon-cyan));
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

.neon-btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--neon-cyan));
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.free-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.highlight {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Bottom CTA */
.bottom-cta {
    padding: 100px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.9) 60%);
    position: relative;
    z-index: 10;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.neon-btn.large {
    font-size: 1.8rem;
    padding: 20px 60px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Back to Portal Button */
.back-to-portal {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--neon-cyan);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    border: 1px solid var(--neon-cyan);
    padding: 8px 15px;
    border-radius: 5px;
    z-index: 1000;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.back-to-portal:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--neon-cyan);
}
/* AdSense Placeholder Styles */
.adsense-placeholder {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--neon-cyan);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    opacity: 0.5;
}

.adsense-placeholder.lp-bottom {
    margin: 0 auto 60px;
}

.adsense-placeholder-text {
    color: var(--neon-cyan);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .adsense-placeholder {
        max-width: 320px;
        min-height: 50px;
    }
}

