/* ================= ROOT FONT ================= */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ================= GLOBAL ================= */
body {
    background-color: #0b0b0b;
    color: #eaeaea;
    font-family: 'Segoe UI', sans-serif;
}

html {
    position: relative;
    min-height: 100%;
}

/* ================= HEADINGS ================= */
h1, h2, h3, h4 {
    background: linear-gradient(90deg, #d4af37, #ffd700, #fff3b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #111 !important;
    border-bottom: 1px solid #222;
}

    .navbar .nav-link {
        color: #ccc !important;
        transition: 0.3s;
    }

        .navbar .nav-link:hover {
            color: #ffd700 !important;
        }

/* GOLD BRAND TEXT */
.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
    background: linear-gradient(90deg, #ffd700, #ffcc00, #fff2a8, #ffd700);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

/* TEXT SHINE ANIMATION */
@keyframes shineText {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

/* ================= DROPDOWN ================= */
.dropdown-menu {
    background-color: #111;
    border: 1px solid #222;
}

.dropdown-item {
    color: #ccc;
}

    .dropdown-item:hover {
        background-color: #1a1a1a;
        color: #ffd700;
    }

/* ================= CONTAINERS ================= */
.container {
    color: #ddd;
}

.container-box {
    background: #151515;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.05);
}

/* ================= INPUTS ================= */
textarea, input {
    background: #0f0f0f;
    color: #eee !important;
    border: 1px solid #333;
    border-radius: 10px;
    caret-color: #ffd700;
}

    textarea::placeholder {
        color: #888 !important;
    }

    textarea:focus, input:focus {
        border-color: #ffd700;
        outline: none;
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    }

    /* Selection */
    textarea::selection,
    input::selection {
        background: #ffd700;
        color: #000;
    }

/* Bootstrap override */
.form-control {
    background-color: #0f0f0f !important;
    color: #eee !important;
}

/* ================= PRE ================= */
pre {
    background: #1c1c1c;
    color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ================= BUTTON GOLD ================= */
.btn-gold {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #000 !important;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient( 145deg, #ffd700 0%, #fff3b0 40%, #ffd700 70%, #e6c200 100% );
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.6), 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: all 0.25s ease;
    overflow: hidden;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

    /* Shine overlay */
    .btn-gold::before {
        content: "";
        position: absolute;
        top: 0;
        left: -80%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.7), transparent );
        transform: skewX(-25deg);
    }

    /* Button shine animation */
    .btn-gold:hover::before {
        animation: shineBtn 0.8s forwards;
    }

@keyframes shineBtn {
    to {
        left: 120%;
    }
}

/* Hover */
.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    color: #000 !important;
    box-shadow: inset 0 2px 3px rgba(255,255,255,0.7), 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Click */
.btn-gold:active {
    transform: scale(0.98);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* ================= SECONDARY BUTTON ================= */
.btn-dark-custom {
    background: #2a2a2a;
    color: #ddd;
    border-radius: 10px;
    border: 1px solid #444;
}

    .btn-dark-custom:hover {
        background: #3a3a3a;
    }

/* ================= COPY BUTTON ================= */
.btn-copy {
    background: transparent;
    border: 1px solid #d4af37;
    color: #ffd700;
    border-radius: 8px;
}

    .btn-copy:hover {
        background: #d4af37;
        color: #000;
    }

/* ================= CARDS ================= */
.card, .tool-box {
    background: #121212;
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ================= HERO ================= */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: radial-gradient(circle at top, #1a1a22, #050507);
}

.gold-text {
    background: linear-gradient(90deg, #d4af37, #ffd700, #fff3b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= BANNER ================= */
.banner-slider {
    position: relative;
    overflow: hidden;
    height: 100px;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

.slide-card {
    background: #111;
    padding: 30px;
    border-radius: 12px;
}

/* ================= CUSTOM CARDS ================= */
.card-custom {
    background: #12121a;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category {
    color: #d4af37;
}

/* ================= FOOTER ================= */
footer {
    background: #111;
    border-top: 1px solid #222;
}

    footer a {
        color: #bbb;
    }

        footer a:hover {
            color: #ffd700;
        }
