/* styles.css */
/* Reset and base styles */
html {
    scroll-padding-top: 110px;          /* ← adjust this value to match your navbar height */
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1c1c1c; /* Dark background for body */
    color: #f0f0f0; /* Light text for contrast on dark bg */
    line-height: 1.6;
    padding-top: 80px;
}

a {
color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

/* Colors: Primarily dark green and yellow, with blue accent */
:root {
    --primary: #0d6efd; /* Blue accent for buttons/links */
    --secondary: #23af6e; /* Green */
    --accent: #ffc107; /* Yellow */
    --dark-green: #0a3d2a; /* Dark green */
    --dark-yellow: #3d2a0a; /* Dark yellow */
    --text: #f0f0f0;
    --bg: #1c1c1c;
    --light-bg: #2b2a2a; /* Adjusted lighter gray for sections */
    --alt-bg: #252525; /* Adjusted darker alternate gray for more contrast */
    --gradient-bg: linear-gradient(135deg, rgba(48, 48, 48, 0.8), rgba(32, 32, 32, 0.8)); /* Adjusted subtle gradient for liveliness */
}

/* Container for negative space */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Blurry semi-dark overlay container for better text contrast */
.blurry-container {
    position: relative;
    z-index: 2;                       /* Above background, below text */
    background: rgba(28, 28, 28, 0.3);  /* Dark gray with transparency – adjust darkness (0.5–0.7) */
    backdrop-filter: blur(6px);       /* Main blur effect – modern glass/matte look */
    -webkit-backdrop-filter: blur(6px); /* Safari support */
    border-radius: 16px;               /* Soft rounded corners */
    padding: 3rem 2.5rem;              /* Breathing room inside */
    max-width: 900px;                  /* Prevents it from being too wide on large screens */
    margin: 0 auto 50px;                    /* Center it */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); /* Subtle depth/shadow */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Very faint light border for premium feel */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional hover/lift effect */
.blurry-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}


/* Navbar */
/*.navbar {
    background-color: var(--bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}*/

.navbar {
    background-color: var(--bg);
    padding: 1rem 0;
justify-content: center;
margin: 0 auto;
    /* Core sticky/fixed behavior */
       position: fixed;
    top: 0;
    left: 0;
    right: 0;
    
    z-index: 1000;

    /* Visual feedback when scrolling */
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);          /* Modern glass effect - very popular in 2025+ */
    -webkit-backdrop-filter: blur(8px);  /* Safari support */

    /* Optional: slight transparency when not at top */
    transition: all 0.4s ease;
    text-align:center;
}


/* Optional: Make it look even better when scrolled down */
.scrolled .navbar {
    background-color: rgba(28, 28, 28, 0.92); /* slightly transparent */
    padding: 0.8rem 0;                        /* slightly smaller when scrolled */
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    justify-content:center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    align-items:center;
    margin:15px;
}

.hamburger span {
    width: 36px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center;
    z-index:1200;
}

/* Mobile menu active state */
.nav-active .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
}
.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0.1);
}
.nav-active .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
}

/* Mobile menu */
@media (max-width: 900px) {

	body {
    padding-top: 100px;
}

    	.hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        height: 90vh;
        width: 80%;
        max-width: 320px;
        background: rgba(28,28,28,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        transition: right 0.45s cubic-bezier(0.77,0.2,0.05,1);
        z-index: 1000;
    }

    .nav-active .nav-links {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-weight: 500;
    }

    /* Logo on mobile gets a bit smaller */
    .logo {
        font-size: 1.4rem;
    }
}


/* Sections */
.section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--light-bg);
    background-image: none; /* Placeholder for background image - replace with url('your-image.jpg') to add an image to this section */
    background-size: cover; /* Ensures image covers the section if added */
    background-position: center; /* Centers the image */
    position: relative; /* For potential overlays or animations */
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg); /* Subtle gradient overlay for all sections to add depth and liveliness */
    z-index: -1;
    opacity: 0.5; /* Adjustable opacity for contrast */
}

