:root {
    --bg-color: #f7f9fc;
    --card-bg: #ffffff;
    --primary-color: #F7931A;
    --secondary-color: #FFBC42;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --accent-gradient: linear-gradient(135deg, #F7931A 0%, #F2A900 100%);
    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 15px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background-color: #f1f3f5;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}

.nav-links a:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: #000;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(247, 147, 26, 0.1);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f2f5 70%);
}

.tagline {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #2d3436, #636e72);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-img-asset {
    margin-top: 50px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Instructions */
.instructions {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.instructions h2,
.calculator h2,
.participate h2,
.transactions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.instruction-grid {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.instruction-text h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.instruction-text h3:first-child {
    margin-top: 0;
}

/* Calculator */
.calculator {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.calc-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.calc-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.input-group input {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    width: 100%;
    outline: none;
}

.currency {
    font-weight: 700;
    color: var(--secondary-color);
}

.calc-operator {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: 10px 0;
}

.calc-profit {
    text-align: center;
    margin: 10px 0;
}

.percent {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.output-group {
    text-align: center;
    margin-top: 20px;
}

.result {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Participate / Address */
.participate {
    padding: 80px 0;
}

.address-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.address-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-header h3 {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 5px solid #f0f2f5;
}

.address-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    word-break: break-all;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.address-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.btn-copy {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-copy:hover {
    background: #e68a19;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Transactions Table */
.transactions {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

th {
    background: #f8f9fa;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

td {
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

.text-orange {
    color: var(--primary-color);
    font-weight: 700;
    -webkit-text-fill-color: initial;
    background: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .calc-wrapper,
    .address-grid {
        flex-direction: column;
        align-items: center;
    }
}