/* MINCHYN Dutch Auction Platform - Frontend Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #7C77C6;
    --primary-light: #9b94d4;
    --secondary-color: #2ed373;
    --accent-color: #ff6b6b;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --success: #2ed373;
    --warning: #ffa500;
    --danger: #ff4757;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Dutch Auction Container */
.minchyn-da-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.da-header {
    text-align: center;
    margin-bottom: 40px;
}

.da-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.da-header h1 {
    font-size: 2.5rem;
    margin: 16px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.da-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 16px;
}

.auction-info-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 24px;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    background: none;
}

.auction-info-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Modal Styling */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 12px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 90%;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-body {
    color: var(--text-primary);
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.modal-body ol, .modal-body ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.modal-body li {
    margin-bottom: 10px;
}

.modal-body p {
    margin-bottom: 16px;
}

/* Auction Information Section */
.auction-info-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 24px;
    margin-top: 80px;
    scroll-margin-top: 100px;
}

.auction-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.auction-info-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.intro-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 20px rgba(124, 119, 198, 0.15);
    transform: translateY(-2px);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-card.warning-card {
    background: rgba(255, 193, 7, 0.05);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid #ff9800;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.info-card p {
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-card ul, .info-card ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.info-card li {
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.6;
}

.auction-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.auction-steps li {
    margin-bottom: 16px;
    padding-left: 40px;
    position: relative;
}

.auction-steps li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.benefits-list li {
    margin-bottom: 12px;
}

.contract-functions {
    background: rgba(124, 119, 198, 0.05);
    border-radius: 6px;
    padding: 12px 24px;
    margin-bottom: 12px;
}

.contract-functions li {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #2ed373;
}

.participation-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.participation-steps li {
    margin-bottom: 16px;
    padding-left: 40px;
    position: relative;
}

.participation-steps li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.faq-item {
    background: rgba(124, 119, 198, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.highlight {
    background: rgba(46, 211, 115, 0.1);
    border-radius: 4px;
    padding: 12px;
    border-left: 4px solid #2ed373;
    margin: 12px 0;
}

.auction-info-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.auction-info-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auction-info-footer a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 119, 198, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 119, 198, 0.6);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
}

/* Wallet Section */
.da-wallet-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.wallet-status {
    animation: slideIn 0.3s ease-in;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.wallet-status h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.wallet-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(124, 119, 198, 0.1);
}

.info-row.nft-status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.info-row.nft-status-row .label {
    width: 100%;
}

.info-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-row .value {
    color: var(--primary-color);
    font-weight: 600;
    font-family: monospace;
}

/* Exclusive Period Notice */
.exclusive-period-notice {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 165, 0, 0.03) 100%);
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    animation: slideDown 0.4s ease-out;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
}

