/* Modern Minimalist White Theme */

:root {
    --bg-color: #fcfcfd;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --primary: #4f46e5;
    /* Indigo */
    --secondary: #0ea5e9;
    /* Sky */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #8b5cf6;
    --font-heading: 'Inter', 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Subtle Mesh Gradient Background - Adjusted to overlay the canvas */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.02) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.02) 0px, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Glassmorphism Container */
.glass-container {
    width: 90%;
    max-width: 900px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Header & Typography */
header {
    text-align: center;
    margin-bottom: 50px;
}

.glitch-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
    background: linear-gradient(90deg,
            var(--text-primary) 0%,
            var(--primary) 25%,
            var(--secondary) 50%,
            var(--primary) 75%,
            var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: flow-gradient 5s linear infinite;
}

@keyframes flow-gradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Hide the pseudo-elements from the old glitch effect */
.glitch-text::before,
.glitch-text::after {
    display: none;
}

.subtitle {
    font-family: var(--font-body);
    color: var(--text-secondary);
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-top: 15px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.7;
}

.status-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.status-item {
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Profile Section */
.profile-section {
    display: flex;
    justify-content: center;
}

.profile-card {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow:
        0 4px 15px 0 rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Remove old pseudo-element borders */
.profile-card::before,
.profile-card::after,
.card-image::before,
.card-image::after {
    display: none;
}

.card-image {
    flex: 1 1 300px;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3f4f6;
}

.profile-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover .profile-icon {
    transform: scale(1.05);
}

.scan-line {
    display: none;
    /* Removed cyberpunk effect */
}

.card-content {
    flex: 2 1 400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--glass-border), transparent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* SNS Buttons */
.sns-links {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    gap: 12px;
}

.sns-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sns-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.1);
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    opacity: 0.8;
}

.copyright {
    margin-bottom: 10px;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(79, 70, 229, 0.05);
}

.contact-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for Status */
@keyframes pulse-opacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse-slow {
    animation: pulse-opacity 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-container {
        padding: 20px 15px;
        width: 92%;
        margin: 10px 0;
    }

    header {
        margin-bottom: 20px;
    }

    .glitch-text {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 0.75rem;
        margin-top: 8px;
    }

    .status-bar {
        margin-top: 15px;
        font-size: 0.65rem;
    }

    .profile-card {
        flex-direction: column;
    }

    .card-image {
        flex: none;
        height: 200px;
        min-height: auto;
    }

    .card-content {
        flex: none;
        padding: 20px 15px 12px;
    }

    .section-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .info-grid {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 5px;
    }

    .value {
        font-size: 0.9rem;
    }

    .sns-links {
        justify-content: center;
        margin-top: 12px;
        padding-top: 0;
        gap: 12px;
    }

    .sns-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    footer {
        margin-top: 20px;
        padding-top: 15px;
    }

    .contact-link {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
}