/* ==========================================================================
   1. Google Fonts Import & Design Tokens
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-bg: #0d0d11;
    --color-surface: #16161f;
    --color-surface-hover: #1f1f2e;
    --color-gold: #ffc600;
    --color-teal: #60c7c4;
    --color-text: #e2e2e9;
    --color-text-muted: #8e8e9f;
    --color-error: #ff4a4a;
    
    /* Typography */
    --font-primary: 'Rajdhani', system-ui, -apple-system, sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    
    /* Structural Sizing */
    --header-height: 110px; 
    --border-radius: 4px;
    --transition-speed: 0.25s;
    --max-width: 1300px;
}

/* ==========================================================================
   2. Global Resets & Elements Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #252535;
    border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
	font-weight: 600;
	letter-spacing: 0.5px;
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-height); /* Holds space for the floating nav */
    -webkit-font-smoothing: antialiased;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

h1.header {
	position:relative;
	top: -6rem;
	margin-left:3rem;
	margin-bottom:-4rem;
	-webkit-text-stroke: 1px black;
}

h1 { font-size: 2.25rem; line-height: 1.2; }
h2 { font-size: 1.75rem; border-bottom: 1px solid rgba(255, 198, 0, 0.15); padding-bottom: 0.5rem; }
h3 { font-size: 1.35rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-gold);
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(96, 199, 196, 0.3), transparent);
    margin: 2.5rem 0;
}

/* ==========================================================================
   3. Floating Persistent Header (Hanging Logo Layout)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height); /* Keeps the bar at 110px */
    background-color: rgba(13, 13, 17, 0.96);
    border-bottom: 3px solid var(--color-gold);
    z-index: 1000;
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative; /* Establish positioning anchor for the absolute logo */
    display: flex;
    align-items: center;
    justify-content: center; /* Naturally centers the menu perfectly across the header */
}

/* Float the logo container independently off the navbar grid */
.logo-link {
    position: absolute;
    left: 2rem;            /* Anchors it safely to the left boundary */
    top: 0px;             /* Shifts the start point down slightly from the absolute top */
    display: flex;
    align-items: center;
    z-index: 1010;
}

/* Scale up the image so its height breaks past the 110px nav bar boundary */
.site-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/* Navigation menu is now automatically centered without side-margin hacks */
.nav-menu {
	position:relative;
	top: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
	margin-left:150px;
}

.nav-item {
    color: var(--color-teal);
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed) ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-gold);

}

/* Menu Toggle Button Settings */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1010;
}

/* ==========================================================================
   4. Core Structural Content Grids
   ========================================================================== */
.main-content {
    min-height: calc(100vh - var(--header-height) - 120px);
    padding: 0 1.5rem;
}

