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

:root {
    --bg-gradient-start: #667eea;
    --bg-gradient-end: #764ba2;
    --container-bg: white;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --section-bg-start: #f8f9fa;
    --section-bg-end: #e9ecef;
    --border-color: rgba(102, 126, 234, 0.1);
    --input-bg: white;
    --input-border: #e2e8f0;
}

body.dark-mode {
    --bg-gradient-start: #1a1a2e;
    --bg-gradient-end: #16213e;
    --container-bg: #0f3460;
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --section-bg-start: #1a1a2e;
    --section-bg-end: #16213e;
    --border-color: rgba(102, 126, 234, 0.3);
    --input-bg: #16213e;
    --input-border: #53619a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    padding: 20px;
    line-height: 1.6;
    transition: background 0.3s ease;
}

.container {
    text-align: center;
    background: var(--container-bg);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    width: 100%;
    animation: fadeIn 0.5s ease-in;
    transition: background 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Typography ===== */
h1 {
    color: var(--text-primary);
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    color: var(--text-primary);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===== Header ===== */
header {
    position: relative;
}

.dark-mode-toggle {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(20deg) scale(1.1);
}

.dark-mode-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

body.dark-mode .dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== Buttons ===== */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== Wallet Info Section ===== */
.wallet-info {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--section-bg-start) 0%, var(--section-bg-end) 100%);
    border-radius: 15px;
    display: none;
    border: 2px solid var(--border-color);
    transition: background 0.3s ease, border 0.3s ease;
}

.wallet-info.show {
    display: block;
    animation: slideIn 0.4s ease-out;
}

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

.info-row {
    margin: 20px 0;
    text-align: center;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-primary);
    word-break: break-all;
    background: var(--input-bg);
    padding: 14px;
    border-radius: 10px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    border: 2px solid var(--input-border);
    transition: border-color 0.3s, background 0.3s ease;
}

.info-value:hover {
    border-color: #667eea;
}

.balance {
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Network Badge ===== */
.network-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(72, 187, 120, 0.3);
}

.network-badge.wrong {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    box-shadow: 0 4px 10px rgba(245, 101, 101, 0.3);
}

/* ===== Messages ===== */
.error {
    color: #c53030;
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-radius: 10px;
    display: none;
    border-left: 4px solid #c53030;
    font-weight: 500;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error.show {
    display: block;
}

.status {
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    color: #2c5282;
    border-radius: 10px;
    display: none;
    border-left: 4px solid #3182ce;
    font-weight: 500;
}

.status.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* ===== Mint Section ===== */
.mint-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    display: none;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.mint-section.show {
    display: block;
    animation: slideIn 0.4s ease-out;
}

/* ===== NFT Gallery ===== */
.nft-gallery {
    margin-top: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: none;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.nft-gallery.show {
    display: block;
    animation: slideIn 0.4s ease-out;
}

.nft-count {
    font-size: 1.3em;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.nft-item {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nft-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.nft-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.nft-item:hover img {
    transform: scale(1.1);
}

.nft-id {
    text-align: center;
    padding: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 15px;
}

.nft-send-btn {
    width: 100%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nft-send-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.nft-send-btn:active {
    transform: translateY(1px);
}

.nft-loading {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 1.1em;
}

/* ===== Filter Section ===== */
.filter-section {
    margin: 25px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.filter-search {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 15px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-traits {
    margin-top: 20px;
}

.filter-traits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.filter-traits-header:hover {
    opacity: 0.8;
}

.filter-traits-header:active {
    opacity: 0.6;
    transform: scale(0.98);
}

.trait-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    touch-action: manipulation;
}

.trait-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.trait-toggle-btn:active {
    transform: scale(0.95);
}

.trait-toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.trait-toggle-btn.expanded .trait-toggle-icon {
    transform: rotate(180deg);
}

.trait-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    padding-right: 5px;
    -webkit-overflow-scrolling: touch;
}

.trait-checkboxes.collapsed {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
}

.trait-checkboxes::-webkit-scrollbar {
    width: 8px;
}

.trait-checkboxes::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 10px;
}

.trait-checkboxes::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.trait-checkboxes::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.trait-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trait-checkbox-item:hover {
    border-color: #667eea;
    transform: translateX(3px);
}

.trait-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #667eea;
}

.trait-checkbox-label {
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
}

.trait-type {
    font-size: 0.75em;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.trait-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95em;
}

.trait-count {
    font-size: 0.8em;
    color: #667eea;
    font-weight: 600;
    margin-left: 8px;
}

/* ===== Mint Button ===== */
.mint-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 17px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 10px 10px 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.mint-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.5);
}

.mint-btn:active {
    transform: translateY(-1px);
}

/* ===== Modals ===== */
.modal,
.send-modal,
.mint-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show,
.send-modal.show,
.mint-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    gap: 25px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modal-metadata {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    overflow-y: auto;
}

.metadata-title {
    font-size: 2em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 12px;
}

.metadata-section {
    margin-bottom: 25px;
}

.metadata-label {
    font-weight: 700;
    color: #4a5568;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.metadata-value {
    color: #2d3748;
    font-size: 1.05em;
    margin-bottom: 15px;
    padding: 14px;
    background: #f7fafc;
    border-radius: 10px;
    word-wrap: break-word;
    border-left: 4px solid #667eea;
}

.metadata-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.metadata-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.attribute-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    transition: transform 0.2s;
}

