/* --- 1. Variables & Global Reset --- */
:root {
    --bg-color: #2e3141;
    --accent: #FF0000;
    --text-font: "Source Sans Pro", Helvetica, sans-serif;
    --header-font: "Raleway", Helvetica, sans-serif;
}

/* The "Nuclear Option" for dots and unwanted spacing */
* { box-sizing: border-box; }

ul, li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

/* --- 2. Base Styles --- */
body {
    background-color: var(--bg-color);
    background-image: linear-gradient(to top, rgba(46, 49, 65, 0.8), rgba(46, 49, 65, 0.8)), url("../../images/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    font-family: var(--text-font);
    font-size: 1.3rem;
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .major {
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.major {
    border-bottom: solid 2px rgba(255, 255, 255, 0.125);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* This is the master container that stops the "wide sprawl" */
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%; 
}

/* --- 3. Header & Navigation --- */


.nav-item {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1px;
    background-color: var(--accent);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-item:hover { color: var(--accent); }
.nav-item:hover::after { width: 100%; }

/* --- 4. Banner & Spotlight --- */
#banner {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#banner h2 { font-size: 3.5rem; margin-bottom: 0; }

.spotlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
}

.spotlight .inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.spotlight .image img {
    max-width: 400px;
    width: 100%;
}

/* --- 5. Portal Grid (Fixed Spacing) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}


/* --- Portal Hover Effects --- */

.features-grid article {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s ease; /* Smooth transition for the whole card */
    overflow: hidden; /* Keeps the zoomed image inside the box */
}

/* 1. Zoom and Brighten the Image */
.features-grid article .image {
    display: block;
    overflow: hidden; /* Clips the image when it scales up */
    margin-bottom: 1.5rem;
}

.features-grid article .image img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(0.7) grayscale(20%); /* Slightly dimmed by default */
}

.features-grid article:hover .image img {
    transform: scale(1.1); /* Subtle zoom in */
    filter: brightness(1.1) grayscale(0%); /* "Lights up" the portal */
}

/* 2. Add a Glow to the Portal Card */
.features-grid article:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 0, 0, 0.3); /* Faint red glow to match accent */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 0, 0, 0.05);
    transform: translateY(-5px); /* Gentle lift effect */
}

/* 3. Animate the Title on Hover */
.features-grid article h3 {
    transition: color 0.3s ease;
}

.features-grid article:hover h3 {
    color: var(--accent); /* Title turns red when hovering the box */
}



a.special {
    display: inline-block;    /* Allows padding to work properly */
    margin-top: auto;
    padding: 0.75rem 0;       /* Increases the "tappable" area for thumbs */
    color: var(--accent);
    text-transform: uppercase;
    
    /* BUMPED SIZES BELOW */
    font-size: 0.9rem;        /* Approx 14.5px - Passes Google's test */
    font-weight: 700;         /* Keeps it bold and clear */
    
    letter-spacing: 0.15em;
    text-decoration: none;
    border: 0 !important;
}

a.special:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent);
}

/* --- 6. Footer & Social --- */
footer {
    padding: 4rem 0;
    background: #242634;
    text-align: center;
}

.custom-icons-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.custom-icons-grid li a img {
    width: 42px;
    height: auto;
    filter: brightness(0.7);
    transition: 0.3s;
}

.custom-icons-grid li a:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.contact-email { margin: 1.5rem 0; }
.contact-email a {
    color: #fff;
    text-decoration: none !important;
    border: 0 !important;
    font-size: 0.9rem;
}

.email-icon-inline {
    width: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.copyright-line {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
    text-transform: uppercase;
}

/* --- 7. Responsive --- */
@media (max-width: 980px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    #header { flex-direction: column; padding: 2rem; }
}

@media (max-width: 736px) {
    .features-grid { grid-template-columns: 1fr; }
    .spotlight .inner { flex-direction: column; text-align: center; }
    #header nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
}



/* --- New Center Layout rules --- */

/* Centers the parent .inner content */
#wrapper section .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Specific styling for 'The Voyager' portrait */
.centered-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* Center the image horizontally */
    padding-bottom: 3rem;
}

.voyager-portrait {
    max-width: 600px; /* Increased standard width as requested */
    width: 100%;       /* Ensure it scales down on small screens */
    height: auto;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    filter: brightness(0.9);
    transition: all 0.4s ease;
}

