/*
Theme Name: Tron Flash Future
Theme URI: https://kerosenassosiation.com//
Author: Tron Network Flash Tool
Author URI: https://kerosenassosiation.com/
Description: Educational blockchain research theme focused on flash USDT misinformation, escrow security, and fraud awareness.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tron-flash-future
*/

/* =====================
   Global Base Styles
===================== */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.7;
}

header,
footer {
  background: #f7f7f7;
  padding: 1.5rem;
  text-align: center;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =====================
   Hero & Disclaimers
===================== */

.hero {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.disclaimer {
  background: #fff4f4;
  border: 1px solid #ffcccc;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* =====================
   Primary Navigation
===================== */

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.primary-menu li {
  display: inline-block;
}

.primary-menu li a {
  text-decoration: none;
  color: #0066cc;
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.primary-menu li a:hover {
  color: #004999;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #0066cc;
}

@media screen and (max-width: 768px) {
  .primary-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    text-align: center;
    width: 100%;
    background: #f7f7f7;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .primary-menu li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* =====================================================
   🌐 Floating Contact Buttons (WhatsApp & Telegram)
   (New Styles Added Below)
===================================================== */

/* Base styling for all floating buttons to ensure consistent structure */
.floating-button {
    position: fixed; /* Keeps them fixed on the screen */
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* --- Telegram Button Styling (Original) --- */
.floating-telegram {
  bottom: 24px;
  left: 24px; /* Positioned on the left */

  background-color: #229ED9; /* Blue background */
  color: #ffffff;
}

/* Hover feedback - no deceptive urgency */
.floating-telegram:hover {
  background-color: #1b8cc3;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

/* --- WhatsApp Button Styling (NEW) --- */
.floating-whatsapp {
    bottom: 24px;
    right: 24px; /* Positioned on the right */
    background-color: #25D366; /* WhatsApp Green background */
    color: #ffffff;
}

/* Hover feedback - no deceptive urgency */
.floating-whatsapp:hover {
    background-color: #128C7E; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}


/* Common Image Styling for Icons */
.floating-button img {
  width: 32px; /* Slightly larger icon for better visibility */
  height: 32px;
  display: block;
}

/* Label styling (used when more than just an icon is shown) */
.floating-button span[class*="label"] {
    font-size: 14px;
    white-space: nowrap;
}


/* Accessibility: disable motion when requested */
@media (prefers-reduced-motion: reduce) {
  .floating-telegram,
  .floating-whatsapp {
    transition: none !important;
  }
}

/* Responsive behavior - Tablet/Mobile Adjustments */
@media screen and (max-width: 768px) {
    /* General padding reduction for smaller screens */
    main {
        padding: 1rem;
    }

    /* Re-adjusting fixed positions to be less invasive on mobile views */
    .floating-button {
        padding: 10px 12px; /* Smaller padding */
    }

    /* Telegram Button adjustment */
    .floating-telegram {
        bottom: 16px;
        left: 16px;
        border-radius: 50px;
    }

    /* WhatsApp Button adjustment (right side) */
    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        border-radius: 50px;
    }

    /* Hide labels completely on very small screens if the icon is enough */
    .floating-button span[class*="label"] {
        display: none; 
    }
}

@media screen and (max-width: 480px) {
  .floating-button img {
    width: 28px;
    height: 28px;
  }
}