.attribute-item:hover {
    transform: translateY(-3px);
}

.attribute-trait {
    font-size: 0.8em;
    opacity: 0.95;
    margin-bottom: 6px;
    font-weight: 500;
}

.attribute-value {
    font-size: 1.2em;
    font-weight: 700;
}

.metadata-loading {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 1.1em;
}

.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 45px;
    height: 45px;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #667eea;
    transform: rotate(90deg);
}

/* ===== Send Modal ===== */
.send-modal-content,
.mint-modal-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.send-modal-title,
.mint-modal-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    text-align: center;
}

.mint-modal-title {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.send-form-label,
.mint-form-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.send-form-input,
.mint-form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Monaco', 'Courier New', monospace;
    transition: all 0.3s;
}

.send-form-input:focus,
.mint-form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mint-form-input {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nft-token-id {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.mint-info {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #e2e8f0;
}

.mint-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    font-size: 15px;
}

.mint-info-label {
    color: #4a5568;
    font-weight: 500;
}

.mint-info-value {
    font-weight: 700;
    color: #2d3748;
}

/* ===== Modal Buttons ===== */
.send-modal-buttons,
.mint-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.send-modal-btn,
.mint-modal-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-modal-btn-primary {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.send-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.mint-modal-btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.mint-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.send-modal-btn-secondary,
.mint-modal-btn-secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(113, 128, 150, 0.3);
}

.send-modal-btn-secondary:hover,
.mint-modal-btn-secondary:hover {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}
/* ===== Dark Mode Additional Styles ===== */
body.dark-mode .mint-section {
    background: linear-gradient(135deg, var(--section-bg-start) 0%, var(--section-bg-end) 100%);
    border-color: var(--border-color);
}

body.dark-mode .nft-gallery {
    background: linear-gradient(135deg, var(--section-bg-start) 0%, var(--section-bg-end) 100%);
    border-color: var(--border-color);
}

body.dark-mode .modal-content {
    background: var(--container-bg);
}

body.dark-mode .metadata-title {
    color: var(--text-primary);
}

body.dark-mode .metadata-label {
    color: var(--text-secondary);
}

body.dark-mode .metadata-value {
    color: var(--text-primary);
    background: var(--section-bg-start);
}

body.dark-mode .send-modal-content,
body.dark-mode .mint-modal-content {
    background: var(--container-bg);
}

body.dark-mode .send-modal-title,
body.dark-mode .mint-modal-title {
    color: var(--text-primary);
}

body.dark-mode .send-form-label,
body.dark-mode .mint-form-label {
    color: var(--text-secondary);
}

body.dark-mode .send-form-input,
body.dark-mode .mint-form-input {
    background: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--input-border);
}

body.dark-mode .mint-info {
    background: linear-gradient(135deg, var(--section-bg-start) 0%, var(--section-bg-end) 100%);
    border-color: var(--input-border);
}

body.dark-mode .mint-info-label {
    color: var(--text-secondary);
}

body.dark-mode .mint-info-value {
    color: var(--text-primary);
}

body.dark-mode .nft-item {
    background: var(--input-bg);
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
    }
    
    h1 {
        font-size: 2.2em;
    }
    
    .modal-content {
        flex-direction: column;
        max-height: 90vh;
        padding: 20px;
    }
    
    .nft-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .attributes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .nft-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .trait-toggle-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .trait-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }