* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #fff; }

/* Header */
header { background: #000; color: #fff; }
header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header h1 { font-size: 30px; }
ul {padding: 15px;}
ol {padding: 15px;}
/* Navigation */
nav { position: relative; }
.menu { display: flex; list-style: none; gap: 15px; }
.menu li { position: relative; }
.menu a { color: #fff; text-decoration: none; padding: 8px 5px; display: block; }

/* Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  display: none;
  list-style: none;
  min-width: 180px;
  border-radius: 4px;
  overflow: hidden;
}
.submenu li a { padding: 10px; }
.menu li:hover > .submenu { display: block; }

/* Arrow rotation */
.arrow { display: inline-block; transition: transform 0.3s ease; margin-left: 5px; }
.arrow.open { transform: rotate(180deg); }

/* Mobile toggle button */
.menu-toggle {
  display: none;
  background: #000000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

/* Mobile close button */
.close-menu { display: none; }

/* Page wrapper */
.page {
  max-width: 1200px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

/* Hero */
.hero { text-align: center; margin-bottom: 30px; }
.hero img { max-width: 100%; height: auto; border-radius: 4px; }
.hero h2 { margin-top: 15px; font-size: 22px; }

/* Sections */
section { margin-bottom: 40px; }
section h2 { margin-bottom: 15px; font-size: 20px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.card {
  background: #fff4e6;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  text-align: center;
}

/* Content images */
.content-block {font-size: 17px; text-align: justify;}
.content-block img { width: 100%; border: 1px solid #000; border-radius: 4px; margin-top: 20px; }
.content-block h2 { font-size: 25px; }
.content-block h3 { font-size: 22px; }
.content-block h4 { font-size: 22px; }
.content-block h5 h6 { font-size: 20px; }

/* Table */
table { width: 100%; border-collapse: collapse; }
table th, table td { border: 1px solid #ddd; padding: 10px; text-align: left; }
table th { background: #f5f5f5; }

/* Footer */
footer {
  background: #000000;
  color: #ccc;
  padding: 30px 20px;
  margin-top: 40px;
}
footer .inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
footer h4 { color: #fff; margin-bottom: 10px; }
footer a { color: #ccc; text-decoration: none; display: block; margin-bottom: 5px; }
footer a:hover { color: #fff; }

/* Responsive */
@media(max-width: 768px) {
  header h1 { font-size: 18px; }
  .hero h2 { font-size: 18px; }

  /* Mobile nav */
  .menu { 
    flex-direction: column; 
    display: none;
    width: 100%;
    gap: 0;
    background: #000;
    border-radius: 6px;
    margin-top: 10px;
  }
  .menu li { width: 100%; }
  .menu li a { padding: 12px 20px; }
  .menu li:hover > .submenu { display: none; }
  .submenu { position: relative; top: 0; left: 0; background: #0055ee; }
  .submenu li a { padding-left: 30px; }
  .menu-toggle { display: block; }
  .menu.active { display: flex; flex-direction: column; }

  /* Close button visible only on mobile */
  .close-menu { display: block; align-self: flex-end; background: #ff3333; color: #fff; border: none; padding: 8px 12px; font-size: 18px; cursor: pointer; border-radius: 4px; margin: 10px 20px 0 0; }
}
  /* Accordion */
.faq-section {
    margin: 40px 0;
  }
  .faq-section h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
  }
  .accordion {
    max-width: 1000px;
    margin: auto;
  }
  .accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
  }
  .accordion-header {
    width: 100%;
    text-align: left;
    background: #f5f5f5;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.3s;
  }
  .accordion-header:hover {
    background: #eaeaea;
  }
  .accordion-content {
    display: none;
    padding: 15px;
    font-size: 15px;
    background: #fff;
  }
  .accordion-item.active .accordion-content {
    display: block;
  }
  @keyframes border-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.cta-button-container {
    position: fixed;
    left: 20px;
    top: 90%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.tclottery-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ff7300;
    color: #fff;
    padding: 0px 10px;
    border-radius: 10px;
    border: 2px dashed #000;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 180px;
    min-height: 60px;

    /* For the pseudo-element */
    position: relative; /* Needed for absolute positioning of ::before */
    overflow: hidden; /* Hide the sweep when it's outside the button */
}

.tclottery-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Width of the sweep */
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Transparent to white-ish to transparent */
    z-index: 1; /* Above button background, below text */
    animation: border-sweep 2s infinite linear; /* Fast, continuous sweep */
}

.tclottery-cta-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 2px dashed #05012b;
    animation: none; /* Disable animation on the button itself */
}
.tclottery-cta-button:hover::before {
     animation: none; /* Disable sweep animation on hover */
}


.button-text1 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
    position: relative; /* Ensure text is above the ::before pseudo-element */
    z-index: 2; /* Make sure text is visible above the sweep */
}

@media (max-width: 768px) {
    .cta-button-container {
        left: 10px;
        padding: 5px;
    }
    .tclottery-cta-button {
        padding: 2px 10px;
        width: 160px;
        min-height: 70px;
    }
    .tclottery-cta-button::before {
        animation: border-sweep 2s infinite linear; /* Apply to tablets */
    }
    .button-text1 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .cta-button-container {
        left: -85px;
        width: 100%;
        text-align: center;
        transform: translateY(0);
        top: auto;
        bottom: 0;
        padding: 17px 0;
    }
    .tclottery-cta-button {
        width: 90%;
        max-width: 200px;
        margin: 0 auto;
        border-radius: 5px;
        padding: 10px 15px;
        min-height: 60px;
           animation: none;
    }
    .tclottery-cta-button::before {
        animation: border-sweep 2s infinite linear;     }
    .button-text1 {
        font-size: 1em;
        margin-bottom: 3px;
    }
}
.affiliate-btn {
    display: inline-block;
    background-color: #ff7300;
    color: #fff;
    padding: 12px 25px;
    margin: 5px; /* spacing between buttons */
    text-decoration: none;
    border-radius: 6px;
    border: #000 2px dashed;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .affiliate-btn:hover {
    background-color: #fff;
    color: #ff7300;
    transform: translateY(-2px);
  }

  /* Responsive: stack buttons on very small screens */
  @media (max-width: 480px) {
    .affiliate-btn {
      display: block;
      width: 80%;
      margin: 10px auto;
    }
  }