        html {
            scroll-behavior: smooth;
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: serif;
            background-color: #f5f5f5;
            text-align: center;
            min-height: 300vh; /* Ensure we have enough scroll space */
            position: relative;
        }

        .sequence-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            background: #000;
            overflow: hidden;
        }

        #sequence {
            width: 100%;
            height: 100%;
            transform: translateZ(0);
            backface-visibility: hidden;
            perspective: 1000;
            -webkit-transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            -webkit-perspective: 1000;
        }

        .content {
            position: relative;
            z-index: 1;
        }

        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .icon-container {
            width: 25%;
            max-width: 300px;
            margin-bottom: 20px;
        }

        .icon-container img {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .dictionary-entry {
            max-width: 600px;
            text-align: left;
            font-size: 1rem;
            background: rgba(0,0,0,0.5);
            padding: 2rem;
            backdrop-filter: blur(10px);
        }


        p {
            margin-block-start: 1rem;
            margin-block-end: 1rem;
        }

        .word {
            font-weight: bold;
            font-size: 3rem;
            margin-top: 0rem;
            margin-bottom: 0rem;
        }

        .pronunciation {
            font-style: italic;
            margin-bottom: 1rem;
            font-size: 2rem;
            opacity: 0.9;
        }

        .definition {
            margin: 0;
            font-size: 2rem;
            line-height: 1.4;
        }

        .spacer {
            height: 200vh; /* Creates space for scrolling */
        }


        /* THIS SHOULD ONLY APPLY IF JS LOADS */
        .icon-container {
            opacity: 0;
            margin-bottom: 5rem;
        }

        /* Loading state styles */
        body.loading {
            overflow: hidden;
        }

        .loading-container {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            z-index: 1000;
            display: none;
            text-align: center;
        }

        .loading-container.visible {
            display: block;
        }

        .loading-container.fade-out {
            opacity: 0;
            transition: opacity 0.5s ease-out;
        }

        .loading-text {
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            margin-bottom: 10px;
            font-family: serif;
        }

        .loading-text .dot {
            opacity: 1;
            animation: flash 1.5s infinite;
        }

        .loading-text .dot:nth-child(2) { animation-delay: 0.2s; }
        .loading-text .dot:nth-child(3) { animation-delay: 0.4s; }

        @keyframes flash {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.3; }
        }

        .loading-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .loading-progress {
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .loaded-text {
            display: none;
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            font-family: serif;
            margin-bottom: 10px;
        }

        .loaded-text.visible {
            display: block;
        }

        .down-arrow {
            display: none;
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
            font-family: serif;
            margin-top: 10px;
            animation: bounce 2s infinite;
        }

        .down-arrow.visible {
            display: block;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-3px); }
            60% { transform: translateY(-2px); }
        }

        /* Screen content and frame styles */
        .screen_content {
            /* height: 100vh; */
            /* display: flex
        ; */
            /* align-items: center; */
            text-align: center;
            justify-content: center;
            perspective: 1000px;
        }

        .frame {
            position: sticky;
            top: 10vh;
            width: 424px;
            left: calc(50% - 202px);
            opacity: 0;
            transition: opacity 0.2s ease-in-out;
            transform: perspective(806px) /* Perspective for 3D effect */ rotateX(1deg) /* Tilt top away from viewer */ rotateY(0deg) /* Slight horizontal rotation */ rotateZ(1.5deg);
            transform-style: preserve-3d;
            backface-visibility: visible;
            z-index: 10;
            height: 77vh;
            overflow: hidden;
        }

        .frame.visible {
            opacity: 1;
        }

        .frame.rapid-fade-out {
            opacity: 0;
            transition: opacity 0.2s ease-out; /* Rapid fade-out */
        }

        .phyb-icon-container {
            margin-top: 10vh;
            width: 50%;
            height: auto;
            position: relative;
            display: inline-block;
            
            /* Apple-style liquid glass effect - visible against black background */
            filter: 
                drop-shadow(0 0 20px rgba(255,255,255,0.15))    /* Soft outer glow */
                drop-shadow(0 8px 32px rgba(0,0,0,0.8))         /* Deep shadow for depth */
                drop-shadow(0 1px 0 rgba(255,255,255,0.4))      /* Top edge highlight */
                drop-shadow(0 -1px 0 rgba(0,0,0,0.3));          /* Bottom edge shadow */
            
            /* Glass material properties */
            opacity: 0.85;
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.1) 0%,
                rgba(255,255,255,0.05) 25%,
                rgba(0,0,0,0.05) 50%,
                rgba(255,255,255,0.08) 75%,
                rgba(255,255,255,0.12) 100%
            );
            backdrop-filter: blur(8px) saturate(150%);
            -webkit-backdrop-filter: blur(8px) saturate(150%);
            
            /* Reflective surface */
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.3),           /* Top inner highlight */
                inset 0 -1px 0 rgba(0,0,0,0.2),                /* Bottom inner shadow */
                inset -1px 0 0 rgba(255,255,255,0.1),          /* Left inner highlight */
                inset 1px 0 0 rgba(0,0,0,0.1),                 /* Right inner shadow */
                0 2px 8px rgba(0,0,0,0.3);                     /* Outer shadow */
            
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 400px;
            padding: 1rem;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .phyb-icon {
            width: 100%;
            height: auto;
            display: block;
            transition: filter 0.6s ease-in-out;
        }

        .phyb-icon-container.lit-up .phyb-icon {
            /* Glow effect on the actual SVG shape */
            filter: 
                invert(1)                                       /* Make it white */
                drop-shadow(0px 0px 16px white)                 /* Base glow */
                drop-shadow(0px 0px 32px rgba(255,255,255,0.8)) /* Extended glow */
                drop-shadow(0px 0px 48px rgba(255,255,255,0.6)); /* Far glow */
            
            animation: iconGlow 2s ease-in-out infinite alternate;
        }

        .phyb-icon-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            
            /* Light reflection gradient */
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.25) 0%,
                rgba(255,255,255,0.1) 20%,
                transparent 40%,
                transparent 60%,
                rgba(255,255,255,0.05) 80%,
                rgba(255,255,255,0.15) 100%
            );
            
            border-radius: inherit;
            pointer-events: none;
            mix-blend-mode: overlay;
        }

        .phyb-icon-container.lit-up {
            /* Keep the liquid glass container enhanced but subtle */
            filter: 
                drop-shadow(0 0 60px rgba(255,255,255,0.3))     /* Bright outer glow */
                drop-shadow(0 12px 48px rgba(0,0,0,0.6));       /* Enhanced depth shadow */
            
            opacity: 1;
            transform: scale(1.02) translateY(-2px);
            
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.15) 0%,
                rgba(255,255,255,0.08) 25%,
                rgba(0,0,0,0.02) 50%,
                rgba(255,255,255,0.12) 75%,
                rgba(255,255,255,0.2) 100%
            );
            
            backdrop-filter: blur(12px) saturate(200%);
            -webkit-backdrop-filter: blur(12px) saturate(200%);
            
            box-shadow: 
                inset 0 2px 0 rgba(255,255,255,0.4),           /* Top inner highlight */
                inset 0 -2px 0 rgba(0,0,0,0.25),               /* Bottom inner shadow */
                inset -2px 0 0 rgba(255,255,255,0.15),         /* Left inner highlight */
                inset 2px 0 0 rgba(0,0,0,0.1),                 /* Right inner shadow */
                0 4px 16px rgba(0,0,0,0.4),                    /* Enhanced outer shadow */
                0 0 40px rgba(255,255,255,0.2);                /* Outer glow */
            
            border: 1px solid rgba(255,255,255,0.25);
        }

        .phyb-icon-container.lit-up::before {
            /* Enhanced reflection when lit up - kept subtle */
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.3) 0%,
                rgba(255,255,255,0.15) 20%,
                transparent 35%,
                transparent 65%,
                rgba(255,255,255,0.08) 80%,
                rgba(255,255,255,0.2) 100%
            );
        }

        .phyb-icon-container.lit-up::after {
            /* Solid white "fill-in" icon overlay - no glow, just fill */
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: calc(100% - 2rem);
            height: calc(100% - 2rem);
            
            /* Create a solid white shape using the SVG as a mask */
            background: white;
            -webkit-mask: url('phyb_icon_11.svg') center/contain no-repeat;
            mask: url('phyb_icon_11.svg') center/contain no-repeat;
            
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            pointer-events: none;
            z-index: 5;  /* Below the original icon so glow shows properly */
        }

        /* Animate the fill-in effect - just fade in, no glow animation */
        .phyb-icon-container.lit-up::after {
            opacity: 1;
        }

        /* Signing message styles */
        .signing-message {
            position: absolute;
            bottom: 8rem; /* Position above the buttons */
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            font-family: serif;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            pointer-events: none;
            z-index: 15;
        }

        .signing-message.visible {
            opacity: 1;
        }

        .signing-message .dot {
            opacity: 1;
            animation: flash 1.5s infinite;
        }

        .signing-message .dot:nth-child(2) { 
            animation-delay: 0.2s; 
        }
        
        .signing-message .dot:nth-child(3) { 
            animation-delay: 0.4s; 
        }

        /* Authentication Modal Styles */
        .auth-modal {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .auth-modal.visible {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            padding: 2rem;
            max-width: 90%;
            max-height: 90%;
            overflow-y: auto;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: rgba(255, 255, 255, 0.9);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            font-weight: bold;
            z-index: 25;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .creator-info {
            margin-bottom: 2rem;
        }
        
        .creator-section {
            margin-bottom: 1rem;
        }



        .creator-section h4 {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            margin: 0 0 0.5rem 0;
            font-family: serif;
            text-align: left;
        }

        .hash-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .hash-address {
            color: rgba(255, 255, 255, 0.7);
            font-family: monospace;
            font-size: 0.9rem;
            background: rgba(0, 0, 0, 0.3);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            text-align: left;
            flex: 1;
        }

        .copy-button {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.4);
            width: 24px;
            height: 24px;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .copy-button:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.3);
            color: rgba(255, 255, 255, 0.6);
            transform: scale(1.02);
        }

        .copy-button.copied {
            background: rgba(76, 175, 80, 0.1);
            border-color: rgba(76, 175, 80, 0.4);
            color: rgba(76, 175, 80, 0.7);
        }

        .creator-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
            text-align: left;
            display: block;
        }

        .creator-link:hover {
            color: rgba(255, 255, 255, 1);
        }

        .proof-section {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 1.5rem;
        }

        .proof-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
            cursor: pointer;
        }

        .proof-header span {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1rem;
            font-family: serif;
            text-align: left;
        }

        .expand-button {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: rgba(255, 255, 255, 0.9);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .expand-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .expand-button.expanded {
            transform: rotate(45deg);
        }

        .proof-details {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .proof-details.expanded {
            max-height: 700px;
        }

        .proof-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 0.75rem;
            padding: 0.75rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 6px;
        }

        .proof-item label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            font-family: serif;
            text-align: left;
        }

        .hash-value {
            color: rgba(255, 255, 255, 0.7);
            font-family: monospace;
            font-size: 0.8rem;
            background: rgba(0, 0, 0, 0.3);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            width: 100%;
            word-break: break-all;
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .hash-explanation {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
            font-family: serif;
            line-height: 1.4;
            text-align: left;
            font-style: italic;
        }

        /* Glow animation for the actual icon */
        @keyframes iconGlow {
            0% {
                filter: 
                    invert(1)
                    drop-shadow(0px 0px 16px white)
                    drop-shadow(0px 0px 32px rgba(255,255,255,0.8))
                    drop-shadow(0px 0px 48px rgba(255,255,255,0.6));
            }
            100% {
                filter: 
                    invert(1)
                    drop-shadow(0px 0px 24px white)                  /* Brighter base glow */
                    drop-shadow(0px 0px 48px rgba(255,255,255,1))    /* Brighter extended glow */
                    drop-shadow(0px 0px 72px rgba(255,255,255,0.8)); /* Brighter far glow */
            }
        }

        .frame-buttons {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            right: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            transform: translateY(100%);
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .frame.visible .frame-buttons {
            transform: translateY(0);
        }

        .frame-button {
            width: 100%;
            padding: 0.875rem 1.5rem;
            border: none;
            border-radius: 12px;
            font-family: serif;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .frame-button.primary {
            background: rgba(255, 255, 255, 0.9);
            color: #000;
            box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
        }

        .frame-button.primary:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
        }

        .frame-button.secondary {
            background: rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .frame-button.secondary:hover {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .post_screen_content {
            height: 200vh
        }