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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #fafafa;
            padding-bottom: 60px;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: white;
            border-bottom: 1px solid #dbdbdb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
            z-index: 100;
            transition: opacity 0.3s ease;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-icons {
            display: flex;
            gap: 1rem;
            font-size: 1.5rem;
        }

        /* Feed */
        .feed {
            max-width: 470px;
            margin: 80px auto 0;
            padding: 0;
        }

        /* Post */
        .post {
            background: white;
            border: 1px solid #dbdbdb;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
            transition: opacity 0.3s ease;
        }

        .post-header {
            display: flex;
            align-items: center;
            padding: 0.875rem 1rem;
            gap: 0.75rem;
        }

        .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid #dbdbdb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.75rem;
            color: white;
        }

        .username {
            font-weight: 600;
            font-size: 0.875rem;
            flex: 1;
        }

        .post-options {
            font-size: 1.25rem;
            cursor: pointer;
        }

        .post-image {
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .post-image.aspect-square {
            aspect-ratio: 1;
        }

        .post-image.aspect-vertical {
            aspect-ratio: 4 / 5;
        }

        .post-image.aspect-short {
            aspect-ratio: 3 / 1;
        }

        .procedural-bg {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .shape {
            position: absolute;
            pointer-events: none;
        }

        .post-actions {
            display: flex;
            align-items: center;
            padding: 0.5rem 1rem;
            gap: 1rem;
            font-size: 1.5rem;
        }

        .action-left {
            display: flex;
            gap: 1rem;
            flex: 1;
        }

        .post-likes {
            padding: 0 1rem;
            font-weight: 600;
            font-size: 0.875rem;
        }

        .post-caption {
            padding: 0 1rem 0.5rem;
            font-size: 0.875rem;
            line-height: 1.4;
        }

        .post-caption .username {
            font-weight: 600;
            margin-right: 0.25rem;
        }

        .post-time {
            padding: 0 1rem 0.875rem;
            font-size: 0.625rem;
            color: #8e8e8e;
            text-transform: uppercase;
        }

        /* Bottom Nav */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50px;
            background: white;
            border-top: 1px solid #dbdbdb;
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 100;
            transition: opacity 0.3s ease;
        }

        .nav-icon {
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        /* Loading indicator */
        .loading {
            text-align: center;
            padding: 2rem;
            color: #8e8e8e;
            font-size: 0.875rem;
        }

        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Emoji icons (simple text-based) */
        .icon {
            cursor: pointer;
            user-select: none;
        }

        /* Airplane animation */
        @keyframes flyAway {
            0% {
                transform: translateX(0);
                opacity: 1;
            }
            100% {
                transform: translateX(300px);
                opacity: 0;
            }
        }

        .airplane-flying {
            animation: flyAway 0.8s ease-out forwards;
        }

        /* Procedural animation keyframes */
        @keyframes float {
            0%, 100% {
                transform: translate(-50%, -50%) translateY(0px);
            }
            50% {
                transform: translate(-50%, -50%) translateY(-20px);
            }
        }

        @keyframes rotate {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            100% {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.3;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.2);
                opacity: 0.6;
            }
        }

        @keyframes colorShift {
            0%, 100% {
                filter: hue-rotate(0deg);
            }
            50% {
                filter: hue-rotate(60deg);
            }
        }

        @keyframes wave {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-30px);
            }
        }

        @keyframes gradientShift {
            0%, 100% {
                filter: hue-rotate(0deg);
            }
            50% {
                filter: hue-rotate(30deg);
            }
        }

        /* Fish tank animations */
        @keyframes swimLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(100vw + 200px));
            }
        }

        @keyframes swimRight {
            0% {
                transform: translateX(0) scaleX(-1);
            }
            100% {
                transform: translateX(calc(-100vw - 200px)) scaleX(-1);
            }
        }

        @keyframes fishFloat {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-8px);
            }
        }

        @keyframes bubbleRise {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0.4;
            }
            50% {
                transform: translateY(-50vh) translateX(10px);
                opacity: 0.6;
            }
            100% {
                transform: translateY(-100vh) translateX(-5px);
                opacity: 0;
            }
        }

        @keyframes sway {
            0%, 100% {
                transform: rotate(-3deg);
            }
            50% {
                transform: rotate(3deg);
            }
        }

        @keyframes tailWag {
            0%, 100% {
                transform: skewY(-5deg);
            }
            50% {
                transform: skewY(5deg);
            }
        }
