/* ====== BASE STYLING ====== */
:root {
    /* Main colors - adjusted for Illuminati red theme */
    --primary: #ff3333;
    --primary-dark: #cc0000;
    --secondary: #ff0000;
    --accent: #ff3333;
    --accent-dark: #cc0000;
    
    /* UI colors - darker background for the black theme */
    --bg-color: #000000;
    --card-bg: #121212;
    --card-bg-dark: #0a0a0a;
    
    /* Text colors */
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Coin colors - adjusted for Illuminati */
    --coin-light: #ffffff;
    --coin-dark:rgb(255, 255, 255);
    
    /* Feedback colors */
    --success:#22c55e;
    --error: #ff3333;
    --warning: #ffcc00;
    
    /* Animation timings */
    --transition-fast: 0.15s;
    --transition-medium: 0.3s;
    --transition-slow: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100vh;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.02em;
    overflow: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ====== ANIMATED BACKGROUND ====== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    overflow: hidden;
}

/* Add wavy line pattern effect to match image */
.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(40, 40, 40, .3) 25%, rgba(40, 40, 40, .3) 26%, transparent 27%, transparent 74%, rgba(40, 40, 40, .3) 75%, rgba(40, 40, 40, .3) 76%, transparent 77%, transparent);
    background-size: 20px 20px;
    opacity: 0.5;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 51, 51, 0.2);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    width: 4px;
    height: 4px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    left: 80%;
    width: 8px;
    height: 8px;
    animation-duration: 30s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 70%;
    left: 10%;
    width: 5px;
    height: 5px;
    animation-duration: 28s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    animation-duration: 22s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 85%;
    left: 75%;
    width: 4px;
    height: 4px;
    animation-duration: 26s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    top: 25%;
    left: 35%;
    width: 6px;
    height: 6px;
    animation-duration: 32s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    top: 65%;
    left: 65%;
    width: 5px;
    height: 5px;
    animation-duration: 29s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    top: 45%;
    left: 15%;
    width: 7px;
    height: 7px;
    animation-duration: 27s;
    animation-delay: 1.5s;
}

.particle:nth-child(9) {
    top: 15%;
    left: 60%;
    width: 6px;
    height: 6px;
    animation-duration: 24s;
    animation-delay: 4.5s;
}

.particle:nth-child(10) {
    top: 80%;
    left: 30%;
    width: 5px;
    height: 5px;
    animation-duration: 31s;
    animation-delay: 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0.3;
    }
    75% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
}

/* ====== HEADER STYLING ====== */
.app-header {
    background: linear-gradient(90deg, #000000, #1a1a1a);
    padding: 14px 0;
    text-align: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 51, 51, 0.3);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-icon {
    margin-right: 10px;
    color: var(--accent);
    font-size: 18px;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.header-text {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ====== MAIN CONTENT AREA ====== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    height: calc(100% - 110px); /* Account for header and bottom nav */
    scroll-behavior: smooth;
}

/* ====== HOME PAGE STYLING ====== */
.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.banner-container {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
}

.banner-content {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.banner-logo {
    flex: 0 0 auto;
    margin-right: 15px;
}

.logo-image {
    width: 70px;
    height: 70px;
}

.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.illuminati-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.title-ill {
    color: #ff3333;
}

.title-uminati {
    color: #ffffff;
}

.logo-subtitle {
    display: flex;
    flex-direction: column;
}

.subtitle-accent {
    color: #ff3333;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 2px;
}

.subtitle-small {
    color: #aaaaaa;
    font-size: 11px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .illuminati-title {
        font-size: 24px;
    }
    
    .logo-subtitle {
        align-items: center;
    }
}
@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 51, 51, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 51, 51, 0.6)); }
    100% { filter: drop-shadow(0 0 5px rgba(255, 51, 51, 0.3)); }
}

/* Mobile responsiveness */
@media (max-width: 360px) {
    .logo-header {
        flex-direction: column;
        align-items: center;
    }
    
    .logo-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .illuminati-title {
        text-align: center;
        font-size: 24px;
    }
}



/* ====== FORM STYLING ====== */
.form-container {
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
}

.form-card {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.form-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    letter-spacing: 1px;
}

.input-field {
    background-color: rgba(15, 15, 15, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-field:focus-within {
    border-color: rgba(255, 51, 51, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.2);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.input-field:focus-within .input-icon {
    color: var(--accent);
}

.input-field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 16px 15px 0;
    outline: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.input-field input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 14px 0;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 51, 51, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* ====== POINTS CARD STYLING ====== */
.points-card {
    background: linear-gradient(145deg, #111111, #0a0a0a);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.2);
    position: relative;
    overflow: hidden;
}

.points-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 51, 51, 0.1) 0%, transparent 70%);
    animation: rotateSlow 10s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.points-header {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.points-value {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(to right, var(--coin-light), var(--coin-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 51, 51, 0.3);
    margin-bottom: 5px;
}

.points-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.coin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* This will keep the image within the circular boundary */
  }

  .coin-icon.animated {
    animation: coinFloat 3s ease-in-out infinite;
  }

  .coin-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will make sure the image covers the area properly */
  }

  /* Mining Logo Animations */
.mining-spin {
    animation: spin 15s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
  }
  
  .logo-aura {
    background: radial-gradient(circle at center, rgba(255, 51, 51, 0.3) 0%, transparent 70%);
    animation: pulse-aura 3s infinite, rotateSlow 20s linear infinite;
  }
  
  /* Mining particles effect around the logo */
  .mining-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    pointer-events: none;
  }
  
  .mining-particles::before,
  .mining-particles::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 51, 51, 0.6);
    top: 50%;
    left: 0;
    animation: miningParticle 2s infinite linear;
  }
  
  .mining-particles::before {
    animation-delay: 0s;
  }
  
  .mining-particles::after {
    animation-delay: 1s;
  }
  
  @keyframes miningParticle {
    0% {
      transform: rotate(0deg) translateX(60px) scale(0);
      opacity: 0;
    }
    10% {
      transform: rotate(36deg) translateX(60px) scale(1);
      opacity: 1;
    }
    90% {
      transform: rotate(324deg) translateX(60px) scale(1);
      opacity: 1;
    }
    100% {
      transform: rotate(360deg) translateX(60px) scale(0);
      opacity: 0;
    }
  }

  /* Mining logo animations */
.mining-spin {
    animation: spin-slow 12s linear infinite;
    transition: transform 0.3s ease;
  }
  
  .pulse-glow {
    animation: pulse-aura 3s ease-in-out infinite;
  }
  
  /* Zoom animation class */
  .mining-zoom {
    animation: zoom-effect 0.5s ease-out;
  }
  
  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  @keyframes zoom-effect {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1) rotate(30deg); }
  }
  
  /* Improve tap button interactions */
  .tap-button:active .tap-button-text {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
  
  .tap-button:active .tap-button-glow {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(255, 51, 51, 0.3) 0%, transparent 70%);
  }
  
  /* Enhanced click feedback */
  @keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.5) rotate(45deg); opacity: 0; }
  }
  
  .sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle at center, var(--coin-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 0.8s ease-out forwards;
  }

@keyframes coinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.coin-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.points-text {
    color: var(--coin-light);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====== TASK ITEMS STYLING ====== */
.tasks-section {
    margin: 20px 0;
    width: 100%;
    max-width: 350px;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tasks-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.tasks-progress {
    font-size: 14px;
    color: var(--text-secondary);
}

.task-item {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.task-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.task-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.task-reward {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.task-button {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.task-button:hover {
    background: rgba(255, 51, 51, 0.1);
}

/* ====== TAP GAME STYLING ====== */
.game-stage {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.game-score-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background: rgba(18, 18, 18, 0.7);
    border-radius: 50px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    backdrop-filter: blur(5px);
}

.score-container {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 50px;
}

.current-score {
    font-size: 28px;
    font-weight: 700;
    color: var(--coin-light);
    margin-left: 10px;
}

.level-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 15px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 50px;
}

.level-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.level-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.tap-game-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    margin: 10px 0 20px;
    min-height: 300px;
}

.game-logo-container {
    position: relative;
    margin-bottom: 40px;
}

.game-logo {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 1;
}

.logo-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 51, 51, 0.3) 0%, transparent 70%);
    animation: pulse-aura 3s infinite;
}

@keyframes pulse-aura {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
}

.tap-button {
    background: linear-gradient(145deg, #111111, #0a0a0a);
    border: none;
    color: var(--text-color);
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.tap-button-text {
    position: relative;
    z-index: 1;
    color: var(--primary);
}

.tap-button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 51, 51, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tap-button:hover .tap-button-glow,
.tap-button:active .tap-button-glow {
    opacity: 1;
}

.tap-button:active {
    transform: scale(0.96);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.tap-button.clicked {
    animation: tap-effect 0.3s ease-out;
}

@keyframes tap-effect {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.click-feedback-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Score pop effect */
.score-pop {
    position: absolute;
    color: var(--coin-light);
    font-weight: bold;
    font-size: 18px;
    pointer-events: none;
    animation: scorePop 1s ease-out forwards;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@keyframes scorePop {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-40px) scale(1); }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 51, 51, 0.4);
    animation: ripple 0.8s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* ====== ENERGY STATUS STYLING ====== */
.energy-status {
    width: 100%;
    margin-bottom: 15px;
}

.energy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.energy-label {
    display: flex;
    align-items: center;
}

.energy-icon {
    font-size: 16px;
    color: var(--accent);
    margin-right: 8px;
}

.energy-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.energy-values {
    font-size: 12px;
    color: var(--text-muted);
}

.energy-bar-container {
    width: 100%;
    height: 12px;
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.energy-bar-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.energy-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: energyPulse 2s infinite;
}

@keyframes energyPulse {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(300px); }
}

/* ====== POWER UP BUTTON STYLING ====== */
.power-up-button {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border: none;
    color: white;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.power-up-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
}

.power-up-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 51, 51, 0.3);
}

