/* --- GLOBAL BASE STYLES --- */
* { box-sizing: border-box; }

body {
    background: linear-gradient(172deg, rgba(85,72,64,1) 0%, rgba(65,83,59,1) 100%);
    font-family: 'Open Sans', sans-serif;
    color: white;
    min-height: 100vh;
    margin: 0;
}

h1, h2, h3 { text-align: center; font-family: 'Montserrat', sans-serif; }
h1 { font-size: 30px; margin: 20px 0; }
p { line-height: 1.5; font-size: 16px; padding-right: 5px; padding-left: 5px;}
.center-text { text-align: center; }

/* --- LEGACY LAYOUT SUPPORT (For Learn More & Snapchat pages) --- */
.contents, .wrapper { max-width: 900px; margin: 0 auto; padding: 15px; }

/* Keep your tables looking clean on sub-pages */
table { width: 100%; border-collapse: separate; border-spacing: 0 15px; margin: auto; }
table td {
    padding: 20px;
    background-color: #fafaf5;
    color: black;
    border-radius: 8px;
    border: 2px solid #d6c1ab;
}

/* Fix for the Snapchat Sale grey background row */
tr[id="2"] td { background-color: #e0e0e0 !important; }

/* List styling for internal pages */
ul { text-align: left; display: inline-block; margin: 10px 0; }
li { margin-bottom: 8px; }

/* --- NAVIGATION & LINKS --- */
.nav-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.nav-link, a.sub-menu {
    color: #284283;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.nav-link:hover, a.sub-menu:hover { color: #38ffb6; }

/* White text for links on the dark background */
body > a.nav-link, .main-content .nav-link { color: lightyellow; }

/* --- MODERN HOME PAGE GRID --- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}


.army-card {
    background-color: #fafaf5;
    color: black;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    border: 2px solid #d6c1ab;
}

/* --- BUTTONS & UTILITIES --- */
/* --- BUTTONS & UTILITIES --- */

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 600px;
    margin: 20px auto;
    gap: 15px;
}

.myButton {
    display: block;
    width: 100%;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    color: #FFFFFF;
    border: 2px solid transparent;

    /* Smooth transition for the background and the glow only */
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Alternating Red/Blue & Patriotic Glow */
.myButton:nth-child(odd) {
    background-color: #B22234;
    box-shadow: 0 0 15px rgba(178, 34, 52, 0.4);
}

.myButton:nth-child(even) {
    background-color: #3C3B6E;
    box-shadow: 0 0 15px rgba(60, 59, 110, 0.4);
}

/* THE NUDGE TEXT - This Fades In smoothly */
.myButton::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out; /* The fade-in speed */
    white-space: nowrap;
    color: white; /* Dark Brown */
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

/* Your Personalized Nudges */
.myButton:nth-child(1):hover::before { content: 'Unlock the Vault! 💞🤤➡️'; }
.myButton:nth-child(2):hover::before { content: 'Relax and unload 🧖‍♀️💦➡️'; }
.myButton:nth-child(3):hover::before { content: 'Worship me from the inside and out 😻🎉➡️'; }
.myButton:nth-child(4):hover::before { content: 'Ring my bell 🔥➡️'; }
.myButton:nth-child(5):hover::before { content: 'Subscribe for free! 18+📖➡️'; }

/* ORIGINAL TEXT - No transition here means it disappears INSTANTLY */
.btn-text {
    display: inline-block;
    transition: none;
}

/* THE HOVER STATE - High Intensity Green Glow */
.myButton:hover {
    background-color: darkgreen;
    color: transparent; /* Forces the default text to vanish immediately */
    box-shadow: 0 0 10px #32CD32, 0 0 30px rgba(50, 205, 50, 0.6);
}

/* On hover: Instant Hide / Smooth Show */
.myButton:hover .btn-text {
    opacity: 0;
}

.myButton:hover::before {
    opacity: 1;
}

.alert2 { background-color: yellow; color: black; padding: 10px; border-radius: 8px; }

/* --- SOCIAL ICON RESTORATION --- */
.social-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #1A100E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* This removes the underline */
    transition: 0.3s;
}

.social-icon i {
    text-decoration: none; /* Ensures the icon itself isn't underlined */
    font-size: 20px;
}

.social-icon:hover {
    transform: translateY(-5px); /* The "pop" effect */
    color: #38ffb6; /* Mint green on hover */
}

/* Specific button cleanup to prevent underlines there too */
.myButton {
    display: block;         /* Ensures the link fills the width */
    width: 100%;            /* Makes all buttons the same width */
    text-align: center;     /* Centers the text inside the button */
    box-sizing: border-box; /* Prevents padding from breaking the width */
    padding: 15px;          /* Makes them chunky and easy to click */
    /* Add your existing colors/borders below */
    text-decoration: none;
    border-radius: 8px;
}

/* Images */
img { max-width: 100%; height: auto; border-radius: 4px; }
.short { max-width: 800px; display: block; margin: 0 auto; }

/* Restored Learn More Link Styles */
.nav-link {
    color: lightyellow;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 5px;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: #38ffb6;
    border-bottom: 3px solid #f96854;
}

/* --- FIX FOR CUT-OFF CONTENT & SMOOTH ROLL --- */
.display-content {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 15px;
    color: black;
    margin-top: 20px;
    /* Cubic-bezier keeps that "weighted" page-opening feel */
    transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-in-out;
}

.display-content.is-visible {
    /* Increased to 10000px so Special Forces never gets cut off */
    max-height: 10000px;
    opacity: 1;
    visibility: visible;
    border: 1px solid #ddd;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* This ensures the bottom card (Special Forces) has breathing room */
#inner-content {
    padding: 25px;
    display: block;
    height: auto;
}
/* --- SIDENAV  --- */
.sidenav {
    height: 100%;
    width: 0; /* Managed by JavaScript openNav() */
    position: fixed;
    z-index: 2000; /* Higher than cards to ensure it's on top */
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Tooltip & Trigger Styling */
.menu-trigger {
    margin: 20px 0;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Banner sizing to make sure it looks right on top */
.banner {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* --- GLOBAL LINK STYLES --- */
a {
    color: #284283; /* Your original Ballpoint Blue */
    text-decoration: none;
    transition: all 0.3s ease; /* The smooth transition you want */
}

a:hover {
    color: #f96854; /* Your original Red/Coral for hover */
}

/* Mobile Specific Adjustments */
@media only screen and (max-width: 767px) {
    .card-grid {
        grid-template-columns: 1fr; /* Force cards to stack vertically */
        padding: 0 10px;
    }

    h1 {
        font-size: 24px; /* Shrink the header so it doesn't wrap awkwardly */
    }

    .army-card {
        padding: 15px; /* Give more room for content on small screens */
    }

    .button-group {
        flex-direction: column; /* Stack your Patreon/OnlyFans buttons for easier tapping */
    }

    .myButton {
        width: 100%; /* Make buttons full-width for "fat-finger" friendliness */
        text-align: center;
    }
}

h5 {
  color: #0A3161;;
}

/* --- STANDARD BUTTON (No Text Swap) --- */

.myButton2 {
    display: block;
    width: 100%;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1.1rem;
    cursor: pointer;
    color: #FFFFFF;
    border: 2px solid transparent;

    /* Background and glow transition only */
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Red/Blue Alternating Colors */
.myButton2:nth-child(odd) {
    background-color: #B22234;
    box-shadow: 0 0 15px rgba(178, 34, 52, 0.4);
}

.myButton2:nth-child(even) {
    background-color: #3C3B6E;
    box-shadow: 0 0 15px rgba(60, 59, 110, 0.4);
}

/* Hover State: Tactical Green Glow (Text stays white naturally) */
.myButton2:hover {
    background-color: darkgreen;
    box-shadow: 0 0 10px #32CD32, 0 0 30px rgba(50, 205, 50, 0.6);
    color: white;
}
