/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Typography */
body {
    font-family: 'Arial', sans-serif; /* Standard sans-serif font */
    background-color: #f7f9fc; /* Light grey background to match 3.jpg */
    color: #333; /* Default dark text color */
    line-height: 1.6; /* Improved readability for paragraphs */
    font-size: 16px; /* Base font size for better consistency */
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.05em; /* Slightly larger paragraph font */
    color: #555; /* Slightly muted text color for paragraphs */
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}


/* Navbar */
.navbar {
    border-bottom: 1px solid #eee; /* Subtle bottom border */
}
.navbar-brand img {
    height: 69px;
}
.nav-link {
    font-size: 1.05em; /* Slightly larger nav links */
}

/* Hero Section */
.hero {
    padding: 2.5rem; /* Increased padding */
    margin-top: 1.5rem; /* Increased margin-top */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Soft shadow */
}
.hero-img {
    width: 250px;
    height: 300px;
    background-color: #ddd;
     /* Placeholder background */
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem;
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    max-width: 550px; /* Slightly wider content area */
    margin: 1rem;
}
.hero-content h1 {
    font-size: 2.3rem; /* Fine-tuned font size */
    margin-bottom: 0.8rem;
    line-height: 1.2;
}
.bg-danger{
    background-color: red !important;
}
.text-danger{
    color: red !important;
}
.hero-content .badge {
    background-color: #FFCCCC;
    /* Changed from #fbdcda - Very light red */
    color: #FF0000; /* Changed from #d32f2f - Consistent red */
    font-size: 0.88rem; /* Adjusted badge font size */
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}
.hero-content .btn-group {
    margin-top: 1.5rem; /* Added margin for spacing */
}
.hero-content .btn-danger {
    background-color: #FF0000; /* Standardized red */
    border-color: #FF0000; /* Ensure border color also matches */
    padding: 0.75rem 1.5rem; /* Larger buttons in hero */
    font-size: 1.1em;
}
.hero-content .btn-danger:hover {
    background-color: #CC0000; /* Darker red on hover */
    border-color: #CC0000;
}


/* General Section Styling */
.section {
    padding: 3rem; /* Consistent large padding for sections */
    background-color: #fff;
    margin-top: 1.5rem; /* Consistent margin-top */
    border-radius: 10px; /* Consistent rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Consistent soft shadow */
}

.section-title {
    font-size: 2.6em; /* Slightly adjusted for match with 3.jpg */
    font-weight: 700;
    margin-bottom: 3.5rem; /* Increased margin for better separation */
    color: #333;
    text-align: center;
}

/* Highlight Colors (used for red text) */
.highlight { /* Used in section titles */
    color: #FF0000; /* Changed from #ff007f - Standardized red */
}
.highlight-text { /* Used for text within paragraphs and labels */
    color: #FF0000; /* Changed from #ff007f - Standardized red */
    font-weight: 700; /* Bolder to stand out more */
}

/* Rules & Information Section Specific Styles */
.rules-heading {
    color: #FF0000; /* Changed from #ff007f - Standardized red */
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.65em; /* Slightly larger heading for rules */
}
.rules-heading::after { /* To visually break from content below like in the image if needed, though no line in 3.jpg */
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #FF0000; /* Standardized red */
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .rules-heading::after {
        margin-left: 0; /* Align to left on larger screens */
    }
}