.power-up-icon {
    margin-right: 10px;
    font-size: 18px;
}

.button-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.button-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    width: 6px;
    height: 6px;
    opacity: 0;
    animation: particleFloat 2s infinite ease-out;
}

.button-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0.2s;
}

.button-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.button-particle:nth-child(3) {
    top: 30%;
    left: 60%;
    animation-delay: 0.8s;
}

@keyframes particleFloat {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* ====== GAME STATS STYLING ====== */
.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    width: 100%;
}

.stat-item {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 12px;
    padding: 12px;
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 5px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 20px;
    margin-right: 10px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

/* ====== LEADERBOARD STYLING ====== */
.leaderboard-container {
    width: 100%;
    padding: 15px;
    max-width: 500px;
}

.section-title {
    font-size: 22px;
    margin: 20px 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.tab.active {
    background-color: rgba(255, 51, 51, 0.2);
    color: var(--primary);
    font-weight: 600;
}

.leaderboard-wrapper {
    width: 100%;
    background-color: rgba(10, 10, 10, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.top-players {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px 10px 10px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0));
    position: relative;
}

.top-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 5px;
    transition: transform 0.3s ease;
}

.top-player:hover {
    transform: translateY(-5px);
}

.player-first {
    z-index: 3;
    margin: 0 15px;
}

.player-second, .player-third {
    z-index: 2;
}

.player-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.player-first .player-rank {
    background-color: var(--coin-light);
    color: #000;
}

.player-second .player-rank {
    background-color: #C0C0C0;
    color: #000;
}

.player-third .player-rank {
    background-color: #CD7F32;
    color: #000;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
    border: 2px solid rgba(255, 51, 51, 0.2);
}

.player-first .player-avatar {
    width: 70px;
    height: 70px;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: 3px solid var(--coin-light);
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.4);
}

.player-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-color);
    text-align: center;
    width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-first .player-name {
    font-size: 14px;
    color: var(--coin-light);
}

.player-score {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.player-first .player-score {
    font-size: 14px;
    color: var(--accent);
}

.crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

.leaderboard {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 51, 51, 0.1);
    transition: background-color 0.3s ease;
}

.leaderboard-item:hover {
    background-color: rgba(255, 51, 51, 0.1);
}

.leaderboard-rank {
    font-weight: 700;
    font-size: 16px;
    min-width: 30px;
    color: var(--text-secondary);
}

.leaderboard-user {
    flex: 1;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--card-bg-dark);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-color);
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.user-name {
    font-weight: 500;
    color: var(--text-color);
}

