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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

:root {
    --theme-gold: #D4AF37;
    --theme-gold-light: #F0D060;
    --theme-gold-dark: #B8860B;
    --theme-gold-darker: #8B6914;
    --theme-black: #0a0a0a;
    --theme-black-card: #141414;
    --theme-black-card-light: #1e1e1e;
    --theme-text: #f0ead6;
    --theme-text-muted: #a89878;
    --xmas-red: #D4AF37;
    --xmas-green: #0f8b3b;
    --xmas-gold: #D4AF37;
    --xmas-snow: #141414;
}

/* Sticky Urgency Header */
.urgency-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    color: var(--theme-gold);
    padding: 12px 0;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    animation: slideDown 0.5s ease-out;
    width: 100%;
    box-sizing: border-box;
}

.urgency-header .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

.urgency-icon {
    font-size: 1.5em;
    animation: blink 1s infinite;
    flex-shrink: 0;
}

.urgency-text {
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    flex: 1;
    white-space: nowrap;
}


.urgency-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.urgency-timer-value {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--theme-gold);
    min-width: 30px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.urgency-timer-separator {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--theme-gold);
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    color: var(--theme-text);
    padding: 4rem 3rem;
    margin-top: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}
.video-section:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.video-section .container {
    max-width: 900px;
    margin: auto;
    padding: 0;
}

.video-box {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.video-box:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.video-box > video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: #000;
    display: block;
    z-index: 1;
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #D4AF37;
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: #D4AF37;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.live-text {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-section .viewers {
    font-size: 18px;
    margin-bottom: 20px;
    color: #D4AF37;
    font-weight: bold;
    text-align: center;
}

.video-participate-btn-wrapper {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.video-participate-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-participate-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: #fff;
}

.video-section .chat-box {
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 16px;
    height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.video-section .chat-box:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.video-section .chat-box::-webkit-scrollbar {
    width: 8px;
}

.video-section .chat-box::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.video-section .chat-box::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

.video-section .chat-box::-webkit-scrollbar-thumb:hover {
    background: #B8860B;
}

.video-section .chat-message {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 14px;
    line-height: 1.6;
    color: var(--theme-text-muted);
}

.video-section .username {
    color: #D4AF37;
    font-weight: bold;
}

/* Body and Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0, rgba(212, 175, 55, 0) 25%),
        radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.06) 0, rgba(212, 175, 55, 0) 23%),
        linear-gradient(180deg, #0a0a0a 0%, #111111 45%, #0a0a0a 100%);
    color: var(--theme-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.05em;
    color: var(--theme-text-muted);
}

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


/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background-color: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.navbar-brand img {
    height: 69px;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}
.nav-link {
    font-size: 1.05em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}
.nav-link:hover {
    color: var(--theme-gold) !important;
}

/* Hero Section */
.hero {
    padding: 3rem 2.5rem;
    margin-top: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    animation: fadeInUp 0.8s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Snowflakes Animation */
.snowflakes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    animation: snowfall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    user-select: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateX(20px) rotate(180deg);
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(-20px) rotate(360deg);
        opacity: 0;
    }
}
.hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
.hero-img {
    width: 400px;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    background-color: transparent;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-content {
    max-width: 550px; /* Slightly wider content area */
    margin: 1rem;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: var(--theme-text);
}
.bg-danger{
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: #0a0a0a !important;
}
.text-danger{
    color: #D4AF37 !important;
}
.hero-content .badge {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #0a0a0a;
    font-size: 0.88rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.7rem;
    font-weight: 700;
}
.hero-content .btn-group {
    margin-top: 1.5rem;
}
.hero-content .btn-danger {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #0a0a0a;
}
.hero-content .btn-danger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.hero-content .btn-danger:hover::before {
    width: 300px;
    height: 300px;
}
.hero-content .btn-danger:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.hero-content .btn-danger:active {
    transform: translateY(0);
}


/* General Section Styling */
.section {
    padding: 4rem 3rem;
    background-color: #141414;
    margin-top: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}
.section:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.section-title {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 3.5rem;
    color: var(--theme-text);
    text-align: center;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #F0D060 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.instruction-visual {
    margin-top: 40px;
}
.instruction-visual__title {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 24px;
}
.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}
.instruction-card {
    background: #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 28px 22px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.instruction-card__icon {
    font-size: 2.8rem;
    color: #D4AF37;
}
.instruction-card__text {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--theme-text);
}

/* Rules & Information Section Specific Styles */
.rules-heading {
    color: #D4AF37; /* 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: #D4AF37; /* 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: #0a0a0a; 
    /* Matches body background */
    padding: 80px 0; /* Vertical padding */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Timer and Crypto Remaining Section */
.timer-crypto-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.countdown-timer,
.crypto-remaining {
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(15, 139, 59, 0.08);
    min-width: 300px;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.countdown-timer::before,
.crypto-remaining::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #B8860B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.countdown-timer:hover::before,
.crypto-remaining:hover::before {
    transform: scaleX(1);
}

.countdown-timer:hover,
.crypto-remaining:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(212, 175, 55, 0.05);
}

.timer-title,
.crypto-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-width: 80px;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 1;
    transition: all 0.3s ease;
}

.timer-unit:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.timer-value {
    font-size: 2.5em;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 5px;
    animation: timerBlink 2s infinite;
}

@keyframes timerBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.4;
    }
}

.timer-label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--theme-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-separator {
    font-size: 2.5em;
    font-weight: 900;
    color: #D4AF37;
    margin: 0 2px;
}

.crypto-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.crypto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.crypto-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.crypto-amount {
    font-size: 1.8em;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 5px;
    animation: cryptoBlink 2s infinite;
}

@keyframes cryptoBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.4;
    }
}

.crypto-label {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--theme-text-muted);
    text-transform: uppercase;
}
.calculator-cards-wrapper {
    display: flex;
    flex-direction: column; /* Always stack like the reference */
    gap: 30px;
    width: 100%;
    max-width: 1100px; /* Comfortable desktop width */
    margin: 0 auto;
    padding: 0 15px; /* Horizontal padding for container */
    box-sizing: border-box;
}
.calculator-card {
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 40px;
    width: 100%;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(15, 139, 59, 0.08);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #B8860B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.calculator-card:hover::before {
    transform: scaleX(1);
}
.calculator-card:hover {
    transform: translateY(-4px) scale(1.005); /* Softer hover for full-width cards */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.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: 1.5px solid #B8860B;
    border-radius: 8px;
    overflow: hidden;
    flex-grow: 1;
    max-width: 200px;
    transition: all 0.3s ease;
    background: #141414;
}
.calculator-card .input-group:focus-within {
    border-color: #B8860B;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.1);
}
.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 */
    appearance: textfield; /* Hide arrows */
    -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: #D4AF37;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    border: none;
    padding: 0;
}
.calculator-card .input-group .currency-icon i {
    color: #fff;
    font-size: 0.9em;
}
.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: var(--theme-text);
    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: #D4AF37; /* Changed from #ff007f - Standardized red */
    font-size: 1.25em; /* Slightly larger for results */
}

.currency-icon{
    color: #D4AF37 !important;
}

/* Calculator Block - Simple & Clean Layout */
.calculator-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.calculator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.calculator-item.red {
    color: #D4AF37;
}

.calculator-label {
    font-size: 0.9em;
    color: var(--theme-text-muted);
    font-weight: 400;
    margin: 0 0 8px 0;
    text-align: center;
}

.calculator-label span {
    color: #D4AF37;
    font-weight: 600;
}

.calculator-label.red {
    color: #D4AF37;
    font-weight: 600;
}

.calculator-input {
    display: flex;
    align-items: center;
    border: 1.5px solid #B8860B;
    border-radius: 8px;
    padding: 8px 12px;
    background: #141414;
    gap: 10px;
    min-width: 160px;
    transition: all 0.3s ease;
    cursor: text;
}

.calculator-input:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.calculator-input input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1.1em;
    color: var(--theme-text);
    background: transparent;
    padding: 0;
    width: 100%;
    min-width: 0;
}

.calculator-input input::placeholder {
    color: #999;
}

