/* ========================================
   Dark & Quirky Design System
   ======================================== */

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

:root {
    /* Dark Color Palette */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #15151f;
    --bg-card-hover: #1f1f2f;

    /* Accent Colors */
    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-tertiary: #ec4899;
    --accent-danger: #ef4444;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;

    /* Text Colors */
    --text-primary: #e0e0ff;
    --text-secondary: #a8a8c8;
    --text-muted: #6b6b88;
    --text-glow: #c4b5fd;

    /* Border & Effects */
    --border-color: #2d2d44;
    --border-glow: #7c3aed;
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);

    /* Pixel Metrics */
    --pixel-size: 4px;
    --border-width: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Silkscreen', 'VT323', monospace, cursive, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, rgba(124, 58, 237, 0.03) 0px, transparent 1px, transparent 2px, rgba(124, 58, 237, 0.03) 3px),
        repeating-linear-gradient(90deg, rgba(124, 58, 237, 0.03) 0px, transparent 1px, transparent 2px, rgba(124, 58, 237, 0.03) 3px);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ========================================
   Pixel Art Elements
   ======================================== */

.pixel-border {
    border: var(--border-width) solid var(--border-color);
    box-shadow:
        inset 0 0 0 1px rgba(124, 58, 237, 0.2),
        0 0 15px rgba(124, 58, 237, 0.1);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.pixel-border-thin {
    border: 2px solid var(--border-color);
}

.pixel-pattern {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(124, 58, 237, 0.05) 10px, rgba(124, 58, 237, 0.05) 20px);
}

.pixel-text {
    font-family: 'Silkscreen', monospace;
    letter-spacing: 1px;
}

.pixel-emoji {
    display: inline-block;
    font-style: normal;
    filter:
        drop-shadow(0 0 8px rgba(124, 58, 237, 0.6)) drop-shadow(0 0 4px rgba(168, 85, 247, 0.4));
}

.pixel-emoji.large {
    font-size: 4rem;
}

.pixel-emoji.mega {
    font-size: 6rem;
}

.pixel-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: var(--border-width) solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--text-glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Silkscreen', monospace;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-primary);
}

.nav-menu a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.dark-hero {
    background: linear-gradient(135deg,
            var(--bg-darker) 0%,
            #1a0a2e 50%,
            var(--bg-dark) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-width) solid var(--border-color);
}

.dark-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 3px);
    pointer-events: none;
    opacity: 0.3;
    animation: scan 8s linear infinite;
}

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

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow:
        0 0 20px rgba(124, 58, 237, 0.8),
        0 0 40px rgba(168, 85, 247, 0.5),
        4px 4px 0 rgba(0, 0, 0, 0.3);
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

.hero-decoration {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 2rem;
    margin-top: 2rem;
}

.hero-decoration .pixel-emoji {
    animation: float 3s ease-in-out infinite;
}

.hero-decoration .pixel-emoji:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-decoration .pixel-emoji:nth-child(3) {
    animation-delay: 1s;
}

.hero-decoration .pixel-emoji:nth-child(4) {
    animation-delay: 1.5s;
}

/* ========================================
   Sections
   ======================================== */

.dark-section {
    background: var(--bg-dark);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dark-section-alt {
    background: var(--bg-darker);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-shadow: 0 0 20px var(--accent-primary);
}

.title-decoration {
    color: var(--accent-primary);
    margin: 0 1rem;
    display: inline-block;
    animation: blink 2s infinite;
}

/* ========================================
   About Section
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-avatar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-card-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.about-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-glow);
}

.about-tagline {
    font-size: 1.1rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-note {
    background: rgba(124, 58, 237, 0.1);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 2rem;
    font-style: italic;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    text-decoration: none;
}

/* ========================================
   Tools Section
   ======================================== */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow:
        var(--shadow-card),
        var(--shadow-glow);
    border-color: var(--border-glow);
}

.tool-placeholder {
    opacity: 0.6;
}

.tool-placeholder:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}

.tool-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-card-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tool-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 10px var(--accent-primary);
}

.tool-info {
    padding: 2rem;
}

.tool-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tool-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 80px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(124, 58, 237, 0.2);
    color: var(--text-glow);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
}

.tag-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.tool-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ========================================
   Buttons
   ======================================== */

.pixel-btn {
    padding: 0.75rem 1.5rem;
    font-family: 'Silkscreen', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.pixel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
    transition: left 0.5s ease;
}

.pixel-btn:hover::before {
    left: 100%;
}

.pixel-btn:hover {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.5),
        inset 0 0 20px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.2);
}

.btn-accent {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--accent-tertiary);
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-glow);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-link {
    width: 100%;
}

.contact-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-art-box {
    background: var(--bg-card);
    padding: 2rem;
    border: var(--border-width) solid var(--border-color);
    border-radius: 8px;
}

.ascii-art {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
    line-height: 1;
}

/* ========================================
   Footer
   ======================================== */