.image-wrapper {
  width: 90%;                    /* full width of parent/container */
  height: 500px;                  /* ← your desired fixed height */
  overflow: hidden;               /* hides the cropped parts */
}

.image-wrapper img {
  width: 100%;
  height: 10%;                   /* fills the wrapper completely */
  object-fit: cover;              /* crops while keeping aspect ratio */
  object-position: 0 -330px;        /* centers the crop – change to top, bottom, left, etc. */
  display: block;                 /* removes any unwanted bottom gap */
}
.image-wrapper {
  position: relative;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
  pointer-events: none;
}

/* African-inspired geometric border accent */
.african-border1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: 
        linear-gradient(to right, #f0c14b 0%, transparent 10%, transparent 90%, #f0c14b 100%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(240, 193, 75, 0.25) 20px, rgba(240, 193, 75, 0.25) 40px);
    background-size: 100% 100%, 80px 80px;
    z-index: 4;
    opacity: 0.7;
}


.african-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background:
        linear-gradient(to right, #f0c14b 0%, transparent 10%, transparent 90%, #f0c14b 100%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(240, 193, 75, 0.25) 20px, rgba(240, 193, 75, 0.25) 40px);
    background-size: 100% 100%, 80px 80px;
    z-index: 4;
    opacity: 0.7;
}

/* Optional centered text overlay */
.bridge-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    padding: 0 20px;
}

@media (max-width: 768px) {
    .transition-bridge {
        height: 50vh;
        min-height: 400px;
    }

    .bridge-content {
        font-size: 1.2rem;
    }
}



.tokenomics {
    margin-top: 50px;
    text-align: center;
}

.tokenomics h3 {
    font-size: 2.2em;
    color: #f0c14b; /* your gold theme */
    margin-bottom: 20px;
}

.tokenomics-chart {
    max-width: 500px;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.distribution-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.distribution-list li {
    background: rgba(240, 193, 75, 0.08);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid #f0c14b;
}

.distribution-list strong {
    color: #ffd700;
}



.hero {
    
    min-height: 80vh;
    background: linear-gradient(rgba(10, 61, 42, 0.25), rgba(61, 42, 10, 0.25)),
                url('images/tarc-token-fast-train.jpg') center/cover no-repeat fixed;
		color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2); 

}




#intro {
    background-color: #2a3d2a; /* dark green for calm Africa feel */
    text-align: center;
    padding: 6rem 0;
}

#intro h1 {
    color: var(--accent); /* your yellow */
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

#intro h2 {
/*    color: #ffd700;*/ /* bright gold for energy */
    margin: 2rem 0 1rem;
}

#intro p, #intro ul {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1.5rem auto;
    line-height: 1.8;
}

#intro ul {
    list-style: none;
    padding: 0;
}

#intro ul li {
    margin: 1rem 0;
    font-weight: 500;
}

/* Alternate section backgrounds for better contrast and variety */
.section:nth-child(even) {
    background-color: var(--alt-bg); /* Alternate color for even sections */
}

/* To add a background image to a specific section, add this to the section's ID in CSS or inline:
   background-image: url('path/to/your-image.jpg');
   And adjust overlay opacity if needed for text contrast. */

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent); /* Yellow for tagline */
}

.gigantic {
    font-size: 5.5rem; /* Gigantic for "Hop Onboard" */
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tagline {
color:white;
-webkit-text-stroke: 0px;
font-weight:normal;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary); /* Green for "Accelerate" */
     text-shadow: 
        0 0 10px rgba(0,0,0,0.7),    /* strong dark core shadow */
        0 0 25px rgba(0,0,0,0.5),    /* softer outer glow */
        0 4px 8px rgba(0,0,0,0.4);

    -webkit-text-stroke: 1px rgba(0,0,0,0.5);  /* black outline */
    text-shadow: 0 0 10px rgba(0,0,0,0.1);

}

p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform for animation */
}

.primary-btn {
    background-color: var(--primary); /* Blue accent */
    color: #fff;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5); /* Subtle depth/shadow */
 z-index:999;   
}