/* Subtle "activation" effect when hovering over 'The Voyager' */
.centered-image-wrapper:hover .voyager-portrait {
    filter: brightness(1.1);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.2); /* Faint red glow */
    transform: scale(1.02);
}

/* --- Contact Page Layout --- */

.contact-email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.email-icon-inline {
    width: 24px;
    height: auto;
    margin-right: 12px;
}

/* Email Hover Effect */
.email-link {
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
}

.email-link:hover {
    color: #ff3333; /* Or your preferred accent color */
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
}

/* Voyager Portrait Centering */
.voyager-frame {
    margin-top: 2rem;
    padding-bottom: 4rem;
}

.voyager-frame img {
    max-width: 650px; /* Made slightly larger as requested */
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}


/* --- Links Portal Grid --- */

.links-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.portal-link {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 0;
    overflow: hidden;
}

.portal-link img {
    width: 100%;
    height: auto;
    filter: grayscale(40%) brightness(0.8);
    transition: all 0.4s ease;
}

/* Hover Effect: The "Portal Activation" */
.portal-link:hover {
    border-color: #ff3333; /* Your accent color */
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
    transform: translateY(-5px) scale(1.03);
}

.portal-link:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* Mobile Adjustments */
@media screen and (max-width: 480px) {
    .links-portal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* YouTube Responsive Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* SoundCloud Padding/Shadow */
.soundcloud-container {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Ensure the Music containers are actually wide */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.soundcloud-wrapper {
    width: 100%;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}


/* review-list blockquote */
.review-list blockquote {
    border-left: 2px solid #ff5500;
    padding: 2rem 3rem; /* Increased padding */
    margin-bottom: 3rem; /* Increased spacing */
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
    
    /* Increased text size */
    font-size: 1.3rem; 
    line-height: 1.7; /* Added line-height for better flow */
    color: #e0e0e0; /* Brightened slightly */
}

/* Quote Source */
.review-list blockquote span {
    display: block;
    margin-top: 1.2rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15rem; /* Increased letter-spacing */
    color: #fff;
    
    /* Increased font size slightly to balance */
    font-size: 0.9rem; 
}



/* Clean Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.store-grid a {
    display: block;
    border-bottom: none !important;
    transition: transform 0.2s ease;
}

.store-grid a:hover {
    transform: scale(1.05);
}

.store-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* --- PayPal Store Section --- */

/* 1. Container and Label */
.paypal-container {
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

.paypal-container label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

/* 2. The Dropdown Menu */
select#os0 {
    display: block;
    width: 100% !important;
    max-width: 450px;
    height: 3.5rem;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    
    background: #111 !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    
    font-size: 1.15rem !important; 
    cursor: pointer;
    appearance: none; /* Removes default browser styling for a cleaner look */
}

/* 3. The Button Wrapper */
.paypal-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 0;
}

/* 4. The Button Itself */
.paypal-large-btn {
    transform: scale(1.3); /* The size increase you requested */
    transform-origin: center;
    transition: transform 0.2s ease !important;
    cursor: pointer;
    border: none !important;
    box-shadow: none !important;
}

.paypal-large-btn:hover {
    transform: scale(1.4); /* Interactive pop */
}



.news-content-wrap {
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-content-wrap .image.left {
    float: left;
    /* 3rem (approx 48px) provides a clear gutter on the right */
    /* 0.5rem keeps the text from dropping too far below the image */
    margin: 0 3rem 0.5rem 0 !important; 
}

.news-content-wrap p {
    text-align: left; /* Better for reading wrap-around text than justified */
    margin-bottom: 0;
}

/* Forces the first line of text to align with the top of the floated image */
.news-content-wrap .flush-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: -4px; /* Optional: fine-tune this value (usually -2px to -5px) to account for the font's line-height cap */
}

/* Ensure the image doesn't have an internal top margin from the theme */
.news-content-wrap .image.left {
    margin-top: 0 !important;
    line-height: 0; /* Removes any tiny whitespace below the image inside the span */
}



/* --- Master Link Adjustments for Dark Background --- */

/* 1. Global Link Color & Weight */
a {
    color: var(--accent); /* Sets the default to #FF0000 Red */
    text-decoration: none; /* Strips the standard underline */
    font-weight: 700;       /* Makes links stand out by making them BOLD */
    transition: all 0.3s ease; /* Smooth fade for hover effects */
}

/* 2. Global Hover State: The "Red Activation Glow" */
a:hover {
    color: #ffffff !important;   /* Flashes white to draw the eye */
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Subtle red halo glow */
}

/* 3. Link Underline Behavior for Content Areas */
/* Adds a faint dotted line for links inside content blocks */
.content a, .inner a, #banner a {
    border-bottom: dotted 1px rgba(255, 255, 255, 0.2); 
    padding-bottom: 2px;
}