/* Prize Calculator Section */
.prize-calculator-section {
    background-color: #f7f9fc; 
    /* Matches body background */
    padding: 80px 0; /* Vertical padding */
    text-align: center;
}
.calculator-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 950px; /* Increased max-width for cards */
    margin: 0 auto;
    padding: 0 15px; /* Horizontal padding for container */
}
.calculator-card {
    background-color: white;
    border-radius: 15px; /* Rounded corners for the card */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    padding: 35px; /* Adjusted padding */
    flex: 1; /* Allows cards to grow and shrink */
    min-width: 380px; /* Minimum width for the card to prevent squishing */
    text-align: left; /* Align content inside card to left */
    display: flex;
    flex-direction: column;
    gap: 25px; /* Spacing between elements within the card */
}
.calculator-card .card-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.95em;
    color: #777;
    margin-bottom: 10px; /* Slightly reduced margin */
}
.calculator-card .input-and-result {
    display: flex;
    align-items: center;
    gap: 18px; /* Slightly increased gap for visual clarity */
    flex-wrap: wrap;
}
.calculator-card .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px; /* Slightly rounded input field */
    overflow: hidden; /* Ensures icon stays within rounded border */
    flex-grow: 1; /* Allow input to take available space */
    max-width: 170px; /* Adjusted input width */
}
.calculator-card .input-group input[type="number"] {
    border: none;
    padding: 14px 15px; /* Adjusted padding */
    font-size: 1.25em; /* Larger font for input number */
    outline: none; /* Remove outline on focus */
    width: 100%; /* Take full width of its container */
    -moz-appearance: textfield; /* Hide arrows for Firefox */
}
.calculator-card .input-group input[type="number"]::-webkit-outer-spin-button,
.calculator-card .input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Hide arrows for Chrome, Safari */
    margin: 0;
}
.calculator-card .input-group .currency-icon {
    background-color: #f0f2f5; /* Light background for icon */
    padding: 14px 15px; /* Matched padding with input */
    font-size: 1.35em; /* Larger icon */
    color: #FF0000; /* Changed from #ff007f - Standardized red */
    border-left: 1px solid #eee;
}
.calculator-card .operator {
    font-size: 1.9em; /* Larger operator (x) */
    font-weight: 600;
    color: #888;
}
.calculator-card .calculation {
    font-size: 1.3em; /* Base size for calculation text */
    font-weight: 600;
    color: #333;
    white-space: nowrap; /* Keep calculation on one line */
    display: flex; /* Use flex to align elements within calculation */
    align-items: center;
    gap: 5px; /* Small gap between 200%, number, and icon */
}
.calculator-card .calculation .fa-brands,
.calculator-card .calculation .btc-result,
.calculator-card .calculation .eth-result {
    color: #FF0000; /* Changed from #ff007f - Standardized red */
    font-size: 1.25em; /* Slightly larger for results */
}

.currency-icon{
    color: red !important;
}

/* Participate Section */
.participate-section {
    background-color: #f7f9fc; /* Matches body background */
    padding: 80px 0;
    text-align: center;
}
.participate-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 950px; /* Consistent with calculator section */
    margin: 0 auto;
    padding: 0 15px; /* Horizontal padding */
}
.participate-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 35px; /* Consistent padding */
    flex: 1;
    min-width: 380px; /* Minimum width for cards */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Spacing between elements within the card */
}
.participate-card .qr-code-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Increased gap */
    margin-bottom: 15px; /* Adjusted margin */
    position: relative;
    background-color: #f0f2f5; /* Light grey background for QR area */
    border-radius: 10px;
    padding: 20px; /* Increased padding around QR */
    width: 100%;
    max-width: 320px; /* Wider QR area */
}
.participate-card .qr-placeholder {
    width: 110px; /* Slightly larger QR image */
    height: 110px;
    border-radius: 5px;
    object-fit: contain;
    z-index: 2;
}
.participate-card .address-display {
    position: relative;
    flex-grow: 1;
    padding: 5px;
    overflow: hidden;
    text-align: left;
}
/* .participate-card .blurred-address {
    color: #555;
    filter: blur(4px); 
    font-family: monospace;
    font-size: 1.05em; 
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */
.participate-card .send-instruction {
    font-size: 1.15em; /* Adjusted font size for instructions */
    color: #555;
    margin-bottom: 10px; /* Adjusted margin */
}
.participate-card .copy-button {
    background-color: #FF0000; /* Changed from #ff007f - Standardized red */
    color: white;
    padding: 12px 30px; /* Adjusted padding for larger button */
    border-radius: 50px; /* Pill shape */
    font-size: 1.05em; /* Larger font */
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}
.participate-card .copy-button:hover {
    background-color: #CC0000; /* Changed from #d3006a - Darker red on hover */
}
.participate-card .status-indicator {
    display: flex;
    align-items: center;
    justify-content: center; /* Centered status text */
    gap: 10px;
    color: #888;
    font-size: 0.95em; /* Adjusted font size */
    font-weight: 500; /* Slightly bolder */
}
.participate-card .status-indicator .spinner-border {
    color: #FF0000 !important; /* Changed from #ff007f - Force red spinner color */
    width: 1.1rem; /* Slightly larger spinner */
    height: 1.1rem;
}