.primary-btn:hover {
    background-color: #0a58ca; /* Darker blue */
    transform: translateY(-4px); /* Lift effect on hover for more life */
}

/* Container for positioning - wrap both links if possible, or use relative on the main button */
.btn.primary-btn.buy-tooltip {
    position: relative;           /* Important for absolute positioning of help-btn */
    padding-right: 50px !important; /* Make space on the right for the ? button */
}

/* The small round question mark button */
.help-btn {
    position: relative;
    top: -65px;
    right: -510px;
    width: 32px;
    height: 32px;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #f0c14b;          /* gold border to match theme */
    box-shadow: 0 0 10px rgba(240, 193, 75, 0.4);
    text-decoration: none;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect */
.help-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 18px rgba(240, 193, 75, 0.7);
    background: #111111;
}

/* Optional: "Need help?" tooltip on hover */
.help-btn::after {
    content: "Need help?";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 0.75em;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(6px);
}

.help-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Optional small downward arrow for the tooltip */
.help-btn::after::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.specs-list, .community-links, .resources-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.resources-list a, .community-links a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease, padding-left 0.3s ease; /* Added padding for slide effect */
}

.resources-list a:hover, .community-links a:hover {
    color: #ffc107; /* Yellow accent on hover */
    padding-left: 5px; /* Subtle slide for interactivity */
}

.specs-list li, .community-links li, .resources-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    transition: transform 0.3s ease; /* Animation for list items */
}

.specs-list li:hover, .community-links li:hover, .resources-list li:hover {
    transform: translateX(5px); /* Slide on hover for liveliness */
}



.token-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns on desktop/tablet */
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

/* On small screens (mobile), stack to 1 column */
@media (max-width: 768px) {
    .token-specs-grid {
        grid-template-columns: 1fr;
    }
}

.spec-card {
    background: rgba(20, 30, 20, 0.7);
    border: 1px solid rgba(240, 193, 75, 0.25);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 240px;               /* Increased min-height for better balance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Special treatment for the long contract address card */
.spec-card.contract-address {
    grid-column: span 2;             /* Makes it span full width (2 columns) */
    min-height: 280px;               /* Even taller to comfortably fit the address */
    text-align: center;                /* Better for long text */
    padding: 32px 36px;
}

.spec-card.contract-address .spec-value {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.95rem;
    color: #aaffaa;
    line-height: 1.5;
    text-align: center;
}

.spec-value a {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.95rem;
    color: #aaffaa;
    line-height: 1.5;
    text-align: center;
    text-decoration:none;
}

.spec-value a:hover {
color:white;
text-decoration:underline;
}

/* Special treatment for the long contract address card */
.spec-card.market-stats {
    grid-column: span 2;             /* Makes it span full width (2 columns) */
    min-height: 280px;               /* Even taller to comfortably fit the address */
    text-align: center;                /* Better for long text */
    padding: 32px 36px;
}   

.spec-card.market-stats .spec-value {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.95rem;
    color: #aaffaa;
    line-height: 1.5;
    text-align: center;
}


/* Existing styles remain unchanged, add these */

details {
    margin-top: 16px; /* Space from the h4 */
    cursor: pointer;
    text-align: left; /* Align links to left for better readability if needed; change to center if preferred */
}

summary {
    font-family: monospace;
    font-size: 1rem;
    color: #aaffaa;
    background: rgba(20, 30, 20, 0.5); /* Subtle background for the toggle */
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    list-style: none; /* Remove default marker */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the summary text */
}

summary:hover {
    color: white;
    background: rgba(20, 30, 20, 0.8);
}

summary::after {
    content: ' ↓'; /* Simple arrow indicator; change to '▶' or use an emoji */
    margin-left: 8px;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: ' ↑'; /* Rotates/updates on open */
}

details[open] {
    transition: all 0.3s ease;
}

/* Adjust the market-stats card height now that links are collapsible */
.spec-card.market-stats {
    grid-column: span 2;
    min-height: 200px; /* Reduced since collapsible saves space */
    text-align: center;
    padding: 32px 36px;
}


/* Rest of the cards stay normal size */
.spec-card:not(.contract-address) {
    /* Optional: slightly smaller padding if needed */
}

/* Hover effect (same as before) */
.spec-card:hover {
    transform: translateY(-8px);
    border-color: #f0c14b;
    box-shadow: 0 15px 35px rgba(240, 193, 75, 0.25);
}

.spec-icon {
    font-size: 3.5rem;               /* Slightly larger icons */
    margin-bottom: 18px;
    color: #f0c14b;
}

.spec-card h4 {
    color: #ffd700;
    font-size: 1.4rem;
    margin: 0 0 14px 0;
}

.spec-value {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}


.address-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.spec-value {
    font-family: monospace;
    font-size: 0.95rem;
    color: #aaffaa;
    word-break: break-all;
    background: rgba(0,0,0,0.3);
    padding: 10px 14px;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
}

.copy-btn {
    background: rgba(240, 193, 75, 0.15);
    border: 1px solid #f0c14b;
    color: #f0c14b;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(240, 193, 75, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 193, 75, 0.25);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.1rem;
}

.copy-text {
    font-weight: 500;
}

/* Feedback after copy */
.copy-btn.copied {
    background: rgba(100, 255, 100, 0.25);
    border-color: #64ff64;
    color: #64ff64;
}

.copy-btn.copied .copy-text {
    content: "Copied!";
}


#team {
    position: relative;
    padding-top: 0; /* Remove default top padding if any */
    overflow: hidden;
}

