/* -------------------- RESET & DEFAULT STYLING -------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Times New Roman", Times, serif;
    color: #f9fdff;
    /* 
      The entire cosmic background + a semi-transparent overlay.
      This ensures text is more readable site-wide.
    */
    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url('https://www.thegodboss.com/images/cosmic-background.jpg') center center fixed;
    /* Force both layers to be fixed */
    background-attachment: fixed, fixed;

    /* Position both layers the same */
    background-position: center center, center center;

    /* Prevent repetition */
    background-repeat: no-repeat, no-repeat;

    /* Make sure both layers cover the viewport */
    background-size: cover, cover;

    /* Hide horizontal scroll bar if needed */
    overflow-x: hidden;
}

/* Divine styling for TheGodboss */
.divine-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 125%;
    /* Makes it larger to stand out */
    color: #ff6b00;
    /* Cosmic orange */
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.9),
        /* Glowing gold */
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 100, 0, 0.4),
        /* Extra emphasis on divine presence */
        0 0 50px rgba(255, 60, 0, 0.3);
    /* A fiery orange hue for the divine light */
    text-align: center;
    line-height: 1.4em;
    letter-spacing: 1px;
    /* Adds extra spacing between letters for a grand effect */
}

.divine-text:hover {
    color: #FFD700;
    /* Glow effect turns gold on hover */
    text-shadow:
        0 0 15px rgba(255, 215, 0, 1),
        0 0 25px rgba(255, 215, 0, 0.9),
        0 0 35px rgba(255, 150, 0, 0.7),
        0 0 45px rgba(255, 100, 0, 0.6);
    /* Intensify the glow */
}

/* Add animation to the success message */
.success-message {
    animation: fadeIn 2s ease-in;
    text-align: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* When modal is open, prevent scrolling of the main page */
body.modal-open {
    overflow-y: hidden;
}

/* -------------------- FOOTER SECTION -------------------- */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    color: cadetblue;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* -------------------- SIGNATURE OVERLAY STYLES -------------------- */
.signature {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
}

.signature img {
    width: 80px;
    height: auto;
}

.signature p {
    margin: 10px 0 0 !important;
    color: #fff;
    font-weight: bold;
}

/* -------------------- MOBILE MENU TOGGLE -------------------- */
.menu-toggle {
    display: none;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 1.2rem;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
}

/* -------------------- NAVIGATION BAR -------------------- */
nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #f9fdff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ff6b00;
}

/* Hide ALL submenus by default */
nav ul li ul {
    display: none;
    list-style: none;
    background-color: rgba(0, 0, 0, 0.6);
    min-width: 180px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 0;
}

nav ul li ul li {
    width: 100%;
    position: relative;
}

/* Arrows for submenus */
nav ul li.dropdown>a::after {
    content: " ▼";
    font-size: 0.8em;
}

nav ul li ul li.dropdown-submenu>a::after {
    content: " ▶";
    font-size: 0.8em;
}

/* Deeper nested submenus open to the right */
nav ul li ul li ul {
    left: 100%;
    top: 0;
    min-width: 180px;
}

/* Desktop Hover Behavior */
@media (min-width: 769px) {
    nav ul li.dropdown:hover>ul {
        display: block;
    }

    nav ul li ul li.dropdown-submenu:hover>ul {
        display: block;
    }
}

/* MOBILE: under 769px, use .active toggles instead of hover */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        flex-direction: column;
        display: none;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li ul {
        position: static;
        background-color: rgba(0, 0, 0, 0.9);
        min-width: 100%;
    }

    nav ul li.active>ul {
        display: block;
    }

    /* Decrease nav link font size on mobile */
    nav ul li a {
        font-size: 1rem;
    }
}

/* Left-align text in all dropdown submenus */
nav ul li ul li a {
    text-align: left;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 40px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f9fdff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    padding: 10px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    display: inline-block;
}

/* Container for all CTA buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Space between buttons */
}

/* Base Button/Anchor Style */
.cta-button {
    display: flex;
    flex-direction: column;
    /* Stacks text and icon vertically */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    width: 150px;
    /* Consistent width for all buttons */
    padding: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    /* So <button> and <a> both get a pointer cursor */
}

/* Text & Icon within Each Button */
.cta-button .cta-text {
    font-size: 16px;
    margin-bottom: 8px;
}

.cta-button .cta-icon {
    font-size: 24px;
    /* For Font Awesome icons */
    line-height: 1;
}

.cta-button .cta-icon img {
    width: 25px;
    height: 25px;
    border: 1px solid #ffd700;
    border-radius: 8px;
    background-clip: padding-box;
    /* filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6)); */
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cta-button .cta-icon img::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    /* Matches the button's border-radius */
    background: linear-gradient(45deg,
            #ffd700,
            /* gold */
            #ff6b00,
            /* orange */
            #674ea7,
            /* purple */
            #ffd700);
    animation: borderShimmer 5s ease infinite;
    z-index: -1;
    /* Behind the button text */
}


.cta-button:hover .cta-icon img {
    border: 2px solid #fff;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
    transform: scale(1.1);
}

/* Hover Effects */
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ku-highlight {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 4px #000, /* dark base contrast */
    0 0 10px #FFD700, /* soft glow */
    0 0 15px #FFA500; /* outer golden aura */
}

    .ku-highlight:hover {
        color: #fffacd;
        text-shadow: 0 0 6px #000, 0 0 12px #ffd700, 0 0 18px #ffa500;
        cursor: help;
    }

/* Individual Button Colors */
.ascend {
    background-color: #674ea7;
    /* Imperial Purple */
}

.vanguard {
    background-color: #3b5998;
    /* Facebook Blue */
}

.archives {
    background-color: #4a90e2;
    /* Royal Road Blue */
}

.fealty {
    background-color: #d38b5d;
    /* Gold/Bronze for Patreon */
    display: none;
}

/* Amazon Button Style */
.cta-button.amazon {
    background-color: #ff9900; /* Amazon’s signature orange */
    color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .cta-button.amazon:hover {
    background-color: #cc7a00; /* Slightly darker on hover */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  }

@keyframes borderShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-button {
        width: 100%;
        max-width: 300px;
        /* So they don't stretch too wide on large phones/tablets */
    }
}


/* -------------------- HERO SECTION -------------------- */
.hero {
    position: relative;
    min-height: calc(100vh - 60px - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 60px;
    /* space for fixed nav */
    padding-bottom: 20px;
}

.hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px;
    animation: fadeIn 2s ease-in;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: 1rem;
}

/* General paragraph styles */
.hero-content p {
    font-size: 1.5rem;
    font-style: italic;
    text-shadow:
        0 0 5px rgba(255, 215, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-content .divine-gift {
    /* background: rgba(0, 0, 0, 0.5);  */
    max-width: 600px;
    margin: 0 auto 0;
    /* Top margin separates from the CTA; auto centers it */
    text-align: center;
    /* Center the text */
}

/* Specialized version for Ascension/Exclusive Short Story */
.hero-content .ascension-paragraph {
    font-size: 1.6rem;
    font-weight: 600;
    color: #f9fdff;
    /* A divine orange for emphasis */
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    margin-bottom: 0.5rem;
}

/* Specialized version for Comedic/Lighthearted Section */
.hero-content .comedic-paragraph {
    text-align: center;
    margin-top: 10px;
    font-style: normal;
}

/* First Line of Comedic Paragraph - Ascension Line */
.hero-content .comedic-paragraph .comedic-line-1 {
    font-size: 1.3rem !important;
    /* Larger font size for the first line */
    font-weight: 500 !important;
    color: #f9fdff !important;
    /* Divine orange for emphasis */
    text-shadow:
        0 0 5px rgba(255, 215, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    margin-bottom: 20px !important;
}

/* Second Line of Comedic Paragraph - Humorous Line */
.hero-content .comedic-paragraph .comedic-line-2 {
    font-size: 1.2rem;
    /* Smaller font size for the second line */
    font-weight: 600;
    color: #ff6b00;
    margin-top: 1rem;
    display: block;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);

}


/* Specialized version for Standard Text or Journey Introduction */
.hero-content .journey-introduction {
    font-size: 1.5rem;
    font-style: italic;
    color: #f9fdff;
    text-align: center;
    text-shadow:
        0 0 5px rgba(255, 215, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
}

.short-story-text {
    font-size: 1.2rem;
    /* Smaller font size for the second line */
    font-weight: 600;
    font-style: normal;
    color: #ff6b00;
    margin-top: 1rem;
    display: block;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);
}

.short-story-button {
    background-color: #ff6b00;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transition: 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
}

.short-story-button:hover {
    background-color: #ff4000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
    transform: scale(1.05);
    color: #FFD700;
    /* Gold color for emphasis */
}

.short-story-button:active {
    background-color: #e35d00;
    transform: scale(1);
}



/* Smaller hero text on mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* -------------------- CTA BUTTON -------------------- */
.cta-button {
    background-color: #ff6b00;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ff4000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* -------------------- MODAL -------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: transparent;
    /* shows the cosmic background */
}

.modal-content {
    background-color: #1c1c1c;
    margin: 5% auto;
    /* centers modal vertically, with a 5% margin */
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    /* never wider than 600px */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    /* capped at 75% of viewport height */
}

.modal-header {
    padding: 10px 20px;
    background-color: inherit;
    border-bottom: 1px solid #888;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ff6b00;
    text-decoration: none;
    cursor: pointer;
}


/* -------------------- ABOUT SECTION -------------------- */
.about {
    background-color: #1c1c1c;
    padding: 50px 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* -------------------- SOCIAL & NEWSLETTER -------------------- */
.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #ff6b00;
}

#sib-container {
    background-color: #1c1c1c;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

#sib-container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fdff;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.6);
}

#sib-container input {
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #f9fdff;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #ec7d7d;
    background-color: transparent;
    transition: 0.3s;
}

#sib-container input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

#sib-container button {
    background-color: #ff6b00;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transition: 0.3s;
    text-transform: uppercase;
}

#sib-container button:hover {
    background-color: #ff4000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
}