        :root {
            --accent: #fbbf24;
            --bg-dark: #0f172a;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-dark);
            color: #f8fafc;
            overflow-x: hidden;
        }

        .serif {
            font-family: 'Playfair Display', serif;
        }

        /* 3D Book Styles */
        .scene {
            width: 260px;
            height: 400px;
            perspective: 1000px;
            margin: 0 auto;
        }

        .book {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateY(-20deg) rotateX(10deg);
            transition: transform 0.1s ease-out;
        }

        .book-face {
            position: absolute;
            width: 260px;
            height: 400px;
            background: #1e293b;
            border: 2px solid rgba(251, 191, 36, 0.3);
            border-radius: 2px 5px 5px 2px;
        }

        .face-front {
            transform: translateZ(25px);
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            display: flex;
            flex-direction: column;
            padding: 30px;
            justify-content: space-between;
            box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.5);
        }

        .face-spine {
            width: 50px;
            height: 400px;
            left: -25px;
            transform: rotateY(-90deg);
            background: #0f172a;
            border: 1px solid rgba(251, 191, 36, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .spine-text {
            transform: rotate(90deg);
            white-space: nowrap;
            color: var(--accent);
            font-weight: bold;
            letter-spacing: 2px;
            font-size: 12px;
        }

        .face-right {
            width: 50px;
            height: 390px;
            right: -25px;
            top: 5px;
            transform: rotateY(90deg);
            background: #e2e8f0;
            background-image: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.1) 3px);
        }

        #magic-canvas {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 0;
            pointer-events: none;
        }

        .glass {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .countdown-item {
            min-width: 85px;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotateY(-20deg);
            }

            50% {
                transform: translateY(-15px) rotateY(-15deg);
            }
        }

        .book-animate {
            animation: float 6s ease-in-out infinite;
        }

        /* Modal Styles */
        #notify-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 100;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(4px);
        }

        #notify-modal.active {
            display: flex;
        }

        /* Scrollbar styling */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #1e293b;
            /* dark track */
        }

        ::-webkit-scrollbar-thumb {
            background: #475569;
            /* default gray-blue */
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #d4af37;
            /* gold on hover */
        }

        /* Eye icon inside password fields */
#loginModal .relative button,
#signupModal .relative button {
    background: transparent;
    border: none;
    padding: 0 8px;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
}

#loginModal .relative button:hover,
#signupModal .relative button:hover {
    color: #d4af37; /* gold on hover */
}