#team::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/president.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

#team::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 26, 15, 0.85) 0%,    /* dark green overlay */
        rgba(15, 26, 15, 0.92) 60%,
        #0f1a0f 100%
    );
    z-index: 1;
}

#team .container {
    position: relative;
    z-index: 2;
    padding-top: 120px; /* Space for the hero area */
    padding-bottom: 80px;
}

/* Optional: Add a subtle gold glow/vignette for premium feel */
#team .container::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 30%, rgba(240, 193, 75, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Make the h2 larger and centered in the hero area */
#team h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #f0c14b;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.team-member {
    margin-bottom: 40px;
    transition: transform 0.3s ease; /* Animation for team members */
}

.team-member:hover {
    transform: scale(1.02); /* Subtle zoom on hover */
}

.team-member h3 {
    font-size: 1.8rem;
    color: var(--secondary);
}


.team-member {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.team-member:last-child {
    margin-bottom: 0;
}

/* Photo / Logo container */
.team-photo {
    flex: 0 0 180px;                /* fixed width for consistency */
    text-align: center;
}

.org-logo {
    max-width: 100%;
    height: auto;
    max-height: 140px;              /* prevent logo from becoming too tall */
    object-fit: contain;
}

.member-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;             /* circular photo for modern look */
    object-fit: cover;
    border: 4px solid #f0c14b;      /* gold border to match your theme */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Text content */
.team-info {
    flex: 1;
    min-width: 0;
}

.team-info h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.8em;
    color: #f0c14b;                 /* match your gold theme */
}

.team-info p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}






 #tarc-dev-info {
            font-family: system-ui, sans-serif;
            max-width: 600px;
            margin: 2rem auto;
            padding: 1.5rem;
            border-radius: 8px;
            line-height: 1.5;
        }
        strong { color: #0066cc; }

.small-center {
text-align:center;
font-size:0.8em;
margin: 5px 0 50px 0px;
color: rgba(255,255,255,0.5);
}

.small-tarc-presents {
text-align:center;
font-size:0.8em;
margin: 0px 0 0px 0px;
color: rgba(255,255,255,0.5);
}


/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
 /*   overflow: hidden;*/
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
/*    background: rgba(20, 30, 20, 0.7);*/
    border: 1px solid rgba(240, 193, 75, 0.25);
max-height:300px;

}

.carousel-inner {
    transition: transform 0.5s ease;
    display: flex;
max-height:170px;
}

.carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    max-height: 200px; 
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
}

/* Slide transitions based on checked radio */
#slide1:checked ~ .carousel-wrapper .carousel-inner {
    transform: translateX(0);
}

