:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #00f3ff;
    /* Neon Blue */
    --secondary-color: #ff00ff;
    /* Neon Pink */
    --accent-color: #0aff00;
    /* Neon Green */
    --card-bg: rgba(20, 20, 20, 0.8);
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
}

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

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

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 500px;
}

.bg-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-image: url('images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 150px;
    height: 150px;
    max-width: 150px;
    /* Force max width */
    object-fit: contain;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px var(--primary-color));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    text-transform: none !important;
    /* Force lowercase */
}

/* Updated Glitch Effect (Transparent) */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.8;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--primary-color);
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-2px, 0);
    }

    100% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(2px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(-2px, 0);
    }
}

.subtitle {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections */
.section {
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.jp-sub {
    display: block;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 5px;
    opacity: 0.7;
    font-weight: normal;
}

/* About Card */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.profile-images {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 20px;
}

.profile-icon {
    font-size: 4rem;
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-icon.secondary {
    width: 100px;
    height: 100px;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    margin-left: -40px;
    z-index: 1;
}

.profile-icon:hover {
    transform: scale(1.1);
    z-index: 10;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.link-card {
    position: relative;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.link-card i {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.link-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    z-index: 1;
}

.link-card p {
    font-size: 0.9rem;
    color: #aaa;
    z-index: 1;
}

/* Hover Effects */
.link-card:hover {
    transform: translateY(-10px);
    border-color: var(--hover-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.link-card:hover i {
    transform: scale(1.2);
    color: var(--hover-color);
    text-shadow: 0 0 15px var(--hover-color);
}

/* Specific Colors */
.litlink {
    --hover-color: #fff;
}

.note {
    --hover-color: #41C9B4;
}

.brain {
    --hover-color: #00d4ff;
}

.youtube {
    --hover-color: #ff0000;
}

.twitter {
    --hover-color: #1da1f2;
}

.instagram {
    --hover-color: #e1306c;
}

.line {
    --hover-color: #00b900;
}

.tiktok {
    --hover-color: #ff0050;
}

.facebook {
    --hover-color: #1877f2;
}

.promo-card {
    grid-column: span 1;
    border-color: var(--accent-color);
    background: rgba(10, 255, 0, 0.05);
}

.promo-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(10, 255, 0, 0.3);
}

.promo-img {
    width: 100%;
    max-width: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .promo-card {
        grid-column: span 2;
    }
}

/* Footer */
.site-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .section {
        padding: 60px 20px;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}