.calculator-input i,
.calculator-input img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9em;
    flex-shrink: 0;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
}

.calculator-input img {
    background: transparent;
    padding: 0;
}

.calculator-delimiter {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--theme-text);
    margin: 0;
    flex: 0 0 auto;
    line-height: 1;
}

.calculator-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2em;
    font-weight: 700;
    color: var(--theme-text);
    min-height: 50px;
}

.calculator-item.red .calculator-counter {
    color: var(--theme-text);
}

.calculator-counter span {
    line-height: 1;
    letter-spacing: -0.5px;
}

.calculator-counter i,
.calculator-counter img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9em;
    flex-shrink: 0;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
}

.calculator-counter img {
    background: transparent;
    padding: 0;
}

/* Premium "You Receive" Section */
.calculator-card .receive-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(212, 175, 55, 0.08) 100%);
    border: 2px solid #D4AF37;
    border-radius: 16px;
    padding: 20px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    }
    50% {
        box-shadow: 0 8px 35px rgba(212, 175, 55, 0.25);
    }
}

.calculator-card .receive-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.calculator-card .receive-section .card-label {
    color: #D4AF37;
    font-weight: 700;
    font-size: 1em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculator-card .receive-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 1;
}

.calculator-card .receive-value {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
    animation: numberPulse 1.5s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.calculator-card .receive-icon {
    font-size: 2em;
    color: #D4AF37;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    animation: iconFloat 2s ease-in-out infinite;
}

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

/* Participate Section */
.participate-section {
    background-color: #0a0a0a; /* Matches body background */
    padding: 80px 0;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}
.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 */
    box-sizing: border-box;
    width: 100%;
}
.participate-card {
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 40px;
    flex: 1;
    min-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}
.participate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #B8860B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.participate-card:hover::before {
    transform: scaleX(1);
}
.participate-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
.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: var(--theme-text-muted);
    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: var(--theme-text-muted);
    margin-bottom: 10px; /* Adjusted margin */
}
.participate-card .copy-button {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #0a0a0a;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.05em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}
.participate-card .copy-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.participate-card .copy-button:hover::before {
    width: 300px;
    height: 300px;
}
.participate-card .copy-button:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.participate-card .copy-button:active {
    transform: translateY(0);
}
.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: #D4AF37 !important; /* Changed from #ff007f - Force red spinner color */
    width: 1.1rem; /* Slightly larger spinner */
    height: 1.1rem;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #0a0a0a;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    font-weight: 700;
    z-index: 1000;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    letter-spacing: 0.5px;
}
.floating-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}
.floating-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Floating Help Button */
.floating-btn-help {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
    bottom: 90px;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}
.floating-btn-help:hover {
    background: linear-gradient(135deg, #006699 0%, #004d73 100%) !important;
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.5);
}


/* Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) { /* Adjust for medium screens */
    .section-title {
        font-size: 2.3em;
        margin-bottom: 3rem;
    }
    .instruction-visual__title {
        font-size: 1.8em;
    }
    .instruction-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .instruction-grid {
        gap: 18px;
    }
    .hero {
        padding: 2.5rem 2rem;
    }
    .hero-img {
        width: 350px;
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    .section {
        padding: 3rem 2rem;
    }
    .calculator-card,
    .participate-card {
        min-width: 320px;
    }
}

