/* ===================================================== */
/* ===============   GOLD RUSH ABOUT SECTION  ========== */
/* ===================================================== */

.goldrush-about {
  padding: 80px 0;
}

.goldrush-about .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.goldrush-about p {
  color: #d7d7d7;
  font-size: 16px;
  line-height: 1.6;
}

.goldrush-about img {
  border: 3px solid #805b10;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

/* Button style used already but enhancing */
.primary-btn {
  background: linear-gradient(90deg, #b8860b, #daa520);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  color: #000;
  transition: 0.3s ease;
}

.primary-btn:hover {
  background: linear-gradient(90deg, #daa520, #ffd700);
  transform: translateY(-3px);
}


/* ===================================================== */
/* ===============  GOLD RUSH FEATURES  ================ */
/* ===================================================== */

.features-section {
  padding: 80px 0;
  background: #0f0f0f;
}

.features-section .section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
}

.feature-box {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  border: 2px solid #2f2f2f;
  transition: 0.3s ease;
}

.feature-box:hover {
  border-color: #daa520;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(218, 165, 32, 0.3);
}

.feature-box h4 {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 700;
}

.feature-box p {
  color: #d7d7d7;
  font-size: 14px;
}

.feature-icon {
  width: 65px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}


/* ===================================================== */
/* ================= LEADERBOARD ======================= */
/* ===================================================== */

.leaderboard {
  padding: 80px 0;
  background: #111;
}

.leaderboard .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #fff;
}

.leaderboard-list {
  max-width: 700px;
  margin: auto;
}

.leaderboard-item {
  background: #1d1d1d;
  padding: 18px 25px;
  border-radius: 10px;
  margin-bottom: 13px;
  display: flex;
  justify-content: space-between;
  color: #e5e5e5;
  border-left: 5px solid #333;
  transition: 0.3s ease;
}

.leaderboard-item:hover {
  transform: translateX(10px);
  border-left-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
}

.leaderboard-item .rank {
  font-size: 20px;
  font-weight: 800;
  width: 60px;
}

.rank.gold { color: #ffd700; }
.rank.silver { color: #c0c0c0; }
.rank.bronze { color: #cd7f32; }

.leaderboard-item .name {
  font-weight: 600;
  flex: 1;
}

.leaderboard-item .score {
  font-weight: 700;
  color: #daa520;
}


/* ===================================================== */
/* =================== ROADMAP SECTION ================= */
/* ===================================================== */

.roadmap-section {
  padding: 80px 0;
  background: #141414;
}

.roadmap-section .section-title {
  font-size: 34px;
  font-weight: 700;
}

.roadmap-items {
  margin-top: 40px;
}

.roadmap-box {
  background: #1a1a1a;
  border-left: 4px solid #daa520;
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.roadmap-box h4 {
  color: #ffd700;
  font-size: 20px;
  font-weight: 700;
}

.roadmap-box p {
  margin-top: 10px;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.6;
}

.roadmap-box:hover {
  transform: translateX(10px);
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.25);
  border-color: #ffdb70;
}


/* ===================================================== */
/* ===============  RESPONSIVE DESIGN  ================= */
/* ===================================================== */

@media (max-width: 768px) {
  .goldrush-about img {
    margin-bottom: 25px;
  }

  .feature-box {
    margin-bottom: 20px;
  }

  .leaderboard-item {
    flex-direction: column;
    text-align: center;
  }

  .leaderboard-item .rank {
    margin-bottom: 10px;
  }
}



/* ====================================================== */
/* =============== GENERAL ANIMATION CLASSES ============ */
/* ====================================================== */

/* Fade In Up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In */
.fade {
    opacity: 0;
    animation: fade 1s ease forwards;
}

@keyframes fade {
    to {
        opacity: 1;
    }
}

/* Glow Pulse */
.gold-glow {
    animation: goldGlow 2.5s infinite ease-in-out;
}

@keyframes goldGlow {
    0% { box-shadow: 0 0 6px rgba(255,215,0,0.25); }
    50% { box-shadow: 0 0 18px rgba(255,215,0,0.6); }
    100% { box-shadow: 0 0 6px rgba(255,215,0,0.25); }
}

/* Floating Effect */
.float {
    animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Slight horizontal float */
.float-x {
    animation: floatX 4s ease-in-out infinite;
}

@keyframes floatX {
    0% { transform: translateX(0); }
    50% { transform: translateX(12px); }
    100% { transform: translateX(0); }
}

/* Button Pulse */
.btn-pulse:hover {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ====================================================== */
/* =============== GOLD SHINE EFFECT ==================== */
/* ====================================================== */

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content:'';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shineMove 2.3s infinite ease;
}

@keyframes shineMove {
    0% { left: -120%; }
    100% { left: 140%; }
}

/* Apply shine to all cards */
.card,
.gem-card,
.feature-box,
.roadmap-box,
.leaderboard-item {
    position: relative;
    overflow: hidden;
}

.card:hover::after,
.gem-card:hover::after,
.feature-box:hover::after,
.roadmap-box:hover::after,
.leaderboard-item:hover::after {
    content:'';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shineMove 1.3s ease;
}

/* ====================================================== */
/* ========== GOLD SHIMMER HEADING EFFECT =============== */
/* ====================================================== */

.gold-title {
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200%;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0%; }
    100% { background-position: 200%; }
}


/* ====================================================== */
/* ============== SECTION ENTRANCE ANIMATION ============ */
/* ====================================================== */

.section-appear {
    transform: translateY(40px);
    opacity: 0;
    animation: sectionIn 1.2s ease forwards;
}

@keyframes sectionIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ====================================================== */
/* ============== PARALLAX FLOATING ICONS =============== */
/* ====================================================== */

.parallax-icon {
    position: absolute;
    opacity: 0.2;
    animation: parallaxFloat 10s infinite ease-in-out;
}

@keyframes parallaxFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(12deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Example placement class */
.icon-left {
    left: 40px;
    top: 60px;
}

.icon-right {
    right: 40px;
    bottom: 60px;
}


/* MAIN SECTION */
.goldrush-section {
    padding: 70px 0;
    background: #f5f1e8; /* classic light gold-inspired background */
}

.container-goldrush {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    text-align: center;
}

/* SECTION TITLE */
.goldrush-title {
    font-size: 42px;
    font-weight: 700;
    color: #b8860b;
    animation: fadeDown 1s ease;
}

.goldrush-subtitle {
    font-size: 18px;
    color: #555;
    margin-top: 8px;
    margin-bottom: 45px;
}

/* GRID */
.goldrush-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 35px;
}

/* CARD DESIGN */
.goldrush-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    animation: fadeUp 1.2s ease;
}

/* HOVER EFFECT */
.goldrush-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 30px rgba(184, 134, 11, 0.25);
}

/* BIGGER IMAGE AREA */
.goldrush-img {
    width: 100%;
    height: 230px; /* Bigger than before */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 18px;
}

.goldrush-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.goldrush-card:hover .goldrush-img img {
    transform: scale(1.08);
}

/* CARD TEXTS */
.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 8px;
}

.card-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* ANIMATIONS */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}


