/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8A2BE2;
    --primary-dark: #7B1FA2;
    --primary-light: #9C4DFF;
    --secondary-color: #00D4AA;
    --dark-bg: #0F0F23;
    --card-bg: #1A1A2E;
    --card-border: #2D2D44;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0C3;
    --text-muted: #8A8A9D;
    --success-color: #00D4AA;
    --warning-color: #FFB74D;
    --danger-color: #FF5252;
    --beginner-color: #4CAF50;
    --intermediate-color: #2196F3;
    --advanced-color: #9C27B0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ========== BACKGROUND - FIXED VERSION ========== */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0c0c1d;
    background-image: 
        linear-gradient(rgba(15, 15, 35, 0.85), rgba(26, 26, 46, 0.9)),
        url('https://raw.githubusercontent.com/akihayakaa/arc-testnet-checklist/main/background.PNG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(26, 26, 46, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Styles */
header {
    background: rgba(26, 26, 46, 0.4);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Section */
.progress-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: calc(var(--border-radius) - 4px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.progress-counter {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-percentage {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.completion-message {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 10px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

/* Main Content */
main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.tasks-section h2, .controls-header h3, .stats-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Task Cards */
.tasks-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.task-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-light);
}

.task-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.task-checkbox {
    position: relative;
}

.task-checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    display: block;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.task-checkbox-input:checked + .checkbox-custom {
    background: var(--success-color);
    border-color: var(--success-color);
}

.task-checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.task-info {
    flex: 1;
}

.task-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.task-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-difficulty.beginner {
    background: rgba(76, 175, 80, 0.2);
    color: var(--beginner-color);
    border: 1px solid var(--beginner-color);
}

.task-difficulty.intermediate {
    background: rgba(33, 150, 243, 0.2);
    color: var(--intermediate-color);
    border: 1px solid var(--intermediate-color);
}

.task-difficulty.advanced {
    background: rgba(156, 39, 176, 0.2);
    color: var(--advanced-color);
    border: 1px solid var(--advanced-color);
}

.task-icon {
    width: 40px;
    height: 40px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
}

.task-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.task-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* ========== TASK ACTIONS ========== */
.task-actions {
    margin: 15px 0;
    text-align: center;
}

.faucet-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #00B894);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.faucet-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
    background: linear-gradient(135deg, #00B894, var(--secondary-color));
}

/* MetaMask Button Style */
.metamask-btn {
    background: linear-gradient(135deg, #F6851B, #E2761B) !important;
    box-shadow: 0 4px 15px rgba(246, 133, 27, 0.3) !important;
}

.metamask-btn:hover {
    background: linear-gradient(135deg, #E2761B, #CD6116) !important;
    box-shadow: 0 6px 20px rgba(246, 133, 27, 0.5) !important;
}

.metamask-btn:disabled {
    background: linear-gradient(135deg, #999, #777) !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Send Button Style */
.send-btn {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.send-btn:hover {
    background: linear-gradient(135deg, #764ba2, #667eea) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
}

/* Tweet Button Style */
.tweet-btn {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9) !important;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3) !important;
}

.tweet-btn:hover {
    background: linear-gradient(135deg, #0d8bd9, #0c7abf) !important;
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.5) !important;
    transform: translateY(-3px);
}

/* Controls Section */
.controls-section {
    background: rgba(26, 26, 46, 0.4);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.controls-header p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.controls-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-reset {
    background: rgba(255, 82, 82, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-reset:hover {
    background: var(--danger-color);
    color: white;
}

.btn-share {
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-share:hover {
    background: var(--primary-color);
    color: white;
}

.btn-export {
    background: rgba(0, 212, 170, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-export:hover {
    background: var(--secondary-color);
    color: white;
}

/* Stats Section */
.stats-section {
    background: rgba(26, 26, 46, 0.4);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    border-color: var(--card-border);
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.beginner-bg {
    background: rgba(76, 175, 80, 0.2);
    color: var(--beginner-color);
}

.stat-icon.intermediate-bg {
    background: rgba(33, 150, 243, 0.2);
    color: var(--intermediate-color);
}

.stat-icon.advanced-bg {
    background: rgba(156, 39, 176, 0.2);
    color: var(--advanced-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    background: rgba(26, 26, 46, 0.4);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-madeby {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.social-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.footer-link:hover {
    color: white;
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary-color);
}

.footer-disclaimer {
    padding: 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    border-left: 4px solid #FFC107;
}

.footer-disclaimer p {
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h2 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

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

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

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', monospace;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Suggested Address */
.suggested-address {
    margin-top: 15px;
    padding: 12px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
}

.suggestion-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.suggestion-text i {
    color: var(--primary-color);
}

.suggestion-address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
}

.suggestion-address-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 0.85rem;
    word-break: break-all;
}

.suggestion-copy-btn,
.suggestion-use-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.suggestion-copy-btn {
    background: rgba(138, 43, 226, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.suggestion-copy-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.suggestion-use-btn {
    background: rgba(0, 212, 170, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.suggestion-use-btn:hover {
    background: var(--success-color);
    color: white;
    transform: translateY(-2px);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 20px 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.amount-btn:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.amount-btn.selected {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.amount-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.transaction-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--card-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-secondary);
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--card-border);
}

.summary-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.modal-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.modal-btn-primary:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tasks-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .controls-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-madeby {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-social {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    header, .tasks-section, .controls-section, .stats-section, .footer-content {
        padding: 20px;
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .task-icon {
        align-self: flex-end;
        margin-top: -40px;
    }
    
    .footer-links {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-link {
        width: 100%;
        justify-content: center;
    }
    
    /* Suggested Address Mobile */
    .suggestion-address-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .suggestion-address-text {
        font-size: 0.75rem;
    }
    
    .suggestion-copy-btn,
    .suggestion-use-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ========== DAPPS BUTTON ========== */
.dapps-btn {
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
}

.dapps-btn:hover {
    background: linear-gradient(135deg, #EE5A6F, #C44569) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5) !important;
}

/* ========== DAPPS MODAL ========== */
.modal-large {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-description {
    background: rgba(138, 43, 226, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dapps-category {
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--card-border);
}

.dapps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.dapp-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    transition: left 0.5s;
}

.dapp-button:hover::before {
    left: 100%;
}

.dapp-button:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.dapp-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.dapp-info {
    flex: 1;
}

.dapp-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dapp-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dapp-external {
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.dapp-button:hover .dapp-external {
    opacity: 1;
    transform: translateX(3px);
}

/* Responsive Dapps Modal */
@media (max-width: 768px) {
    .modal-large {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .dapps-grid {
        grid-template-columns: 1fr;
    }
    
    .dapp-button {
        padding: 12px;
    }
    
    .dapp-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
}