.content-container {
    max-width: 1225px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(96, 199, 196, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Utility Showcase Elements */
.callout-box {
    background: var(--color-bg);
    border-left: 4px solid var(--color-gold);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.callout-box h3, .callout-box h4 {
    margin-bottom: 0.5rem;
}
.callout-box p:last-child {
    margin-bottom: 0;
}
/* Full-Width Page Header Image Component */
.image.header {
    display: block;
    width: calc(100% + 6rem); /* Mathematically balances out the container's 3rem side paddings */
    margin-left: -3rem;       /* Shifts image flush to the left boundary edge */
    margin-right: -3rem;      /* Shifts image flush to the right boundary edge */
    margin-top: -3rem;        /* Pulls image flush against the top edge of the card */
    margin-bottom: 2.5rem;    /* Spacing between banner and page content */
    overflow: hidden;
    
    /* Matches your core container corner rounding radius so corners don't clip */
    border-top-left-radius: var(--border-radius);  
    border-top-right-radius: var(--border-radius);
    
    /* Neon gold accent underline matching your design language */
    border-bottom: 2px solid var(--color-gold); 
}

.image.header img {
    width: 100%;
    object-fit: cover;        /* Autofits the graphic perfectly without stretching or distortion */
    display: block;
}
.image.footer {
    display: block;
    width: calc(100% + 6rem); /* Mathematically balances out the container's 3rem side paddings */
    margin-left: -3rem;       /* Shifts image flush to the left boundary edge */
    margin-right: -3rem;      /* Shifts image flush to the right boundary edge */
    margin-top: 0;        /* Pulls image flush against the top edge of the card */
    margin-bottom: -3rem;    /* Spacing between banner and page content */
    overflow: hidden;
    
    /* Matches your core container corner rounding radius so corners don't clip */
    border-top-left-radius: var(--border-radius);  
    border-top-right-radius: var(--border-radius);
}

.image.footer img {
    width: 100%;
    object-fit: cover;        /* Autofits the graphic perfectly without stretching or distortion */
    display: block;
}
/* Inline Full-Width Content Image Component */
.image.main {
    display: block;
    width: calc(100% + 6rem); /* Breaks out of the container's 3rem side paddings */
    margin-left: -3rem;       /* Pulls image flush to the left boundary edge */
    margin-right: -3rem;      /* Pulls image flush to the right boundary edge */
    margin-top: 3rem;         /* Generous breathing room for content above */
    margin-bottom: 3rem;      /* Generous breathing room for content below */
    overflow: hidden;
    border-radius: 0;         /* Square edges since it stretches flush to the container sides */
    
    /* Subtle horizontal borders to frame the breakout banner cleanly */
    border-top: 1px solid rgba(96, 199, 196, 0.2);
    border-bottom: 1px solid rgba(96, 199, 196, 0.2);
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
	
	/* Neon gold accent underline matching your design language */
    border-bottom: 2px solid var(--color-gold); 
}

.image.main img {
    width: 100%;
    object-fit: cover;
    display: block;
}
/* Right-Aligned Text-Wrapping Image Component */
.image.right {
    float: right;
    max-width: 320px;         /* Prevents the image from crowding out the text column */
    width: 100%;              /* Ensures scalability inside its constraints */
    margin-left: 2rem;        /* Pushes wrapping text away from the left of the graphic */
    margin-bottom: 1.5rem;    /* Pushes trailing paragraphs away from the bottom */
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid rgba(96, 199, 196, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image.right img {
    width: 100%;
    height: auto;             /* Uses natural aspect ratio—ideal for cards, flyers, and items */
    display: block;
}

/* Left-Aligned Text-Wrapping Image Component */
.image.left {
    float: left;
    max-width: 320px;         /* Prevents crowding out the text column */
    width: 100%;              /* Ensures responsiveness */
    margin-right: 2rem;       /* Pushes wrapping text away from the right of the graphic */
    margin-bottom: 1.5rem;    /* Pushes trailing paragraphs away from the bottom */
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid rgba(96, 199, 196, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image.left img {
    width: 100%;
    height: auto;
    display: block;
}

/* Centered Standalone Image Component */
.image.center {
    display: block;
    margin: 2.5rem auto;      /* "auto" handles the horizontal centering calculation */
    max-width: 650px;         /* Ideal display width for medium showcases, badges, or flyers */
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid rgba(96, 199, 196, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.image.center img {
    height: auto;
    display: block;
}

/* ==========================================================================
   5. Comprehensive Form Styling Suite
   ========================================================================== */
.arcade-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-group label {
    color: var(--color-teal);
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Input Element Architecture */
.arcade-form input[type="text"],
.arcade-form input[type="email"],
.arcade-form input[type="password"],
.arcade-form input[type="number"],
.arcade-form input[type="tel"],
.arcade-form input[type="date"],
.arcade-form select,
.arcade-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background-color: var(--color-bg);
    border: 2px solid rgba(96, 199, 196, 0.35);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

/* Native Select Arrow Treatment Override */
.arcade-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2360c7c4'><polygon points='0,0 10,0 5,5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 10px;
    padding-right: 2.5rem;
}

/* Interaction Focus Infrastructure */
.arcade-form input:focus,
.arcade-form select:focus,
.arcade-form textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 198, 0, 0.18);
}

.arcade-form input::placeholder,
.arcade-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Custom Styled Engine for Checkboxes */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    user-select: none;
    margin: 0.25rem 0;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-teal);
    border-radius: 3px;
    background-color: var(--color-bg);
    cursor: pointer;
    display: grid;
    place-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background var(--transition-speed), border-color var(--transition-speed);
}

.checkbox-group input[type="checkbox"]::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--color-bg);
    transform: scale(0);
    transition: transform 0.15s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-group input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.checkbox-group label {
    color: var(--color-text);
    text-transform: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: 0;
    cursor: pointer;
    line-height: 1.4;
}

/* Validation System Indicators */
.form-group.error input {
    border-color: var(--color-error);
}
.error-msg {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: -0.25rem;
}

/* Button UI Components */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn {
    padding: 0.9rem 2.25rem;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 0 8px rgba(255, 198, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 0 15px rgba(255, 198, 0, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-muted);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    border-color: var(--color-text-muted);
}
/* Outer File Input Container */
.arcade-form input[type="file"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: var(--color-bg);
    border: 2px solid rgba(96, 199, 196, 0.35);
    border-radius: var(--border-radius);
    color: var(--color-text-muted);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.arcade-form input[type="file"]:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 198, 0, 0.18);
}

/* Custom Styled "Choose File" Button Inside */
.arcade-form input[type="file"]::file-selector-button {
    background-color: transparent;
    color: var(--color-teal);
    border: 1px solid var(--color-teal);
    border-radius: var(--border-radius);
    padding: 0.45rem 1.1rem;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

/* Hover Effect for the Upload Button */
.arcade-form input[type="file"]::file-selector-button:hover {
    background-color: var(--color-teal);
    color: var(--color-bg);
    box-shadow: 0 0 10px rgba(96, 199, 196, 0.4);
}
/* Forces the input background to stay dark when browser autofill kicks in */
.arcade-form input:-webkit-autofill,
.arcade-form input:-webkit-autofill:hover,
.arcade-form input:-webkit-autofill:focus,
.arcade-form textarea:-webkit-autofill,
.arcade-form select:-webkit-autofill {
    -webkit-text-fill-color: var(--color-text);
    -webkit-box-shadow: 0 0 0px 1000px var(--color-bg) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Ensures background color and text color remain consistent while typing/focused */
.arcade-form input:focus,
.arcade-form select:focus,
.arcade-form textarea:focus,
.arcade-form input:active {
    background-color: var(--color-bg) !important;
    color: var(--color-text);
}

/* ==========================================================================
   6. Data Tables & Grids (High Scores & Game Displays)
   ========================================================================== */
.arcade-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.arcade-table th {
    font-family: var(--font-accent);
    color: var(--color-teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--color-gold);
}

.arcade-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition-speed);
}

.arcade-table tr:hover td {
    background-color: var(--color-surface-hover);
}

.score-highlight {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-weight: 700;
}

/* ==========================================================================
   7. Global Footer Environment (4-Column Layout Architecture)
   ========================================================================== */
.main-footer {
    background-color: #09090d;
    padding: 4.5rem 1.5rem 2rem 1.5rem;
    border-top: 3px solid var(--color-teal);
    color: var(--color-text-muted);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Generates 4 equal columns */
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-column h4 {
    color: var(--color-gold);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 198, 0, 0.15);
    padding-bottom: 0.5rem;
}

.footer-column p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-column strong {
    color: var(--color-text);
}

/* Dedicated Text + Icon Social Navigation List */
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-social-list a {
    color: var(--color-teal) !important;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Precise spacing between icon and text label */
    text-decoration: none;
    border-bottom: none !important; /* Prevents template text-link underlines */
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

/* Force icons to render beautifully with a fixed width alignment constraint */
.footer-social-list .label-icon {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-teal); /* Teal branding accent color for icons */
    transition: color var(--transition-speed) ease;
}

/* Hover effects for the social list items */
.footer-social-list a:hover {
    color: var(--color-gold) !important;
    padding-left: 6px; /* Smooth interactive nudge forward */
}

.footer-social-list a:hover .label-icon {
    color: var(--color-gold); /* Icons swap from teal to gold on hover */
}

/* Standard Quick Links List Styles */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-list a {
    color: var(--color-teal);
    font-size: 0.95rem;
    border-bottom: none !important;
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

.footer-links-list a:hover {
    color: var(--color-gold);
    padding-left: 6px;
}

/* Horizontal Base Metadata Row */
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between; /* Spreads Copyright (left), Tagline (center), and Links (right) */
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Legal Links Layout Row */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-links a {
    color: var(--color-teal);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--color-gold);
}

.footer-legal-links .divider {
    color: var(--color-text-muted);
}

/* ==========================================================================
   8. Layout Fluidity & Media Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        margin-right: 0; /* Remove centering counterweight as layout shrinks */
        gap: 1rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
	h1.header {
	position:relative;
	font-size:1.5rem;
	top: -6rem;
	margin-bottom:-4rem;
	-webkit-text-stroke: 1px black;
}
}

@media (max-width: 768px) {
    body {
        padding-top: 80px; 
    }
    
    .main-header {
        height: 80px;
    }

	.header-container {
        position: relative;
        justify-content: flex-end; /* Safely pushes your hamburger toggle button to the far right edge */
    }
	
	h1.header {
	position:relative;
	font-size:1.2rem;
	top: -6rem;
	margin-bottom:-4rem;
	-webkit-text-stroke: 1px black;
}

    /* Reset absolute floating behavior on mobile devices */
    .logo-link {
        position: absolute; 
		left: 1.25rem;  /* Keeps logo clear of left viewport edge */
        top: 6px;       /* Slightly offsets top tracking inside the bar */
    }

    .site-logo {
		height: 100px;  /* Exceeds the 80px bar height to force a 26px protrusion */
        max-width: 85px; /* Hard horizontal limit so it won't crowd the viewport width */
        filter: none;
    }

    .menu-toggle {
        display: block; 
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        border-bottom: 3px solid var(--color-teal);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        display: none;
        box-shadow: 0 15px 25px rgba(0,0,0,0.6);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-item {
        padding: 1.15rem 2rem;
        border-bottom: none;
        border-left: 4px solid transparent;
    }

    .nav-item:hover, .nav-item.active {
        border-bottom: none;
        border-left: 4px solid var(--color-gold);
        background-color: var(--color-surface-hover);
    }

    .content-container {
        padding: 1.75rem;
    }
	
	/* Adapts full-width banner configuration for smaller screens */
    .image.header {
        width: calc(100% + 3.5rem); /* Balances out the mobile 1.75rem side paddings */
        margin-left: -1.75rem;
        margin-right: -1.75rem;
        margin-top: -1.75rem;
        margin-bottom: 1.75rem;
    }
    .image.footer {
        width: calc(100% + 3.5rem); /* Balances out the mobile 1.75rem side paddings */
        margin-left: -1.75rem;
        margin-right: -1.75rem;
        margin-bottom: -1.75rem;
    }
    
	
/* Adapts inline full-width breakout banner for mobile paddings */
    .image.main {
        width: calc(100% + 3.5rem); /* Dynamic balance for mobile 1.75rem container padding */
        margin-left: -1.75rem;
        margin-right: -1.75rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
	/* Resets right-aligned text images to stack vertically on mobile touchscreens */
    .image.right {
        float: none;          /* Disables text-wrapping */
        max-width: 100%;      /* Allows it to use full readable width on smaller viewports */
        margin-left: 0;       /* Clears desktop side tracking space */
        margin-top: 0.5rem;
        margin-bottom: 1.75rem; /* Clean vertical spacing for text following below it */
    }
	/* Resets left-aligned text images to stack vertically on mobile viewports */
    .image.left {
        float: none;
        max-width: 100%;
        margin-right: 0;
        margin-top: 0.5rem;
        margin-bottom: 1.75rem;
    }

    /* Scales down margins on centered images for small screens */
    .image.center {
        margin: 1.75rem auto;
        max-width: 100%;
    }
/* Collapses 4-column footer seamlessly on mobile screens */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-column h4 {
        display: inline-block;
        margin: 0 auto 0.5rem auto;
        width: fit-content;
    }

    .footer-social-list a {
        justify-content: center; /* Center aligns text + icons on mobile */
    }
    
    .footer-social-list a:hover {
        padding-left: 0; /* Disables side-shifting animation on mobile views */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
/* Centers and stacks all three bottom components vertically on mobile viewports */
    .footer-bottom {
        flex-direction: column;
        gap: 0.85rem;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        margin-top: 0.25rem;
    }
	
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
/* ==========================================================================
   9. Dynamic Viewport-Locked Promo Dock Engine
   ========================================================================== */
/* Base Structural Dock Container */
.floating-promo-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    pointer-events: none;
    opacity: 1;
    transition: transform var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out;
}

/* Hidden State (Triggered when intersecting with the global footer) */
.floating-promo-dock.dock-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%);
}

/* Core Full-Width Uniform Ribbon Design */
.promo-badge {
    width: 100%;
    height: auto;
    padding: 1.1rem 1rem;
    display: none; 
    position: absolute;
    bottom: 0;
    left: 0;
    
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    pointer-events: auto;
    
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    border-top: 3px solid var(--color-text);
}

/* Active Engine Trigger (Toggled via Scroll JavaScript) */
.promo-badge.dock-active {
    display: flex;
    animation: promoRibbonSlideUp var(--transition-speed) ease-out;
}

@keyframes promoRibbonSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   UTILITY MIX-AND-MATCH THEME MODIFIERS
   -------------------------------------------------------------------------- */

/* Theme 1: High-Contrast Solid Neon Gold (Matches your primary buttons) */
.promo-badge.theme-gold {
    background-color: var(--color-gold);
    color: var(--color-bg) !important;
    border-top-color: #ffffff;
}
.promo-badge.theme-gold strong {
    color: white;
}

/* Theme 2: Dark Onyx Chassis with Neon Teal Accents */
.promo-badge.theme-teal {
    background-color: var(--color-teal);
    color: var(--color-text) !important;
    border-top-color: var(--color-gold);
}
.promo-badge.theme-teal strong {
    color: var(--color-gold);
    font-size: 1.2rem;
    display: inline-block;
    margin-left: 0.5rem;
}