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

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            background-color: #f9fafc;
            color: #1e2a3a;
            line-height: 1.5;
            scroll-behavior: smooth;
        }

        /* =============================================
           FREE SITE HEADER & NAVIGATION
           ============================================= */
        .site-header {
            background: white;
            box-shadow: 0 4px 16px rgba(0, 20, 40, 0.08);
            position: relative;
            width: 100%;
        }

        .logo-row {
            background: white;
            padding: 0.6rem 2rem;
            border-bottom: 1px solid rgba(13, 71, 161, 0.1);
        }

        .company-logo {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem 2rem;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .company-logo img {
            height: 56px;
            width: auto;
            display: block;
            border-radius: 12px;
        }

        .slogan-text {
            font-size: 1.25rem;
            font-weight: 600;
            color: #0d47a1;
            letter-spacing: -0.01em;
            background: #e3f2fd;
            padding: 0.4rem 1.4rem;
            border-radius: 40px;
            white-space: nowrap;
            border: 1px solid rgba(13,71,161,0.2);
        }

        .header-cta {
            display: flex;
            gap: 12px;
        }

        .header-cta a {
            background: #0d47a1;
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.4rem;
            border-radius: 30px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: 0.2s;
            white-space: nowrap;
        }

        .header-cta a:hover {
            background: #1565c0;
        }

        .header-cta a.login-btn { background: #0d47a1; }
        .header-cta a.signup-btn { background: #4CAF50; }
        .header-cta a.signup-btn:hover { background: #3d8b40; }

        .nav-row {
            background: #0d47a1;
        }

        .main-nav {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 0.1rem 2rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.2rem;
        }
        .nav-links li a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.2rem;
            font-weight: 500;
            border-radius: 30px;
            transition: background 0.2s;
            font-size: 0.95rem;
        }
        .nav-links li a:hover { background: #4CAF50; }
        .nav-links li a.active {
        	border-bottom: 5px solid #4CAF50;
        	background: transparent;
        	border-radius: 0;
    	}

        /* =============================================
           BREADCRUMBS
           ============================================= */
        .breadcrumb-wrapper {
            max-width: 800px;
            margin: 20px auto 0;
            padding: 0 20px;
        }

        .breadcrumb-nav {
            margin-bottom: 0;
        }

         .breadcrumb-list {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            white-space: nowrap;
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 14px;
            color: #666;
            -webkit-overflow-scrolling: touch;
        }

        .breadcrumb-list::-webkit-scrollbar {
            display: none;
        }

        .breadcrumb-list li {
            font-size: 0.85rem;
            color: #888;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .breadcrumb-list li a {
            color: #0d47a1;
            text-decoration: none;
            opacity: 0.85;
            transition: opacity 0.2s;
            font-weight: 500;
        }

        .breadcrumb-list li a:hover {
            opacity: 1;
            text-decoration: underline;
        }

        .breadcrumb-list li:not(:last-child)::after {
            content: ">";
            font-size: 1rem;
            color: #aaa;
        }

        .breadcrumb-list li.active {
            color: #666;
            font-weight: 600;
        }

        /* =============================================
           WELCOME BANNER 
           ============================================= */
        .welcome-banner {
		   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 24px;
            padding: 2rem;
            margin: 20px auto 30px auto;
            color: white;
            position: relative;
            overflow: hidden;
            max-width: 800px;
            width: 100%;
            text-align: left;
        }

/* Category Banner Color Schemes */

/* 1. Fear & Anxiety */
.category-banner-fear {
    background: linear-gradient(135deg, #c62828 0%, #ef6c00 100%);
    color: white;
}

/* 2. Relationship */
.category-banner-relationship {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    color: white;
}

/* 3. Life Change */
.category-banner-life-change {
    background: linear-gradient(135deg, #00897b 0%, #43a047 100%);
    color: white;
}

/* 4. Animal */
.category-banner-animal {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
}

/* 5. Water */
.category-banner-water {
    background: linear-gradient(135deg, #1565c0 0%, #4fc3f7 100%);
    color: white;
}

/* 6. Disaster */
.category-banner-disaster {
    background: linear-gradient(135deg, #424242 0%, #d32f2f 100%);
    color: white;
}

/* 7. Social Embarrassment */
.category-banner-social {
    background: linear-gradient(135deg, #ff7043 0%, #ffab91 100%);
    color: #1e2a3a;  /* Dark text for light backgrounds */
}

/* 8. Control & Power */
.category-banner-power {
    background: linear-gradient(135deg, #4527a0 0%, #ffb300 100%);
    color: white;
}

/* 9. Location */
.category-banner-location {
    background: linear-gradient(135deg, #455a64 0%, #546e7a 100%);
    color: white;
}

/* 10. Physical States */
.category-banner-physical {
    background: linear-gradient(135deg, #1a237e 0%, #7c4dff 100%);
    color: white;
}


        .welcome-banner h1 {
            font-size: 2.0rem;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .welcome-banner p {
            font-size: 1.1rem;
            line-height: 1.5;
            opacity: 0.95;
        }

        /* =============================================
           MAIN CONTENT - WHITE BACKGROUND
           ============================================= */
        .main-wrapper {
            background: white;
            min-height: calc(100vh - 200px);
        }

        .index-container {
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            padding: 40px 20px 60px;
        }

        /* Categories Grid */
        .categories-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .category-card {
            background: white;
            border-radius: 20px;
            padding: 24px;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: inherit;
            display: block;
            border: 1px solid rgba(13, 71, 161, 0.08);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        .category-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .category-icon {
            font-size: 2rem;
            margin-bottom: 12px;
        }

        .category-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #0d47a1;
            margin-bottom: 10px;
        }

        .category-description {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.6;
        }

        .dream-count {
            display: inline-block;
            margin-top: 12px;
            font-size: 0.8rem;
            color: #0d47a1;
            font-weight: 600;
        }

        /* Dreams Grid for Category Page */
        .dreams-grid {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .dream-link {
            text-decoration: none;
            color: inherit;
        }

        .dream-item {
            background: white;
            border-radius: 20px;
            padding: 20px;
            display: flex;
            gap: 16px;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid rgba(13, 71, 161, 0.08);
        }

        .dream-item:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .dream-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .dream-info {
            flex: 1;
        }

        .dream-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #0d47a1;
            margin-bottom: 6px;
        }

        .dream-style {
            display: inline-block;
            font-size: 0.7rem;
            padding: 2px 10px;
            border-radius: 20px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .dream-style.jungian { background: #e3f2fd; color: #0d47a1; }
        .dream-style.freudian { background: #d7ccc8; color: #5d4037; }
        .dream-style.modern { background: #e8f5e9; color: #1b5e20; }
        .dream-style.spiritual { background: #f3e5f5; color: #4a1d6d; }

        .dream-preview {
            font-size: 1rem;
            color: #666;
            line-height: 1.5;
        }

        .no-dreams {
            text-align: center;
            padding: 60px;
            background: white;
            border-radius: 24px;
            color: #999;
        }

        /* Footer */
        .site-footer {
            background: white;
            padding: 32px 24px;
            text-align: center;
            border-top: 1px solid #eef2f6;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 28px;
            margin: 15px 0;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #666;
            text-decoration: none;
            font-size: 0.85rem;
        }

        .footer-links a:hover {
            color: #0d47a1;
        }

        .copyright {
            color: #999;
            font-size: 0.75rem;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            body { padding-top: 0; }
            .site-header { position: relative; top: auto; left: auto; width: 100%; box-shadow: 0 2px 8px rgba(0, 20, 40, 0.05); }
            .logo-row { padding: 0.5rem 1rem; }
            .main-nav { padding: 0.2rem 1rem; width: 100%; max-width: 100%; overflow: hidden; }
            .company-logo { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
            .logo-group { flex: 0 0 auto; }
            .company-logo img { height: 42px; }
            .slogan-text { display: none; }
            .header-cta { flex-direction: column; gap: 6px; margin-left: auto; flex: 0 0 auto; }
            .header-cta a { padding: 0.25rem 1rem; font-size: 0.8rem; text-align: center; min-width: 70px; display: block; }
            .nav-links { overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
            .breadcrumb-wrapper { margin: 15px auto 0; }
            .welcome-banner { margin: 0.2rem 1rem 1rem 1rem; padding: 1.2rem; border-radius: 20px; width: auto; max-width: 100% !important; }
            .welcome-banner h1 { font-size: 1.3rem; }
            .welcome-banner p { font-size: 1.1rem; }
            .index-container { padding: 30px 16px 40px; }
            .category-card { padding: 18px; }
            .category-title { font-size: 1.2rem; }
            .dream-item { flex-direction: column; align-items: flex-start; }
            .dream-icon { font-size: 1.5rem; }
   		   .nav-links li a.active {
        		  border-bottom: 2px solid #4CAF50;
        		  background: transparent;
        		  border-radius: 0;
    		  }

   			/* ==================================================================
       		SAFARI-ONLY OVERRIDES (Android Chrome ignores this entirely)
       		================================================================== */
    			@supports (-webkit-hyphens:none) {
				html {
        				font-size: 22px !important; /* Slightly scales up layout elements on dense screens, rendering 					identically to Android font-boosting */
    				}
    
    				body {
        				font-size: 22px !important;
    				}

        			/* Scale up the image height slightly on Safari to match the visual look */
        			.company-logo img { 
            			height: 52px !important; 
        			}

       			 /* Scale up the CTA button text and tap padding targets for iOS Safari */
       			 .header-cta a {
            			font-size: 0.95rem !important;      /* Bumps font from 0.8rem up */
            			padding: 0.4rem 1.1rem !important;  /* Bumps padding from 0.25rem up */
        			}
			}

        }

        @media (max-width: 480px) {
            .welcome-banner { padding: 1.2rem; margin: 15px 15px 25px 15px; }
            .breadcrumb-wrapper { padding: 0 15px; }
            .index-container { padding: 20px 16px 30px; }
            .category-card { padding: 16px; }
        }

        /* Safari-specific overrides */
        @supports (-webkit-hyphens:none) {
            html { font-size: 22px !important; }
            body { font-size: 22px !important; }
            .company-logo img { height: 52px !important; }
            .header-cta a { font-size: 0.95rem !important; padding: 0.4rem 1.1rem !important; }
        }