#slide2:checked ~ .carousel-wrapper .carousel-inner {
    transform: translateX(-100%);
}

#slide3:checked ~ .carousel-wrapper .carousel-inner {
    transform: translateX(-200%);
}

/* If you add more slides, add rules like: */
/* #slide4:checked ~ .carousel-inner { transform: translateX(-300%); } */

/* Navigation buttons */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(240, 193, 75, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(240, 193, 75, 0.8);
}

.carousel-control.prev {
    left: -100px;
    z-index:1100;
}

.carousel-wrapper {
    overflow: hidden;  /* Add this to clip the slides only */
    border-radius: 16px;  /* Maintain rounded corners if needed */
}

.carousel-control.next {
    right: -100px;
}

/* Dots (labels) */
.carousel label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    z-index: 10;
}

.carousel label:hover {
    background: #fff;
}

.carousel input[type="radio"] {
    display: none;
}

#slide1:checked ~ label[for="slide1"],
#slide2:checked ~ label[for="slide2"],
#slide3:checked ~ label[for="slide3"] {
    background: #f0c14b;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .carousel {
        max-width: 100%;
    }

    .carousel-control {
        font-size: 1.5rem;
        padding: 8px 16px;
    }
}



/* _______***********************************_________________________________**************/




.stop {
font-size:3em;
line-height:24pt;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for gigantic text */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background-color: var(--bg);
    padding: 20px 0;
    text-align: center;
    color: var(--text);
}





.tarc-info-box {
  background: #2a3d2a;
  border-radius: 12px;
  padding: 1.5rem;
  color: #e2e8f0;
  max-width: 420px;
  margin: 1rem auto;
}

.total-section {
  text-align: center;
  margin: 1.2rem 0;
}

.big-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: #a5b4fc;
  line-height: 1;
}

.label {
  color: #b2c1d5;
  font-size: 0.95rem;
}

.breakdown {
  background: #1e293b;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.2rem 0;
}

.row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #334155;
}

.row:last-child { border-bottom: none; }

.total-row {
  margin-top: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid #475569;
}

.value {
  text-align: right;
  font-weight: 500;
}

.pct {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.wallets ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.wallets li {
  margin: 0.5rem 0;
}

.wallets a {
  color: #f0c14b;
  text-decoration: none;
}

.wallets a:hover {
  text-decoration: underline;
}

.meta {
  color: #64748b;
  font-size: 0.82rem;
  display: block;
  text-align: center;
  margin-top: 1.2rem;
}

.error {
  color: #fca5a5;
  text-align: center;
  padding: 1rem;
}

.ama-title {
font-size:2.2em;
    text-align: left;
    margin-bottom: 60px;
    color: #f0c14b;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);
    }








/*_________________________ MOBILE ____________________________ */


/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .gigantic {
        font-size: 3rem; /* Smaller gigantic text on mobile */
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }



/* Prevent horizontal overflow on all devices — especially mobile */
html, body {
    width: 100%;
    overflow-x: hidden;              /* ← hides anything that spills over horizontally */
    margin: 0;
}

}

/* TARC Ltd. Ownership Card – matches distribution list + spec-card feel */
.ownership-card {
    background: rgba(240, 193, 75, 0.08); /* subtle gold tint, same as your li items */
    border: 1px solid rgba(240, 193, 75, 0.25);
    border-left: 5px solid #f0c14b; /* gold accent line like distribution items */
    border-radius: 10px;
    padding: 20px 24px;
    margin: 30px auto 0;
    max-width: 700px; /* matches .distribution-list */
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


a {
  position: relative; /* Allows absolute positioning if needed, but we'll overlay on the img */
  display: inline-block; /* Ensures the link wraps tightly around the img */
}

.play {
  position: relative; /* For overlaying the pseudo-element */
  transition: box-shadow 0.3s ease; /* Smooth glow transition */
}

.play::before {
  content: '▶'; /* Play symbol (Unicode) */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the symbol over the image */
  font-size: 20px; /* Adjust based on image size (50px width) */
  color: white; /* Or any color that contrasts with the portrait */
  opacity: 0.4; /* Low opacity for subtle overlay */
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Optional shadow for better visibility on light backgrounds */
  pointer-events: none; /* Allows clicks to pass through to the link */
  transition: opacity 0.3s ease; /* Optional: subtle change on hover */
}

.play:hover::before {
  opacity: 0.6; /* Slightly increase opacity on hover for feedback */
}

.play:hover {
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.8); /* Glow effect on the entire image */
  /* Alternative: filter: brightness(1.1); for a brighten glow */
}