.leaderboard-score {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.mini-coin {
    width: 14px;
    height: 14px;
    background-color: var(--coin-light);
    border-radius: 50%;
    margin-right: 5px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* ====== LINKS PAGE STYLING ====== */
.links-container {
    width: 100%;
    padding: 15px;
    max-width: 500px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.feature-card {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 51, 51, 0.2);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: white;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.share-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.community-icon {
    background: linear-gradient(135deg, #111111, #222222);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.3);
}

.tasks-icon {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.learn-icon {
    background: linear-gradient(135deg, #111111, #222222);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.3);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    text-align: center;
}

.card-description {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.card-button {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 51, 51, 0.3);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.share-button {
    color: var(--primary);
}

.community-button {
    color: var(--text-color);
}

.tasks-button {
    color: var(--primary);
}

.learn-button {
    color: var(--text-color);
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.card-button:active {
    transform: translateY(1px);
}

/* ====== LOADING OVERLAY ====== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loader-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.loader-ring-light {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    animation: spin 1.5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.loader-ring-track {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 51, 51, 0.1);
    position: absolute;
    top: 0;
    left: 0;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    animation: pulse 2s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container p {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* ====== BOTTOM NAVIGATION ====== */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 14px 0 10px;
    position: fixed;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid rgba(255, 51, 51, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 25%;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-item span {
    font-size: 11px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-item.active svg {
    color: var(--primary);
}

.nav-item.active span {
    color: var(--primary);
    font-weight: 600;
}

/* ====== UTILITIES ====== */
.hidden {
    display: none !important;
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */
@media (max-width: 360px) {
    .logo-orbit {
        width: 240px;
        height: 240px;
    }
    
    .orbit-circle {
        width: 200px;
        height: 200px;
    }
    
    .logo-circle {
        width: 160px;
        height: 160px;
    }
    
    .orbit-object {
        width: 35px;
        height: 35px;
        font-size: 16px;
        transform: translate(-50%, -50%) rotate(calc(var(--angle))) translateX(100px) rotate(calc(-1 * var(--angle)));
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* Additional styles for reference image matching */

/* Token Counter - Main Display */
.main-stats {
    width: 100%;
    max-width: 350px;
    margin: 15px auto;
}

.token-counter {
    background: linear-gradient(145deg, #111111, #0a0a0a);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.token-value {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(to right, var(--coin-light), var(--coin-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 51, 51, 0.3);
    margin-bottom: 10px;
}

.token-label {
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-text {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

/* Task Steps - Horizontal Layout */
.task-steps {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    width: 100%;
    max-width: 350px;
}

.task-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
    position: relative;
}

.task-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    right: -15px;
    height: 2px;
    width: 30px;
    background-color: rgba(255, 51, 51, 0.2);
}

.task-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111111;
    border: 1px solid rgba(255, 51, 51, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.task-item.active .task-icon {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    border: none;
}

.task-title {
    font-size: 10px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.task-item.active .task-title {
    color: var(--primary);
    font-weight: 600;
}

/* Social Action Buttons */
.action-buttons {
    width: 100%;
    max-width: 350px;
    margin: 20px 0;
}

.action-row {
    margin-bottom: 12px;
}

.action-button {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    width: 100%;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
}

.telegram-icon, .twitter-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.telegram-icon svg, .twitter-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.telegram-icon {
    color: #0088cc;
}

.twitter-icon {
    color: #1DA1F2;
}

.button-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.button-reward {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
    white-space: nowrap;
}

/* Invite Page */
.invite-container {
    width: 100%;
    padding: 15px;
    max-width: 350px;
}

.invite-card {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 51, 51, 0.2);
    margin-bottom: 20px;
}

.invite-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.invite-icon svg {
    width: 28px;
    height: 28px;
}

.invite-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    text-align: center;
}

.invite-description {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.referral-link {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
}

.referral-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    outline: none;
}

.copy-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 15px;
    font-weight: 600;
    cursor: pointer;
}

.share-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 14px 0;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    display: block;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
}

.referral-stats {
    display: flex;
    justify-content: space-between;
}

.stat-box {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 12px;
    padding: 15px;
    width: 48%;
    text-align: center;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.stat-title {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Website info footer */
.website-info {
    text-align: center;
    padding: 10px 0 60px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Modify the logo container to match the reference image */
.logo-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: radial-gradient(circle at center, #111111, #000000);
    border: 2px solid rgba(255, 51, 51, 0.3);
}

.logo-image {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.illuminati-title {
    font-size: 28px;
    font-weight: 700;
    margin: 5px 0;
    letter-spacing: 1px;
}

.illuminati-title span:first-child {
    color: var(--primary);
}

/* Community Links Styling */
.community-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }
  
  .community-card {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.7);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .community-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
  }
  
  .community-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
  }
  
  .community-icon svg {
    width: 28px;
    height: 28px;
    color: white;
  }
  
  .community-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #005f8e);
  }
  
  .community-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd4);
  }
  
  .community-icon.discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
  }
  
  .community-content {
    flex: 1;
  }
  
  .community-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
  }
  
  .community-desc {
    font-size: 12px;
    color: var(--text-secondary);
  }

  /* Social Action Buttons */
.action-buttons {
    width: 100%;
    max-width: 350px;
    margin: 20px 0;
  }
  
  .action-row {
    margin-bottom: 12px;
  }
  
  .action-button {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    width: 100%;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
  }
  
  .action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
  }
  
  .button-content {
    display: flex;
    align-items: center;
  }
  
  .telegram-icon, .twitter-icon, .linkedin-icon, .share-icon, .invite-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
  }
  
  .telegram-icon svg, .twitter-icon svg, .linkedin-icon svg, .share-icon svg, .invite-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
  }
  
  .telegram-icon {
    color: #0088cc;
  }
  
  .twitter-icon {
    color: #1DA1F2;
  }
  
  .linkedin-icon {
    color: #0077B5;
  }
  
  .share-icon {
    color: var(--primary);
  }
  
  .invite-icon {
    color: var(--primary);
  }
  
  .button-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
  }
  
  .button-reward {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
    white-space: nowrap;
  }
  
  /* Button states */
  .action-button.completed {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
  }
  
  .action-button.completed .button-reward {
    color: var(--success);
  }
  
  /* Animation for new buttons */
  .action-button.new::after {
    content: 'NEW';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 8px;
    background: var(--primary);
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    animation: pulse 2s infinite;
  }
  
  @media (max-width: 360px) {
    .button-reward {
      font-size: 10px;
    }
  }

/* Ensure inputs don't zoom on focus in iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) { 
    select, textarea, input {
        font-size: 16px;
    }
}