.GRFeatures-bg {
  /*position: absolute;*/
  inset: 0;
  background: url('../img/cards/card_header.png') no-repeat center center/cover;
  filter: blur(8px) brightness(0.8);
  z-index: 1;
}

/* CONTACT SECTION 2 */
.cnt2-wrapper {
    background-color: #0d1025;
    padding: 60px 0;
}

.cnt2-container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    background: #131b33;
    border: 1px solid #ff8c00;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.2);
}

.cnt2-title {
    text-align: center;
    color: #ff8c00;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* FORM LAYOUT */
.cnt2-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cnt2-row {
    display: flex;
    gap: 20px;
}

.cnt2-field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cnt2-label {
    color: #ff8c00;
    font-weight: 600;
    margin-bottom: 5px;
}

/* INPUTS */
.cnt2-input,
.cnt2-textarea {
    background: #0f152c;
    border: 1px solid #22304f;
    padding: 12px 15px;
    border-radius: 6px;
    color: #ffffff;
    outline: none;
    transition: 0.3s ease;
}

.cnt2-input::placeholder,
.cnt2-textarea::placeholder {
    color: #8c9bb7;
}

.cnt2-input:focus,
.cnt2-textarea:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
}

/* BUTTON */
.cnt2-submit-box {
    text-align: center;
    margin-top: 15px;
}

.cnt2-submit-btn {
    background: linear-gradient(90deg, #ff8800, #ff6a00);
    border: none;
    padding: 14px 32px;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.cnt2-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cnt2-row {
        flex-direction: column;
        gap: 15px;
    }
}


/* ANIMATIONS */
@keyframes cnt2FadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cnt2-container {
    animation: cnt2FadeUp 1s ease-out;
}

.cnt2-field-group,
.cnt2-submit-btn {
    animation: cnt2FadeUp 1.2s ease-out;
}
/* TOAST STYLES */
.cnt2-toast {
    position: fixed;
    top: 20px;
    right: -350px;
    padding: 14px 22px;
    background: #ff8c00;
    color: #ffffff;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
    transition: right 0.4s ease;
    z-index: 99999;
}

.cnt2-toast.show {
    right: 20px;
}
/* SUCCESS POPUP - FIXED VISIBLE VERSION */
.cnt2-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75); /* darker background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.cnt2-success-box {
    background: #0d152b;  /* darker for high contrast */
    padding: 35px 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #ff8c00; /* gold border */
    width: 90%;
    max-width: 450px;

    /* Clear visible text */
    color: #ffffff;
    animation: cnt2FadeUp 0.6s ease-out;
}

.cnt2-success-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ff8c00; /* bright gold */
}

.cnt2-success-box p {
    font-size: 18px;
    color: #e0e6ff; /* very visible soft white-blue */
}

.cnt2-success-btn {
    background: #ff8c00;
    border: none;
    padding: 10px 35px;
    font-size: 18px;
    color: white;
    margin-top: 20px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cnt2-success-btn:hover {
    background: #ffa733;
}