.notice-icon {
    font-size: 3rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-icon h3 {
    color: var(--warning);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.notice-text {
    flex: 1;
}

.notice-text h3 {
    color: var(--warning);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.notice-text p {
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.countdown {
    background: rgba(255, 165, 0, 0.15);
    color: var(--warning);
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    border-left: 3px solid var(--warning);
    display: inline-block;
}

/* Stats Grid */
.da-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 32px;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, rgba(124, 119, 198, 0.1) 0%, rgba(46, 211, 115, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 119, 198, 0.15);
}

.stat-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 6px 0;
    line-height: 1.2;
}

.stat-hint {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Timer */
.da-timer-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.da-timer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.timer-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.timer-block {
    background: rgba(124, 119, 198, 0.1);
    border: 1px solid rgba(124, 119, 198, 0.2);
    border-radius: 8px;
    padding: 16px;
}

.timer-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.timer-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.auction-status {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
    padding: 12px;
    background: rgba(46, 211, 115, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

/* Bid Form */
.da-bid-section {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 26px;
    margin-bottom: 32px;
}

.da-bid-section h3 {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.bid-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(124, 119, 198, 0.3);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 119, 198, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.3rem;
}

/* Recent Bids */
.da-recent-bids {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.da-recent-bids h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bids-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bid-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--secondary-color);
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.bid-item .wallet {
    color: var(--primary-color);
    font-family: monospace;
}

.bid-item .amount {
    color: var(--secondary-color);
    font-weight: 600;
}

.bid-item .time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Profile */
.minchyn-profile-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.minchyn-profile-container h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--primary-color);
}

.profile-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.profile-section h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.profile-info {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

.info-item .label {
    color: var(--text-secondary);
}

.info-item .value {
    color: var(--primary-color);
    font-weight: 600;
    font-family: monospace;
}

/* NFT Gallery */
.minchyn-nft-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.minchyn-nft-gallery h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.gallery-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.nft-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nft-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(124, 119, 198, 0.2);
}

.nft-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(124, 119, 198, 0.2) 0%, rgba(46, 211, 115, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.nft-info {
    padding: 16px;
}

.nft-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.nft-owner {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

/* Token Info */
.minchyn-token-info {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-subtitle {
    color: var(--text-secondary);
}

.token-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.utility-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.utility-list li {
    background: rgba(124, 119, 198, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 16px;
    border-radius: 6px;
}

.earning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.earn-card {
    background: linear-gradient(135deg, rgba(124, 119, 198, 0.1) 0%, rgba(46, 211, 115, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.earn-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.earn-card p {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.earn-card small {
    color: var(--text-secondary);
}

/* Roadmap */
.minchyn-roadmap {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.minchyn-roadmap h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 8px;
}

.roadmap-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.roadmap-item {
    background: linear-gradient(135deg, rgba(124, 119, 198, 0.1) 0%, rgba(46, 211, 115, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.quarter-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.roadmap-item h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.roadmap-item ul {
    list-style: none;
    padding: 0;
}

.roadmap-item li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.roadmap-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Team */
.minchyn-team {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.minchyn-team h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 8px;
}

.team-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-member {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 119, 198, 0.15);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 16px;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contest */
.minchyn-contest {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}

.minchyn-contest h2 {
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.minchyn-contest > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

#wallet-status-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
}

#wallet-status-notice strong {
    color: #856404;
    display: block;
    margin-bottom: 4px;
}

#wallet-status-notice p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
}

.contest-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.question {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-style: italic;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.status-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

.status-message.success {
    background: rgba(46, 211, 115, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* Leaderboard Section */
.da-leaderboard-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.leaderboard-info {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #ff9800;
    margin-bottom: 16px;
    border-left: 4px solid #ff9800;
}

.leaderboard-container {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.leaderboard-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.leaderboard-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.leaderboard-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.leaderboard-table tbody tr:hover {
    background: rgba(124, 119, 198, 0.05);
    transition: background 0.2s ease;
}

.leaderboard-footnote {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
    font-style: italic;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(46, 211, 115, 0.2);
    color: #2ed373;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.loading-row td {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px 12px;
}

/* Transactions Section */
.da-transactions-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.transactions-container {
    margin-top: 16px;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transaction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tx-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 100px;
    text-align: center;
}

.tx-details {
    flex: 1;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tx-wallet {
    color: var(--text-primary);
    font-weight: 600;
}

.tx-amount {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.tx-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 120px;
    text-align: right;
}

/* NFT Gallery - Exclusive Notice */
.nft-exclusive-notice {
    background: linear-gradient(135deg, rgba(46, 211, 115, 0.1) 0%, rgba(124, 119, 198, 0.1) 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    animation: slideIn 0.3s ease-in;
}

.notice-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.nft-exclusive-notice p {
    margin: 8px 0;
    color: var(--text-primary);
}

.nft-exclusive-notice .btn {
    margin-top: 12px;
    display: inline-block;
}

/* Section Styling - Uniform and Neat */
.minchyn-da-container > div {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.minchyn-da-container > div h3,
.minchyn-da-container > div h4 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.platform-info-section,
.tokenomics-section,
.earning-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.platform-info-section h3,
.tokenomics-section h3,
.earning-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.verification-card {
    background: rgba(46, 211, 115, 0.05);
    border: 1px solid rgba(46, 211, 115, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}
.platform-info-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(124, 119, 198, 0.15);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Platform Introduction Section */
.platform-intro-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-intro-section h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: center;
}

.platform-intro-section p {
    margin-bottom: 16px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    width: 100%;
    max-width: 1000px;
}

.intro-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.intro-card strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.intro-card small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.3;
}

.status-message.error {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Loading */
.loading {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.spinner {
    border: 3px solid rgba(124, 119, 198, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .da-header h1 {
        font-size: 2rem;
    }

    .da-stats-grid,
    .intro-cards,
    .team-grid,
    .nft-grid,
    .earning-grid,
    .info-cards,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .timer-display {
        grid-template-columns: repeat(2, 1fr);
    }

    .notice-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .notice-icon {
        font-size: 2rem;
    }

    .transaction-item {
        flex-wrap: wrap;
    }

    /* Mobile responsive for auction info section */
    .auction-info-section {
        padding: 24px 16px;
        margin-top: 60px;
    }

    .auction-info-section h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .intro-text {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .info-card {
        padding: 16px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .auction-steps li:before,
    .participation-steps li:before {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .auction-steps li,
    .participation-steps li {
        padding-left: 36px;
    }

    .back-to-top-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        bottom: 20px !important;
        right: 20px !important;
    }

    .contract-functions {
        padding: 10px 16px;
    }

    .contract-functions li {
        font-size: 0.85rem;
    }

    .tx-details {
        margin: 12px 0;
    }

    .tx-time {
        text-align: left;
        min-width: auto;
    }

    .leaderboard-table {
        font-size: 0.9rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 8px;
    }
}