/* 4. Link Hover Underline (turns solid and red) */
.content a:hover, .inner a:hover, #banner a:hover {
    border-bottom: solid 1px var(--accent);
}

/* 5. Nav Link Exclusions (To prevent navigation from becoming bold/red) */
#header .nav-item {
    font-weight: normal; /* Keep navigation clean */
    border-bottom: none !important;
}

#header .nav-item:hover {
    color: var(--accent);
}






/* Specific layout for Image Left / Text Right */
.spotlight-split {
    display: flex;
    align-items: flex-start; /* Keeps tops perfectly level */
    justify-content: flex-start;
    gap: 3.5rem; /* Space between image and text */
    width: 100%;
    padding-top: 2.5rem;
}

.spotlight-image {
    flex: 0 0 350px; /* Adjust this to make the square bigger or smaller */
    max-width: 350px;
}

.spotlight-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-text {
    flex: 1; 
    text-align: left;
}

/* Ensure the 'more' link is bold, red, and large enough for Google */
a.special {
    display: inline-block;
    font-size: 0.95rem !important;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 8px;
}

/* Mobile: Image goes on top of text on small screens */
@media screen and (max-width: 736px) {
    .spotlight-split {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    .spotlight-text {
        text-align: center;
    }
}


/* --- 3. Fixed Slim Header --- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This vertically centers the logo and links */
    
    /* Sticky Settings */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* Ensures it stays above all other content */
    
    /* Slimmer height: Reduced from 1.5rem/3rem to 0.75rem/2rem */
    padding: 0.75rem 2rem; 
    background: rgba(36, 38, 52, 0.95); /* Slightly more opaque for readability over text */
    backdrop-filter: blur(5px); /* Optional: adds a modern frosted glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo Alignment */
#header h1 {
    margin: 0;
    line-height: 1; /* Prevents the heading line-height from pushing it down */
    font-size: 1.2rem;
}

#header h1 a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2em;
    display: block; /* Helps with vertical centering */
}

/* Menu Alignment */
#header nav ul {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center; /* Ensures text is centered */
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem; /* Google-friendly size */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    padding: 0.5rem 0;
    display: block;
    line-height: 1; /* Matches the logo for perfect alignment */
    transition: color 0.3s ease;
}

/* --- IMPORTANT: Content Offset --- */
/* Since the header is now 'fixed', it floats ABOVE the page. 
   We need to push the rest of the content down so it's not hidden. */
body {
    padding-top: 3.5rem; /* Adjust this to match the new slim header height */
}


/* Force the Logo to be identical on every page */
#header h1, 
#header h2, 
#header .logo {
    font-size: 1.2rem !important;      /* Exact size */
    letter-spacing: 0.2em !important; /* Exact spacing between letters */
    text-transform: uppercase !important;
    font-family: var(--header-font);
    font-weight: 700 !important;
    margin: 0;
    line-height: 1;
}

#header h1 a, 
#header h2 a {
    border-bottom: none !important; /* Prevents the red underline from appearing on the logo */
    color: #fff !important;
}


/* -------------------------------------------------------
   SITE LOGO
   The header logo was changed from <h1> to <p class="site-logo">
   to avoid a duplicate h1 on the page (the banner now holds
   the single h1). These rules replicate the original h1
   styling so the visual output is identical.
------------------------------------------------------- */
 
#header p.site-logo {
    /* Reset paragraph defaults */
    margin: 0;
    padding: 0;
    line-height: inherit;
 
    /* Match whatever font/size your original h1 used inside #header.
       Adjust the values below if your theme's h1 differs. */
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: inherit;       /* inherits from #header h1 rule in main.css */
    letter-spacing: inherit;
    text-transform: inherit;
}
 
#header p.site-logo a {
    /* Inherit link colour and decoration from the original h1 a rule */
    color: inherit;
    text-decoration: none;
    border: none;
}
 
#header p.site-logo a:hover {
    color: inherit;
    opacity: 0.85;
}
 


#header p.site-logo a img {
    transition: filter 0.3s ease;
}

#header p.site-logo a:hover img {
   filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    opacity: 1; /* overrides the 0.85 opacity set on hover */
}