body {
    background-color: black; /* Fallback color */
    background-image: url('EInk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgba(255, 255, 255, 0.5); /* White with 50% opacity */
    font-family: 'EB Garamond', serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    min-height: 100vh;
    min-width: 100vw;
    position: relative;
    box-sizing: border-box;
}

.content {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    text-align: left;
    box-sizing: border-box;
    min-height: 200px; /* Ensure content area has minimum height */
}

p {
    line-height: 1.1;
    font-size: 1.7rem; /* Reduced from 2.6rem (about 1/3rd smaller) */
    margin-bottom: 1.5rem;
    /* Hyphenation settings with enhanced cross-browser support */
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -moz-hyphens: auto !important;
    -ms-hyphens: auto !important;
    
    /* Only hyphenate words 8+ characters long */
    hyphenate-limit-chars: 8 3 3 !important;
    -webkit-hyphenate-limit-chars: 8 3 3 !important;
    
    /* For Safari */
    -webkit-hyphenate-limit-before: 3 !important;
    -webkit-hyphenate-limit-after: 3 !important;
    
    /* Limit consecutive hyphenated lines to 1 */
    hyphenate-limit-lines: 1 !important;
    -webkit-hyphenate-limit-lines: 1 !important;
    
    /* Very conservative hyphenation (50% zone means very few words will hyphenate) */
    hyphenate-limit-zone: 50% !important;
    -webkit-hyphenate-limit-zone: 50% !important;
    
    text-align: left;
    word-wrap: break-word;
    
    /* Smooth transitions for text changes */
    transition: opacity 0.3s ease;
}

/* Special HUGE styling with rotated G */
.huge-text {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 800; /* Changed from 900 to 800 (maximum standard font-weight) */
    display: inline-block;
    font-size: 2.7rem; /* Reduced from 4rem (about 1/3rd smaller) */
    line-height: 1.1; /* Match paragraph line-height to prevent extra spacing */
    color: rgba(255, 255, 255, 1); /* HUGE text is white by default */
}

/* Ensure standalone HUGE text (not inside links) stays white - REMOVED to allow hover effects */
/*
.huge-text:not(a .huge-text) {
    color: rgba(255, 255, 255, 1) !important;
}
*/

/* HUGE text inside links should inherit link colors and hover effects */
a .huge-text {
    color: inherit !important;
}

/* Rotated G style */
.rotated-g {
    display: inline-block;
    transform: rotate(-45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Hover effect for the G in HUGE */
.huge-text:hover .rotated-g {
    transform: rotate(0deg); /* Return to vertical on hover */
}

/* HUGE button styling in top right */
.back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    z-index: 10;
    /* Disable hyphenation for back button */
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
}

/* Make the HUGE button consistent with main text size */
.back-button a {
    font-size: 2.1rem; /* Reduced from 3.2rem (about 1/3rd smaller) */
    line-height: 1;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 800; /* Changed from 900 to 800 (maximum standard font-weight) */
    opacity: 0.8;
    transition: opacity 0.3s;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: none;
    color: rgba(255, 255, 255, 1); /* Back button link is white by default */
}

.back-button a:hover {
    opacity: 1;
    border-bottom: none;
    color: #ff7684 !important; /* HUGE color - coral pink on hover */
}

/* General link styling */
a {
    color: rgba(255, 255, 255, 1) !important; /* Ensure links are 100% white and override inherited grey */
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

/* Hover effect for links - default orange */
a:hover {
    color: #eb4604 !important; /* Default orange on hover */
}

/* Specific hover colors for different link types */
a[href="brand/"]:hover,
a[href="brand/"] .huge-text:hover {
    color: #ff7684 !important; /* HUGE links - coral pink */
}

a[href="product/"]:hover {
    color: #ffa51e !important; /* New hardware platform links - golden orange */
}

a[href="investors/"]:hover,
a[href*="investors@huge.tech"]:hover {
    color: #00aa46 !important; /* Investors links - green */
}

/* Custom underline styling - REMOVED */
/*
a:not(.back-button a)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 107, 0, 0.5);
    transition: background-color 0.3s;
}
*/

/* Hover effect for underline - REMOVED */
/*
a:not(.back-button a):hover::after {
    background-color: rgba(255, 107, 0, 1);
}
*/

/* Typing animation styles */
.typing-cursor::after {
    content: '|';
    color: white;
    animation: blink 1s infinite;
    font-weight: normal;
}

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

/* Animation states */
.animating {
    position: relative;
}

.animating::after {
    content: '|';
    color: white;
    animation: blink 1s infinite;
    font-weight: normal;
    margin-left: 2px;
}

/* Mobile responsive font sizes - REMOVED so desktop and mobile are the same */
/*
@media screen and (max-width: 768px) {
    p {
        font-size: 2.6rem;
    }
    
    .huge-text {
        font-size: 4rem;
    }
    
    .back-button a {
        font-size: 3.2rem;
    }
}
*/ 