:root {
  --bg: #002b3d;
  --text: #ffffff;
  --card-bg: #005466;
  --card-text: #fff;
  --primary: #ff5555;
  --accent: #00c2ff;
  --transition: 0.15s ease;
  --radius: 10px;
  --box-shadow: 0 0 15px rgba(0, 255, 179, 0.6);
  --background: linear-gradient(to bottom, var(--background-color), var(--primary-color), var(--gradient-mid));
}

.taskCont li i.fa-x-twitter     { color: #1DA1F2; }
.taskCont li i.fa-telegram      { color: #0088cc; }
.taskCont li i.fa-tiktok        { color: #000000; }
.taskCont li i.fa-youtube       { color: #FF0000; }
.taskCont li i.fa-facebook      { color: #1877F2; }
.taskCont li i.fa-globe         { color: #4CAF50; }
.taskCont li i.fa-instagram     { color: #C13584; }

.btn.completed {
  background-color: #aaa;
  color: #fff;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border;
  list-style: none;
  text-decoration: none;
}

body1 {
  background: linear-gradient(to bottom, #002b3d 0%, #001d29 70%, #000000 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}


/* Header */
header {
  text-align: center;
  padding: 1.2rem 1rem 0.7rem;
  flex-shrink: 0;
}

header h1 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

header p {
  font-size: 0.85rem;
  color: #ccc;
}

/* Main Scrollable Content */
main {
  padding: 0.6rem 1rem;
  overflow-y: auto;
  flex-grow: 1;
}

/* Task List */
.taskCont {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
max-height: 900px; /* Control height for scrolling */
    overflow-y: auto; /* Enable scrolling */
    padding-right: 5px;
    scrollbar-width: thin; /* Firefox scrollbar */
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

/* Each Task */
.taskCont li {
  background: var(--card-bg);
  color: var(--card-text);
  padding: 0.65rem 0.8rem;
  box-shadow: 0 0 15px rgba(0, 255, 179, 0.6);
  border-radius: var(--radius);
  border-left: 0.6vw solid var(--score-border-color, var(--accent));
  border-right: 0.6vw solid var(--score-border-color, var(--accent));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  
  transition: transform var(--transition);
}

.taskCont li:hover {
  transform: scale(1.01);
}

/* Text inside each task */
.txtcount h4 {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.txtcount h5 {
  font-size: 0.7rem;
  color: var(--accent);
}

#balance {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: bold;
}

/* Icon */
.txtcount i {
  font-size: 1rem;
  color: var(--primary);
}

/* Buttons inside tasks */
.btn {
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.btn:hover {
  background: #cc0000;
}

.button-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}


/* Move both buttons up */
.daily-button,
.primary-button {
  position: relative;
  top: -97px; /* move up */
  padding: 10px 20px;
  background: #005473;
  color: #fff;
  border: none;
  border-left: 0.3vw solid var(--score-border-color);
  border-right: 0.3vw solid var(--score-border-color);
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: pulse 4s infinite ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
}

/* Specific position adjustments */
.daily-button {
  right: 50px;
  float: right;
}

.primary-button {
  left: 50px;
}

/* Optional: Icon image inside buttons */
.button-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Optional: Font Awesome icon spacing */
.daily-button i,
.primary-button i {
  margin-right: 8px;
}

/* Airdrop Status text */
.airdrop-status {
  margin-top: 8px;
  font-size: 14px;
  color: green;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}