@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=block');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', 'Courier New', Courier, monospace !important;
}

body {
    font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-display: swap;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 30, 0.5) 0%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    margin-bottom: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.connect-btn {
    background: white;
    color: black;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.badge-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.badge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-title {
    font-family: 'Roboto Mono', 'Courier New', Courier, monospace !important;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-description {
    font-size: 16px;
    line-height: 1.6;
    color: #aaa;
    max-width: 400px;
}

.checker-section {
    margin-top: 20px;
    padding: 24px;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(80, 80, 80, 0.2);
    border-radius: 16px;
}

.checker-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.checker-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.wallet-input {
    flex: 1;
    background: rgba(40, 40, 40, 0.6);
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.wallet-input:focus {
    border-color: rgba(120, 120, 120, 0.5);
    background: rgba(50, 50, 50, 0.7);
}

.wallet-input::placeholder {
    color: #666;
}

.check-btn {
    background: rgba(60, 60, 60, 0.8);
    color: white;
    border: 1px solid rgba(100, 100, 100, 0.3);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.check-btn:hover {
    background: rgba(80, 80, 80, 0.8);
    border-color: rgba(120, 120, 120, 0.5);
}

.claim-btn {
    width: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    border: 1px solid rgba(100, 100, 100, 0.3);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.claim-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.claim-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Badge Image */
.badge-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-logo {
    width: 300px;
    height: 300px;
    animation: spin 8s linear infinite;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) 
            drop-shadow(0 0 60px rgba(255, 255, 255, 0.3));
}

.badge-logo path {
    fill: #ffffff !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 0;
    color: #666;
    font-size: 14px;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

.footer-divider {
    width: 1px;
    height: 16px;
    background: #333;
}

.footer-built {
    color: #666;
}

.abstract-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.abstract-logo:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .badge-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .badge-title {
        font-size: 56px;
    }
    
    .badge-logo {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 640px) {
    .badge-card {
        padding: 30px;
    }
    
    .badge-title {
        font-size: 48px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .check-btn {
        width: 100%;
    }
    
    .badge-logo {
        width: 200px;
        height: 200px;
    }
}