.ownership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(240, 193, 75, 0.15); /* subtle gold glow */
}

.ownership-card strong {
    color: #ffd700; /* bright gold for emphasis, matches your strong in list */
}

.ownership-card small {
    display: block;
    margin-top: 12px;
    color: #aaa; /* softer gray for timestamp */
    font-size: 0.95rem;
}

.ownership-card br {
    margin-bottom: 8px; /* better spacing between lines */
}

/* Optional: Make "Total held" stand out more */
.ownership-card .total-held {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f0c14b;
    margin-top: 10px;
}

small a {
color: #aaa;
}
small a:hover {
color: white;
}


.countdown {
font-size:24pt;
text-align:left;
color:#f0c14b;
}


/* Mobile adjustments */
@media (max-width: 898px) {
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .team-photo {
        flex: 0 0 auto;
    }

    .member-photo {
        width: 140px;
        height: 140px;
    }

    .org-logo {
        max-height: 120px;
    }

    .stop {
font-size:2em;
line-height:24pt;
}

p {
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto 30px;
    padding:10px;

}


.image-wrapper {
width:100%;
}
.image-wrapper img {
width:200%;
object-position:-320px 0px;
}

.transition-bridge {
height:0;
min-height:0;
}

.spec-card {
padding:5px;
margin:0px;
}

.gigantic {
font-size:4rem;
line-height:1.2;
margin-top:30px;
}

.hero img {
transform:scale(0.8);
}

.african-border1 {
top:0px;
}
.african-border {
margin:0px 0px -1720px 0px;
z-index:1300;
}

.token-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns on desktop/tablet */
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 5px;
}


.container {
padding:5px 5px 5px 5px;
}

.spec-card.contract-address {
padding:5px;

}
.address-wrapper {
display:block;
}
.copy-btn {
margin: 15px auto;
display:block;
}
.spec-value {
word-break:normal;
}


.small-tarc-presents {
margin-top:-65px;
padding:0;
font-size:0.70em;
text-shadow:1px 1px 7px rgba(0,0,0,0.7);
color:rgba(255,255,255,0.7);
}

.small-center {
margin-top:0px;
padding:0;
}

.fade-in {
}

body {
line-height:1.4;
}

.blurry-container {
    position: relative;
    z-index: 2;                       /* Above background, below text */
    background: rgba(28, 28, 28, 0.3);  /* Dark gray with transparency – adjust darkness (0.5–0.7) */
    backdrop-filter: blur(4px);       /* Main blur effect – modern glass/matte look */
    -webkit-backdrop-filter: blur(4px); /* Safari support */
    border-radius: 16px;               /* Soft rounded corners */
    padding: 2rem 1.5rem;              /* Breathing room inside */
    max-width: 900px;                  /* Prevents it from being too wide on large screens */
    margin: 0 auto 50px;                    /* Center it */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); /* Subtle depth/shadow */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Very faint light border for premium feel */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero .description{
font-size:1rem;
}

/* Special treatment for the long contract address card */
.spec-card.market-stats {
    grid-column: span 2;             /* Makes it span full width (2 columns) */
    min-height: 280px;               /* Even taller to comfortably fit the address */
    text-align: center;                /* Better for long text */
    padding: 10px 10px;
}

.carousel {
margin:50px;
align-items:center;
}
.carousel-control.next{
right:-50px;
}
.carousel-control.prev{
left:-50px;
}
.carousel-inner {
align-items:center;
}

/* .....................@mobile END...........*/

}