.dark-footer {
    background: var(--bg-darker);
    padding: 3rem 0 2rem;
    border-top: var(--border-width) solid var(--border-color);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Silkscreen', monospace;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ========================================
   Animations
   ======================================== */

@keyframes float {

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

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

@keyframes glowPulse {

    0%,
    100% {
        text-shadow:
            0 0 20px rgba(124, 58, 237, 0.8),
            0 0 40px rgba(168, 85, 247, 0.5),
            4px 4px 0 rgba(0, 0, 0, 0.3);
    }

    50% {
        text-shadow:
            0 0 30px rgba(124, 58, 237, 1),
            0 0 60px rgba(168, 85, 247, 0.7),
            4px 4px 0 rgba(0, 0, 0, 0.3);
    }
}

@keyframes blink {

    0%,
    49%,
    100% {
        opacity: 1;
    }

    50%,
    99% {
        opacity: 0.3;
    }
}

.glitch {
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-tertiary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-secondary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(39px, 9999px, 31px, 0);
    }

    5% {
        clip: rect(82px, 9999px, 41px, 0);
    }

    10% {
        clip: rect(16px, 9999px, 96px, 0);
    }

    15% {
        clip: rect(4px, 9999px, 95px, 0);
    }

    20% {
        clip: rect(61px, 9999px, 74px, 0);
    }

    100% {
        clip: rect(58px, 9999px, 33px, 0);
    }
}

.glitch-text {
    animation: colorShift 5s infinite;
}

@keyframes colorShift {

    0%,
    100% {
        color: var(--text-primary);
    }

    25% {
        color: var(--accent-primary);
    }

    50% {
        color: var(--accent-secondary);
    }

    75% {
        color: var(--accent-tertiary);
    }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--accent-primary);
    white-space: nowrap;
    margin: 0 auto;
    animation:
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent-primary);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .avatar-placeholder {
        width: 100%;
        height: 200px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    /* Monitoraカードの画像をスマホで大きく表示 */
    .tool-thumbnail {
        height: auto;
        min-height: 350px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-decoration {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .social-links {
        flex-direction: column;
    }
}
/* ========================================
   Custom Pixel Art Assets
   ======================================== */

/* Hero background with custom scene */
.dark-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: url('assets/images/background-scene.png') repeat-x bottom;
    background-size: auto 200px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
    image-rendering: pixelated;
}

.avatar-placeholder img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Enhanced logo styling */
.logo-img {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6));
}

/* Tree decoration in corners */
.tools-section::after {
    content: '';
    position: absolute;
    bottom: 2%;
    right: 3%;
    width: 60px;
    height: 80px;
    background: url('assets/images/tree.png') no-repeat center;
    background-size: contain;
    opacity: 0.2;
    pointer-events: none;
    image-rendering: pixelated;
    transform: scaleX(-1);
}

/* Robot floating in background */
.dark-section-alt::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: url('assets/images/robot.png') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    image-rendering: pixelated;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Machine subtle background */
.footer::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: url('assets/images/machine.png') no-repeat center;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
    image-rendering: pixelated;
}

/* ========================================
   Final Polish & Refinements
   ======================================== */

/* Enhanced logo pulse effect */
.nav-brand .logo-img {
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.8));
    transition: all 0.3s ease;
}

.nav-brand:hover .logo-img {
    filter: drop-shadow(0 0 25px rgba(168, 85, 247, 1));
    transform: translateY(-2px) scale(1.1);
}

/* Tool card hover glow enhancement */
.tool-card:hover img {
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 1)) brightness(1.2);
}

/* Subtle scanline effect on cards */
.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        rgba(124, 58, 237, 0.03) 1px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::after {
    opacity: 1;
}

/* Social button glow on hover */
.social-btn:hover {
    box-shadow: 
        0 0 20px rgba(124, 58, 237, 0.6),
        inset 0 0 10px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px) scale(1.05);
}

/* Avatar glow effect */
.avatar-placeholder {
    position: relative;
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.avatar-placeholder:hover::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Section dividers with gradient */
.dark-section::before,
.dark-section-alt::before {
    border-top: 2px solid;
    border-image: linear-gradient(90deg, 
        transparent 0%,
        rgba(124, 58, 237, 0.5) 50%,
        transparent 100%) 1;
}

/* Improved button states */
.pixel-btn {
    position: relative;
    overflow: hidden;
}

.pixel-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Footer enhancement */
.footer-brand .logo-img {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

/* Responsive image sizing */
@media (max-width: 768px) {
    .hero-decoration img {
        width: 70px !important;
    }
    
    .tool-card img {
        max-width: 80px;
    }
}

/* ========================================
   Hero Section Visual Overhaul
   ======================================== */

/* 1. Background Image Fix */
.dark-hero {
    position: relative;
    overflow: hidden;
}

.dark-hero::after {
    /* Override previous settings */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/background-scene.png') no-repeat center bottom !important;
    background-size: cover !important;
    opacity: 0.15 !important; /* Subtle background */
    z-index: 0;
    
    /* Fade out at the bottom for smooth transition */
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* 2. Floating Icons Container */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allow clicking through */
}

/* 3. Common Icon Styles */
.floating-icon {
    position: absolute;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.6));
    opacity: 0.9;
}

/* 4. Individual Icon Positioning & Animation */

/* Main Character (Jellyfish) - Center Top */
.icon-main {
    width: 140px;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.8));
}

/* Building - Bottom Left */
.icon-1 {
    width: 100px;
    bottom: 20%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.7;
}

/* Machine - Top Right */
.icon-2 {
    width: 90px;
    top: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
    opacity: 0.6;
}

/* Robot - Top Left */
.icon-3 {
    width: 80px;
    top: 25%;
    left: 15%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
    opacity: 0.6;
}

/* Tree - Bottom Right */
.icon-4 {
    width: 70px;
    bottom: 25%;
    right: 10%;
    animation: float 9s ease-in-out infinite;
    animation-delay: 3s;
    opacity: 0.7;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .icon-main { width: 100px; top: 10%; }
    .icon-1 { width: 60px; bottom: 15%; left: 5%; }
    .icon-2 { width: 50px; top: 15%; right: 5%; }
    .icon-3 { width: 50px; top: 15%; left: 5%; }
    .icon-4 { width: 40px; bottom: 20%; right: 5%; }
}
