/* Sponsor OTB Page Styles */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-primary: #ff6b35;
    --accent-secondary: #ff9558;
    --success: #4caf50;
    --error: #f44336;
    --warning: #ff9800;
}

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

body {
    font-family: 'Orbitron', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 149, 88, 0.1) 0%, transparent 50%);
}

.sponsor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.sponsor-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent-secondary);
    transform: translateX(-5px);
}

.header-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Current Sponsors */
.current-sponsors {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.current-sponsors h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.sponsor-slot {
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
}

.sponsor-slot.active {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 149, 88, 0.1) 100%);
}

.sponsor-slot.active img {
    max-width: 100%;
    max-height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sponsor-slot.active img:hover {
    transform: scale(1.05);
}

.sponsor-slot .slot-number {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.sponsor-slot .available {
    color: var(--success);
    font-weight: 600;
}

.sponsor-slot .expires {
    font-size: 12px;
    color: var(--warning);
    margin-top: 10px;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 40px;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Sponsor Form */
.sponsor-form-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.sponsor-form-section h2 {
    margin-bottom: 30px;
    text-align: center;
}

/* Wallet Section */
.wallet-section {
    text-align: center;
    margin-bottom: 30px;
}

.connect-wallet-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.wallet-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.wallet-address {
    font-family: monospace;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.token-balance {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Form */
.sponsor-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Upload Area */
.upload-area {
    position: relative;
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 107, 53, 0.05);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 48px;
}

.logo-preview {
    position: relative;
}

.logo-preview img {
    max-width: 200px;
    max-height: 100px;
    border-radius: 8px;
}

.remove-logo {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--error);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
}

/* Burn Notice */
.burn-notice {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 149, 88, 0.1) 100%);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.burn-icon {
    font-size: 48px;
}

.burn-details h3 {
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.burn-details p {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.burn-address code {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
}

/* Processing Status */
.processing-status,
.success-message {
    text-align: center;
    padding: 40px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 107, 53, 0.1);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.transaction-link {
    margin-top: 20px;
}

.transaction-link a {
    color: var(--accent-primary);
    text-decoration: none;
}

.transaction-link a:hover {
    text-decoration: underline;
}

/* Queue Section */
.queue-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.queue-list {
    display: grid;
    gap: 15px;
}

.queue-item {
    background: var(--bg-tertiary);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.empty-queue {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px;
}

/* Instructions */
.instructions {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
}

.instructions h2 {
    margin-bottom: 20px;
}

.instructions ol {
    margin: 20px 0 30px 20px;
    color: var(--text-secondary);
}

.instructions li {
    margin-bottom: 10px;
}

/* FAQ */
.faq {
    margin-top: 30px;
}

.faq h3 {
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.faq details {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
}

.faq details[open] summary {
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.faq p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .sponsor-container {
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 32px;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}