* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background: linear-gradient(90deg, #ff005e, #6a00ff, #00b7eb); color: #fff; line-height: 1.6; padding: 20px; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; }

.header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: rgba(0,0,0,0.3); border-radius: 10px; margin-bottom: 20px; }
.header-left h1 { font-size: 2.5em; }
.header-nav { display: flex; gap: 20px; }
.header-nav a { color: #00b7eb; text-decoration: none; font-size: 1.2em; }
.header-nav a:hover { color: #fff; }

.hero { text-align: center; padding: 60px 20px; }
.hero h2 { font-size: 3em; margin-bottom: 30px; }
.cta-button { padding: 15px 30px; font-size: 1.2em; background: #00b7eb; color: #fff; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; }
.cta-button:hover:not(:disabled) { background: #00d4ff; }
.cta-button.faded { background: #666; cursor: not-allowed; opacity: 0.6; }

.play-section { text-align: center; padding: 40px 20px; }
.button-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.play-button { padding: 15px 25px; font-size: 1.1em; background: #00b7eb; color: #fff; border: none; text-decoration: none; border-radius: 5px; cursor: pointer; transition: all 0.3s; min-width: 150px; display: inline-block; text-align: center; }
.play-button.faded { background: #666; cursor: not-allowed; opacity: 0.6; }
.play-button.active:hover { background: #00d4ff; transform: scale(1.05); }
.ecosystem-row { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.eco-button { padding: 8px 15px; font-size: 0.9em; background: rgba(255,255,255,0.2); color: #fff; border: 1px solid #00b7eb; text-decoration: none; border-radius: 5px; transition: all 0.3s; }
.eco-button:hover { background: #00b7eb; transform: scale(1.05); }

.learn-section { padding: 40px 20px; }
.cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.card { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 10px; width: 250px; text-align: center; display: flex; flex-direction: column; }
.card-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card button { padding: 10px 20px; background: #00b7eb; color: #fff; border: none; border-radius: 5px; cursor: pointer; margin-bottom: 10px; }
.card p { margin: 0; flex-grow: 1; }

.cta-section { text-align: center; padding: 40px 20px; background: rgba(0,0,0,0.3); border-radius: 10px; margin: 20px 0; }
.cta-section form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cta-section input { padding: 10px; border-radius: 5px; border: none; }

.footer { text-align: center; padding: 20px; background: rgba(0,0,0,0.3); border-radius: 10px; margin-top: 40px; }
.footer a { color: #00b7eb; text-decoration: none; margin: 0 10px; }

.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); overflow: auto; }
.modal-content { background: #fff; color: #000; margin: 5% auto; padding: 20px; border-radius: 10px; width: 90%; max-width: 800px; position: relative; max-height: 80vh; display: flex; flex-direction: column; }
.scrollable-text { overflow-y: auto; max-height: 60vh; margin-bottom: 10px; flex-grow: 1; }
.scrollable-text h3 { margin: 20px 0 10px; }
.scrollable-text h4 { margin: 15px 0 8px; }
.scrollable-text p { margin: 10px 0; }
.scrollable-text ul { margin: 10px 0; padding-left: 20px; }
.scrollable-text hr { border: none; border-top: 1px solid #ccc; margin: 20px 0; }
.scrollable-text table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.scrollable-text th, .scrollable-text td { border: 1px solid #ddd; padding: 8px; text-align: left; }
.scrollable-text th { background-color: #f2f2f2; }
.close { position: absolute; right: 15px; top: 10px; font-size: 2em; cursor: pointer; color: #000; }
.close-btn { padding: 10px 20px; background: #00b7eb; color: #fff; border: none; border-radius: 5px; cursor: pointer; align-self: center; }
.modal ul { text-align: left; margin: 10px 0; }

.section-spacing {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.section-spacing:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.winners-rule {
    margin: 20px 0 16px;
    font-size: 0.95em;
    line-height: 1.4;
    text-align: center;
    color: #d00;
    font-weight: 600;
}

.modal-content {
    background: #fff;
    color: #000;
    margin: 5% auto;
    padding: 30px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-subtitle {
    font-size: 1.1em;
    color: #555;
    margin: 10px 0 25px;
    text-align: center;
}

.modal-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.modal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 1.3em;
}

.modal-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.prize-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 1.1em;
}

.prize-list li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-list li span {
    font-weight: bold;
    margin-right: 4px;
}

.gold { color: #d4af37; }
.silver { color: #c0c0c0; }
.bronze { color: #cd7f32; }

.steps-list {
    padding-left: 22px;
    margin: 14px 0;
    font-size: 1.05em;
    line-height: 1.7;
}

.steps-list li {
    margin: 12px 0;
}

.mainnet-tease {
    text-align: center;
    font-size: 1.15em;
    color: #00b7eb;
    margin: 30px 0 20px;
    font-weight: 600;
    padding: 16px;
    background: #f0f8ff;
    border-radius: 8px;
    border: 1px solid #00b7eb;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    margin: 16px 0;
    padding: 16px;
    background: #f9f9f9;
    border-left: 4px solid #00b7eb;
    border-radius: 4px;
    line-height: 1.5;
}