@media (max-width: 768px) { /* Adjust for small screens (typical tablet/large phone) */
    .urgency-content {
        gap: 12px;
        flex-wrap: nowrap;
    }
    .urgency-text {
        font-size: 0.65em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .urgency-timer {
        padding: 5px 12px;
        flex-shrink: 0;
    }
    .urgency-timer-value {
        font-size: 1.1em;
        min-width: 25px;
    }
    .urgency-timer-separator {
        font-size: 1.1em;
    }
    .video-section {
        padding: 2.5rem 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    .video-box {
        border-radius: 12px;
    }
    .video-section .chat-box {
        border-radius: 12px;
    }
    .video-section .container {
        padding: 0;
    }
    .live-indicator {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .live-dot {
        width: 10px;
        height: 10px;
    }
    .video-section .viewers {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .video-section .chat-box {
        height: 250px;
        padding: 15px;
    }
    .video-section .chat-message {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .hero {
        flex-direction: column;
        padding: 1.5rem 1.5rem 0.75rem;
        margin-top: 1rem;
        align-items: center;
        gap: 0;
    }
    .hero-img {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 0.25rem;
        order: -1; /* Place image before text */
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0;
        padding-top: 0.25rem;
        order: 1; /* Place text after image */
    }
    .hero-content .badge {
        margin-bottom: 0.5rem;
    }
    .hero-content h1 {
        margin-bottom: 0.6rem;
    }
    .hero-content p {
        margin-bottom: 0.8rem;
    }
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    .hero-content .btn-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    .hero-content .btn-danger {
        padding: 0.6rem 1.2rem;
        font-size: 1em;
        width: 100%;
    }
    .navbar {
        padding: 0.5rem 1rem;
    }
    .navbar-brand img {
        height: 50px;
    }
    .nav-link {
        font-size: 0.95em;
        padding: 0.5rem 0.75rem;
    }

    .calculator-cards-wrapper,
    .participate-cards-wrapper {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        gap: 26px; /* A bit more breathing room like the mock */
        padding: 0 14px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .calculator-card,
    .participate-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 16px 12px; /* tighter on phones */
        border-radius: 16px;
        box-sizing: border-box;
    }
    .calculator-card:hover,
    .participate-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .section-title {
        font-size: 1.75em;
        margin-bottom: 2rem;
        padding: 0 10px;
        letter-spacing: -0.3px;
    }
    .section {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }
    p {
        font-size: 0.95em;
        line-height: 1.5;
    }

    .calculator-card .card-section {
        gap: 8px;
    }
    .calculator-card .card-label {
        font-size: 0.9em;
    }
    .calculator-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        flex-wrap: nowrap; /* keep in one row */
        width: 100%;
    }
    .calculator-item {
        gap: 4px;
        align-items: center;
        flex: 1 1 0;
        min-width: 0;
    }
    .calculator-label {
        display: none; /* hide inner labels to keep single-row layout */
    }
    .calculator-input {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 6px 10px;
    }
    .calculator-input input {
        font-size: 0.95em;
        height: 40px;
    }
    .calculator-input i {
        width: 22px;
        height: 22px;
    }
    .calculator-delimiter {
        font-size: 0.95em;
        margin: 0 2px;
    }
    .calculator-counter {
        font-size: 1.05em;
        min-height: 32px;
    }
    .calculator-counter i {
        width: 20px;
        height: 20px;
    }
    .calculator-card .receive-section {
        padding: 15px;
        margin-top: 8px;
    }
    .calculator-card .receive-section .card-label {
        font-size: 0.85em;
    }
    .calculator-card .receive-value {
        font-size: 2em;
    }
    .calculator-card .receive-icon {
        font-size: 1.5em;
    }
    .calculator-card .receive-amount {
        padding: 12px;
        gap: 10px;
    }
    .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.1em;
    }
    .calculator-card .calculation-text {
        font-size: 1.1em;
    }
    .calculator-card .operator {
        font-size: 1.5em;
    }
    .calculator-card .calculation {
        font-size: 1.1em;
    }

    .participate-card .qr-placeholder {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .participate-card .address-display {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .participate-card .blurred-address {
        font-size: 0.9em;
        word-break: break-all;
    }
    .participate-card .send-instruction {
        font-size: 1em;
        padding: 0 10px;
    }
    .participate-card .copy-button {
        padding: 10px 25px;
        font-size: 0.95em;
        width: 100%;
        max-width: 250px;
    }
    .participate-card .status-indicator {
        font-size: 0.9em;
    }
    .floating-btn {
        padding: 12px 20px;
        font-size: 0.9em;
        bottom: 15px;
        right: 15px;
        border-radius: 25px;
    }
    .floating-btn-help {
        bottom: 80px;
    }
    .rules-heading {
        font-size: 1.4em;
    }
    .prize-calculator-section,
    .participate-section {
        padding: 50px 0;
    }
    .timer-crypto-wrapper {
        gap: 30px;
        margin-bottom: 40px;
    }
    .countdown-timer,
    .crypto-remaining {
        min-width: 280px;
        padding: 25px 30px;
    }
    .timer-title,
    .crypto-title {
        font-size: 1.3em;
    }
    .timer-value {
        font-size: 2.2em;
    }
    .crypto-amount {
        font-size: 1.6em;
    }
}

}

@media (max-width: 480px) { /* Adjust for very small screens (phones) */
    .urgency-header {
        padding: 10px 0;
        width: 100%;
    }
    .urgency-header .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    .urgency-content {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    .urgency-text {
        font-size: 0.55em;
        padding: 0;
        flex: 0 1 auto;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        text-align: center;
    }
    .urgency-icon {
        font-size: 1.1em;
        flex-shrink: 0;
    }
    .urgency-timer {
        padding: 4px 8px;
        flex-shrink: 0;
    }
    .urgency-timer-value {
        font-size: 1em;
        min-width: 22px;
    }
    .urgency-timer-separator {
        font-size: 1em;
    }
    .urgency-timer-value {
        font-size: 1em;
        min-width: 20px;
    }
    .urgency-timer-separator {
        font-size: 1em;
    }
    .video-section {
        padding: 1.5rem 0.75rem;
        margin-top: 0.75rem;
        border-radius: 8px;
    }
    .video-section .container {
        padding: 0;
    }
    .live-indicator {
        font-size: 12px;
        margin-bottom: 10px;
        gap: 6px;
    }
    .live-dot {
        width: 8px;
        height: 8px;
    }
    .video-section .viewers {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .video-section .chat-box {
        height: 200px;
        padding: 12px;
    }
    .video-section .chat-message {
        font-size: 12px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    .video-participate-btn-wrapper {
        margin-top: 15px;
    }
    .video-participate-btn {
        padding: 0.75rem 2rem;
        font-size: 1em;
        width: 90%;
        max-width: 300px;
    }
    body {
        font-size: 14px; /* Smaller base font size for very small screens */
        padding: 0;
    }
    .hero {
        padding: 1rem 1rem 0.5rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        gap: 0;
    }
    .hero-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 0.15rem;
        order: -1; /* Place image before text */
    }
    .hero-content {
        order: 1; /* Place text after image */
        padding-top: 0.15rem;
        margin-top: 0;
    }
    .hero-content .badge {
        margin-bottom: 0.4rem;
    }
    .hero-content h1 {
        margin-bottom: 0.5rem;
        line-height: 1.15;
    }
    .hero-content p {
        margin-bottom: 0.7rem;
        line-height: 1.4;
    }
    .hero-content .btn-group {
        margin-top: 0.8rem;
    }
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    .hero-content .badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 1rem;
    }
    .section {
        padding: 1rem 0.75rem;
        margin-top: 0.75rem;
        border-radius: 8px;
    }
    .section-title {
        font-size: 1.5em;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    .rules-heading {
        font-size: 1.25em;
        margin-bottom: 0.75rem;
    }
    .prize-calculator-section,
    .participate-section {
        padding: 40px 0;
    }
    .prize-calculator-section .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .timer-crypto-wrapper {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
    }
    .countdown-timer,
    .crypto-remaining {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
        margin: 0 auto;
        text-align: center;
    }
    .timer-title,
    .crypto-title {
        font-size: 1.1em;
        margin-bottom: 12px;
        text-align: center;
    }
    .timer-display {
        gap: 5px;
        padding: 0 5px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    .timer-unit {
        padding: 10px 8px;
        min-width: 0;
        flex: 1 1 0;
        max-width: 100%;
        text-align: center;
    }
    .timer-value {
        font-size: 1.6em;
        text-align: center;
    }
    .timer-label {
        font-size: 0.7em;
        text-align: center;
    }
    .timer-separator {
        font-size: 1.6em;
    }
    .crypto-display {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .crypto-item {
        text-align: center;
        width: 100%;
    }
    .crypto-amount {
        font-size: 1.4em;
        text-align: center;
    }
    .crypto-label {
        font-size: 0.8em;
        text-align: center;
    }
    .timer-separator {
        font-size: 1.6em;
        margin: 0 2px;
        flex-shrink: 0;
    }
    .crypto-display {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    .crypto-item {
        padding: 10px 8px;
        min-width: 0;
    }
    .crypto-amount {
        font-size: 1.3em;
        word-break: break-word;
    }
    .crypto-label {
        font-size: 0.75em;
    }
    .calculator-card,
    .participate-card {
        padding: 12px 10px; /* tighter on phones */
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        box-sizing: border-box;
    }
    .calculator-cards-wrapper,
    .participate-cards-wrapper {
        padding: 0 10px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .calculator-card .card-section {
        gap: 4px;
    }
    .calculator-card .card-label {
        font-size: 0.8em;
    }
    .calculator-block {
        flex-direction: row;
        flex-wrap: nowrap; /* stay in one row */
        justify-content: space-between;
        gap: 6px;
    }
    .calculator-item {
        width: auto;
        gap: 4px;
        flex: 1 1 0;
        min-width: 0;
    }
    .calculator-label {
        display: block; /* show labels */
        font-size: 0.72em;
        line-height: 1.1;
        margin: 0 0 2px 0;
        text-align: center;
        white-space: nowrap;
    }
    .calculator-input {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 6px 10px;
    }
    .calculator-input input {
        font-size: 0.95em;
        height: 38px;
    }
    .calculator-input i {
        width: 20px;
        height: 20px;
    }
    .calculator-delimiter {
        font-size: 0.95em;
        margin: 0 2px;
    }
    .calculator-counter {
        font-size: 1.05em;
        min-height: 32px;
        justify-content: center;
    }
    .calculator-counter i {
        width: 20px;
        height: 20px;
    }
    .calculator-card .receive-section {
        padding: 12px;
        margin-top: 6px;
        border-radius: 12px;
    }
    .calculator-card .receive-section .card-label {
        font-size: 0.8em;
        margin-bottom: 6px;
    }
    .calculator-card .receive-value {
        font-size: 1.8em;
    }
    .calculator-card .receive-icon {
        font-size: 1.3em;
    }
    .calculator-card .receive-amount {
        padding: 10px;
        gap: 8px;
        border-radius: 10px;
    }
    .calculator-card .input-group input[type="number"],
    .calculator-card .input-group .currency-icon {
        padding: 10px 12px;
        font-size: 1em;
    }
    .calculator-card .calculation-text {
        font-size: 1em;
    }
    .calculator-card .operator {
        font-size: 1.3em;
    }
    .calculator-card .calculation {
        font-size: 1em;
    }
    .participate-card .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    .participate-card .blurred-address {
        font-size: 0.8em;
    }
    .participate-card .send-instruction {
        font-size: 0.9em;
        padding: 0 5px;
    }
    .participate-card .copy-button {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
        max-width: 200px;
    }
    .participate-card .status-indicator {
        font-size: 0.85em;
    }
    .floating-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        bottom: 10px;
        right: 10px;
        border-radius: 20px;
    }
    .floating-btn-help {
        bottom: 70px;
        padding: 10px 18px;
    }
    .navbar-brand img {
        height: 45px;
    }
    .nav-link {
        font-size: 0.9em;
        padding: 0.4rem 0.5rem;
    }
    .container {
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }
    p {
        font-size: 0.9em;
    }
}

.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%;
}

/* Transactions Table Styles */
.table-container-transactions {
    max-width: 1100px;
    margin: auto;
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 0.3s ease;
}
.table-container-transactions:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th, 
.transactions-table td {
    text-align: left;
    padding: 14px;
}

.transactions-table th {
    font-size: 15px;
    color: var(--theme-text-muted);
    font-weight: 600;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.transactions-table tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.transactions-table tr {
    transition: all 0.3s ease;
}
.transactions-table tr:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, #1e1e1e 100%);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.transactions-table .status {
    background: #d4f7d4;
    color: #2f8f2f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    font-weight: 500;
}

.transactions-table .coin-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transactions-table .coin-row img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

/* Mobile Transactions Cards */
.mobile-transactions-container {
    display: none;
    max-width: 100%;
    margin: auto;
    padding: 0 10px;
}

.mobile-tx-card {
    background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}
.mobile-tx-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.mobile-tx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mobile-tx-header .coin-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-tx-header .coin-row img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.mobile-tx-header .coin-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--theme-text);
}

.mobile-tx-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-tx-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.mobile-tx-row.highlight-row {
    background-color: rgba(212, 175, 55, 0.08);
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;
    border-left: 3px solid #D4AF37;
}

.mobile-tx-label {
    font-size: 14px;
    color: var(--theme-text-muted);
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
}

.mobile-tx-value {
    font-size: 14px;
    color: var(--theme-text);
    font-weight: 500;
    text-align: right;
    word-break: break-all;
    flex: 1;
    margin-left: 10px;
}

.mobile-tx-value.highlight-text {
    color: #D4AF37;
    font-weight: 700;
    font-size: 15px;
}

.mobile-tx-card .status {
    background: #d4f7d4;
    color: #2f8f2f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive table styles */
@media (max-width: 768px) {
    .table-container-transactions {
        display: none;
    }
    
    .mobile-transactions-container {
        display: block;
        padding: 0 5px;
    }
    
    .section {
        padding: 1.5rem 1rem;
    }
    
    /* Touch-friendly buttons */
    .btn, .copy-button, .floating-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for mobile */
    .calculator-cards-wrapper,
    .participate-cards-wrapper {
        gap: 15px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .table-container-transactions {
        padding: 15px;
    }
    
    .transactions-table {
        font-size: 14px;
        min-width: 900px;
    }
    
    .transactions-table th, 
    .transactions-table td {
        padding: 10px 8px;
    }
    
    .transactions-table th {
        font-size: 13px;
    }
    
    .transactions-table .coin-row img {
        width: 22px;
        height: 22px;
    }
    
    .transactions-table .status {
        padding: 4px 10px;
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .mobile-transactions-container {
        display: none;
    }
    
    .table-container-transactions {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-tx-card {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    
    .mobile-tx-header {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .mobile-tx-header .coin-row img {
        width: 26px;
        height: 26px;
    }
    
    .mobile-tx-header .coin-name {
        font-size: 14px;
    }
    
    .mobile-tx-label {
        font-size: 12px;
        min-width: 65px;
    }
    
    .mobile-tx-value {
        font-size: 12px;
    }
    
    .mobile-tx-value.highlight-text {
        font-size: 13px;
    }
    
    .mobile-tx-row {
        padding: 5px 0;
    }
    
    .mobile-tx-row.highlight-row {
        padding: 6px;
        margin: 3px 0;
    }
    
    .mobile-tx-card .status {
        padding: 3px 10px;
        font-size: 11px;
    }
    
    .mobile-transactions-container {
        padding: 0;
    }
}

/* Footer */
.site-footer {
    background: #141414;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
}

/* Black & Gold Theme Overrides */
.bg-white {
    background-color: var(--theme-black-card) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--theme-text) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--theme-gold) !important;
}

.btn-danger {
    background: linear-gradient(135deg, var(--theme-gold) 0%, var(--theme-gold-dark) 100%) !important;
    border-color: var(--theme-gold-dark) !important;
    color: var(--theme-black) !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: linear-gradient(135deg, var(--theme-gold-dark) 0%, var(--theme-gold-darker) 100%) !important;
    border-color: var(--theme-gold-darker) !important;
    color: var(--theme-black) !important;
}

.calculator-card,
.participate-card,
.countdown-timer,
.crypto-remaining,
.table-container-transactions,
.mobile-tx-card {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.calculator-counter {
    color: var(--theme-text);
}

.participate-card .address-display,
.participate-card .blurred-address {
    color: var(--theme-text);
}

.urgency-timer {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.timer-unit,
.crypto-item {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-tx-row.highlight-row {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--theme-gold);
}

.transactions-table td {
    color: var(--theme-text-muted);
}

.transactions-table th {
    color: var(--theme-gold);
}

.calculator-input i,
.calculator-counter i {
    color: #0a0a0a;
}
