:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00f3ff;
    --accent-secondary: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Background Effects */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}

.globe-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
}

.globe-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 60px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.social-links a {
    font-size: 1.2rem;
    margin-left: 20px;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-primary), #fff, var(--accent-secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-move 5s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
    line-height: 1.8;
}

/* Featured Project Section - Enhanced */
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

/* Featured Card（KenmoFMなどメインプロジェクト用） */
.featured-card {
    grid-column: 1 / -1;
    border: 1px solid rgba(0, 243, 255, 0.25);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.04), rgba(189, 0, 255, 0.04));
    position: relative;
}

.featured-card:hover {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 243, 255, 0.2), 0 0 30px rgba(0, 243, 255, 0.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-badge i {
    font-size: 0.7rem;
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.project-header .card-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0;
}

.project-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.project-highlight {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.6;
}

.project-details h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-details p {
    color: #ddd;
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 20px;
    color: #ccc;
    display: flex;
    align-items: flex-start;
}

.feature-list li div {
    flex: 1;
}

.feature-list i {
    color: var(--accent-secondary);
    margin-right: 15px;
    margin-top: 6px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.feature-list small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.feature-list strong {
    color: #fff;
    margin-right: 5px;
}

/* Project Links */
.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-btn:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #000;
}

.link-btn i {
    font-size: 1.2rem;
}

.link-btn.youtube:hover {
    color: #ff0000;
    background: #fff;
}

.link-btn.spotify:hover {
    color: #1DB954;
    background: #fff;
}

.link-btn.apple:hover {
    color: #872EC4;
    background: #fff;
}

/* Purple for Podcast */
.link-btn.homepage:hover {
    color: var(--accent-primary);
    background: #fff;
}

.big-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.big-tags span {
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.big-tags span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: 100px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-bottom: 40px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-project {
        padding: 30px;
    }

    .project-header h3 {
        font-size: 2rem;
    }

    .project-links {
        flex-direction: column;
    }

    .link-btn {
        width: 100%;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 25px;
    }
}

/* Other Projects Title */
.other-projects-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Project Card */
.project-card {
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.15);
}

.project-card-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.project-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-card-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-secondary);
}

.project-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.project-card:hover .project-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Modal Project Header */
.modal-content .project-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-content .project-header h3 {
    font-size: 2rem;
}

/* Scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}