/* Floating Participate Button */
.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #FF0000; /* Changed from #ff007f - Standardized red */
    color: white;
    padding: 15px 25px; /* Larger padding for button */
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: bold;
    z-index: 1000;
    font-size: 1.05em; /* Consistent font size */
}
.floating-btn:hover {
    background-color: #CC0000 !important; /* Changed from #d3006a - Darker red on hover */
}


/* Responsive Adjustments */
@media (max-width: 992px) { /* Adjust for medium screens */
    .section-title {
        font-size: 2.3em;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) { /* Adjust for small screens (typical tablet/large phone) */
    .hero {
        flex-direction: column;
        padding: 2rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content .btn-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    .hero-content .btn-danger {
        padding: 0.6rem 1.2rem;
        font-size: 1em;
    }

    .calculator-cards-wrapper,
    .participate-cards-wrapper {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        gap: 25px; /* Reduced gap between stacked cards */
    }

    .calculator-card,
    .participate-card {
        min-width: unset; /* Remove min-width */
        width: 90%; /* Take more width on small screens */
        max-width: 400px; /* Limit max width for cards */
        padding: 30px; /* Adjusted padding */
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 2.5rem;
    }
    .section {
        padding: 2rem;
    }
    p {
        font-size: 1em;
    }

    .calculator-card .input-and-result {
        flex-direction: column;
        align-items: flex-start; /* Align elements to start */
        gap: 12px;
    }
    .calculator-card .input-group {
        max-width: none; /* Allow input to take full width */
        width: 100%;
    }
    .calculator-card .input-group input[type="number"],
    .calculator-card .input-group .currency-icon {
        padding: 12px 15px;
        font-size: 1.15em;
    }
    .calculator-card .operator {
        font-size: 1.6em;
    }
    .calculator-card .calculation {
        font-size: 1.15em;
    }

    .participate-card .qr-code-area {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .participate-card .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    .participate-card .send-instruction {
        font-size: 1.05em;
    }
    .participate-card .copy-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .floating-btn {
        padding: 12px 20px;
        font-size: 1em;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) { /* Adjust for very small screens (phones) */
    body {
        font-size: 15px; /* Smaller base font size for very small screens */
    }
    .hero {
        padding: 1.5rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .section {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    .section-title {
        font-size: 1.8em;
        margin-bottom: 2rem;
    }
    .rules-heading {
        font-size: 1.4em;
    }
    .prize-calculator-section,
    .participate-section {
        padding: 60px 0;
    }
    .calculator-card,
    .participate-card {
        padding: 25px;
        width: 95%; /* Almost full width */
    }
    .calculator-card .input-group input[type="number"],
    .calculator-card .input-group .currency-icon {
        padding: 17px 12px;
        font-size: 1em;
    }
    .calculator-card .operator {
        font-size: 1.4em;
    }
    .calculator-card .calculation {
        font-size: 1em;
    }
    .participate-card .qr-code-area {
        gap: 10px;
        padding: 10px;
    }
    .participate-card .qr-placeholder {
        width: 80px;
        height: 80px;
    }
    .participate-card .send-instruction {
        font-size: 0.95em;
    }
    .participate-card .copy-button {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .floating-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

.card .card-title {
    font-weight: 600;
}

.card .text-danger {
    font-weight: bold;
}

.card .card-footer i {
    color: #999;
}

.btn-primary {
  background-color: #0088cc !important;
  border-color: #0088cc !important;
}
.btn-primary:hover {
  background-color: #006699 !important;
  border-color: #006699 !important;
}


.calculator-card .input-group input[type="number"] {
    flex: 1; /* Add this line */
    border: none;
    padding: 14px 15px;
    font-size: 1.25em;
    outline: none;
    width: 100%;
}


  

  


