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

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.rainbow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #9400d3,
        #ff0000
    );
    background-size: 400% 400%;
    animation: rainbowMove 15s ease infinite;
    z-index: -1;
}

@keyframes rainbowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.view {
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.btn {
    padding: 18px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-mint {
    background: #10b981;
    color: white;
}

.btn-mint:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-opensea {
    background: #2081e2;
    color: white;
}

.btn-opensea:hover {
    background: #1868b7;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(32, 129, 226, 0.4);
}

.opensea-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.connecting-text {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.9rem;
    color: #667eea;
    word-break: break-all;
}

.whitelist-badge {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkmark {
    font-size: 1.5rem;
}

.btn-mint-action {
    background: #10b981;
    color: white;
    width: 100%;
    margin-bottom: 15px;
}

.btn-mint-action:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-share {
    background: #8b5cf6;
    color: white;
    width: 100%;
}

.btn-share:hover {
    background: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.status.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.status.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.status.loading {
    background: #dbeafe;
    color: #1e40af;
    display: block;
}

@media (max-width: 768px) {
    .container { padding: 25px; }
    .main-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .btn { font-size: 1rem; padding: 15px 25px; }
}
