:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #F2D06B;
    --dark-bg: #121212;
    --darker-bg: #000000;
    --card-bg: #1E1E1E;
    --text-color: #E0E0E0;
    --accent-color: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* =========================================
   PUBLIC WEBSITE STYLES
   ========================================= */

/* Navigation */
/* Navigation */
header {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    position: absolute;
    top: 0;
    left: 5%;
    z-index: 1100;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    /* Optional backdrop or just transparent */
    padding: 10px;
    border-radius: 0 0 10px 10px;
}

.logo img {
    height: 120px;
    /* Make it big */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Button Styles */
.cta-btn {
    background: var(--primary-gold);
    color: #000;
    /* Removed !important to allow overrides */
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-btn-outline {
    background: transparent !important;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold) !important;
}

.cta-btn:hover,
.cta-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: var(--primary-gold) !important;
    color: #000 !important;
}

/* About/Services Image Fix */
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero_banner.jpg');
    /* Ensure bg image exists or fallback */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 0;
    /* Override default */
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/crypto_mining_rig.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    /* Account for fixed header */
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--primary-gold);
}

.page-hero p {
    font-size: 1.2rem;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), #b8860b);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #b8860b, var(--primary-gold));
    color: #fff;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Sections */
.section {
    padding: 80px 10%;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* About Teaser */
.about-teaser {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* Table Responsive - User requested no scroll */
.table-responsive {
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    /* Removed min-width to prevent scroll, explicitly requested */
    font-size: 0.9rem;
    /* Slightly smaller text to help fit */
}

.data-table th,
.data-table td {
    padding: 8px;
    /* Reduce padding to help fit */
    word-wrap: break-word;
}

/* Withdrawal List Style */
.withdrawal-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.withdrawal-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.withdrawal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    /* align with first line of text roughly */
    height: 12px;
    /* Small height as requested */
    width: 3px;
    background-color: var(--primary-gold);
}

/* Grid / Services */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Enforce 3 columns */
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-form form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-gold);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Public Site Card (Premium Feature Grid) */
.card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--primary-gold);
    /* Gold Accent Bottom */
    text-align: left;
    /* Left Align */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
}

/* Auto-fit Grid Utility */
.grid-autofit {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

@media (max-width: 768px) {
    .grid-autofit {
        grid-template-columns: 1fr !important;
    }

    .card {
        padding: 20px !important;
        /* Reduce padding on mobile */
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.95), rgba(30, 30, 30, 1));
}

.card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 10px;
    align-self: center;
    /* Center image */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.card h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Specific adjustment for high Returns card content if needed */
.card .icon-wrapper {
    /* If we had a wrapper, but we are using img or div directly */
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        width: 100%;
        background-color: var(--darker-bg);
        /* Use darker bg for menu */
        flex-direction: column;
        align-items: center;
        width: 100%;
        right: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--primary-gold);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-teaser {
        flex-direction: column;
    }

    .logo img {
        height: 80px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styling */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

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

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Fix Hero Background Check */
.hero {
    /* Ensure this path is correct relative to the CSS file */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}