/* Hip Hop World - Modern Professional Design */

/* Color Palette from Logo */
:root {
    --color-black: #000000;
    --color-navy: #2E3A59;
    --color-coral: #FF6B7A;
    --color-cream: #FFF8DC;
    --color-white: #FFFFFF;
    --color-gray: #333333;
    --color-light-gray: #666666;
    --color-border: #1a1a1a;
    --color-success: #4CAF50;
    --color-error: #f44336;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-black);
    color: var(--color-cream);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.hero-logo {
    width: 250px;
    height: auto;
    animation: fadeInDown 1s ease-out;
}

.navbar-logo {
    width: 50px;
    height: auto;
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-navy) 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--color-cream);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: var(--color-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-coral);
}

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

.feature-card {
    background-color: var(--color-navy);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-coral);
    box-shadow: 0 10px 30px rgba(255, 107, 122, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.feature-card p {
    color: var(--color-cream);
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    background-color: var(--color-black);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-coral);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-cream);
}

/* Authentication Box */
.auth-box {
    max-width: 500px;
    margin: 4rem auto;
    background-color: var(--color-navy);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 107, 122, 0.2);
    border: 2px solid var(--color-coral);
}

.auth-box h1 {
    color: var(--color-coral);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-box h2 {
    color: var(--color-cream);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Forms */
.auth-form,
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--color-cream);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-black);
    color: var(--color-cream);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 10px rgba(255, 107, 122, 0.3);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-divider {
    border: none;
    border-top: 2px solid var(--color-border);
    margin: 1rem 0;
}

.form-note {
    color: var(--color-light-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-coral);
    color: var(--color-white);
    border: 2px solid var(--color-coral);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-coral);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 122, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-cream);
    border: 2px solid var(--color-cream);
}

.btn-secondary:hover {
    background-color: var(--color-cream);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-google {
    background-color: var(--color-white);
    color: #444;
    border: 2px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #c6c9cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-google svg {
    flex-shrink: 0;
}

.btn-linkedin {
    background-color: #0077B5;
    color: var(--color-white);
    border: 2px solid #0077B5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
}

.btn-linkedin:hover {
    background-color: #006399;
    border-color: #006399;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin svg {
    flex-shrink: 0;
}

.btn-wallet {
    background: linear-gradient(135deg, #F6851B 0%, #E2761B 50%, #CD6116 100%);
    color: var(--color-white);
    border: 2px solid #F6851B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wallet:hover {
    background: linear-gradient(135deg, #E2761B 0%, #CD6116 50%, #B85411 100%);
    border-color: #E2761B;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(246, 133, 27, 0.4);
}

.btn-wallet svg {
    flex-shrink: 0;
}

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

/* Bitcoin/XVerse Wallet Button */
.btn-bitcoin {
    background: linear-gradient(135deg, #EE7A30 0%, #D66B28 50%, #C45C20 100%);
    color: var(--color-white);
    border: 2px solid #EE7A30;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-bitcoin:hover {
    background: linear-gradient(135deg, #D66B28 0%, #C45C20 50%, #B24D18 100%);
    border-color: #D66B28;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238, 122, 48, 0.4);
}

.btn-bitcoin svg {
    flex-shrink: 0;
}

.btn-bitcoin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Phantom/Solana Wallet Button */
.btn-phantom {
    background: linear-gradient(135deg, #534BB1 0%, #551BF9 100%);
    color: var(--color-white);
    border: 2px solid #534BB1;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    justify-content: center;
}

.btn-phantom:hover {
    background: linear-gradient(135deg, #4239A0 0%, #4916E8 100%);
    border-color: #551BF9;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(85, 27, 249, 0.4);
}

.btn-phantom svg {
    flex-shrink: 0;
}

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

/* Spotify Button */
.btn-spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 50%, #1AA34A 100%);
    color: var(--color-white);
    border: 2px solid #1DB954;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-spotify:hover {
    background: linear-gradient(135deg, #1ed760 0%, #1DB954 50%, #169c46 100%);
    border-color: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(29, 185, 84, 0.4);
}

.btn-spotify svg {
    flex-shrink: 0;
}

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

/* SoundCloud Button */
.btn-soundcloud {
    background: linear-gradient(135deg, #FF5500 0%, #FF7700 50%, #FF3300 100%);
    color: var(--color-white);
    border: 2px solid #FF5500;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-soundcloud:hover {
    background: linear-gradient(135deg, #FF7700 0%, #FF5500 50%, #DD3300 100%);
    border-color: #FF7700;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 85, 0, 0.4);
}

.btn-soundcloud svg {
    flex-shrink: 0;
}

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

/* Gaming Network Buttons */
.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: var(--color-white);
    border: 2px solid #5865F2;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4 0%, #3C45A5 100%);
    border-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord svg {
    flex-shrink: 0;
}

.btn-battlenet {
    background: linear-gradient(135deg, #148EFF 0%, #0F6FCC 100%);
    color: var(--color-white);
    border: 2px solid #148EFF;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-battlenet:hover {
    background: linear-gradient(135deg, #0F6FCC 0%, #0B559F 100%);
    border-color: #0F6FCC;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(20, 142, 255, 0.4);
}

.btn-battlenet svg {
    flex-shrink: 0;
}

.btn-twitch {
    background: linear-gradient(135deg, #9146FF 0%, #7C3AED 100%);
    color: var(--color-white);
    border: 2px solid #9146FF;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-twitch:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    border-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.4);
}

.btn-twitch svg {
    flex-shrink: 0;
}

/* Social Media Buttons */
.btn-instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    color: var(--color-white);
    border: 2px solid #DD2A7B;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #DD2A7B 0%, #8134AF 50%, #5B51D8 100%);
    border-color: #8134AF;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(221, 42, 123, 0.4);
}

.btn-instagram svg {
    flex-shrink: 0;
}

.btn-tiktok {
    background: linear-gradient(135deg, #000000 0%, #FE2C55 100%);
    color: var(--color-white);
    border: 2px solid #FE2C55;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-tiktok:hover {
    background: linear-gradient(135deg, #FE2C55 0%, #FF0050 100%);
    border-color: #FF0050;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(254, 44, 85, 0.4);
}

.btn-tiktok svg {
    flex-shrink: 0;
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    color: var(--color-white);
    border: 2px solid #1877F2;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #0C63D4 0%, #044A9F 100%);
    border-color: #0C63D4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.btn-facebook svg {
    flex-shrink: 0;
}

/* Wallet Info Styling */
.wallet-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    background: rgba(255, 107, 122, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--color-coral);
}

.ens-name {
    font-weight: 600;
    color: var(--color-coral);
    font-size: 1rem;
}

/* Network Badges */
.network-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.network-ethereum {
    background: #627EEA;
    color: white;
}

.network-polygon {
    background: #8247E5;
    color: white;
}

.network-arbitrum {
    background: #28A0F0;
    color: white;
}

.network-optimism {
    background: #FF0420;
    color: white;
}

.network-base {
    background: #0052FF;
    color: white;
}

.network-bitcoin {
    background: #F7931A;
    color: white;
}

.network-bsc {
    background: #F3BA2F;
    color: #000;
}

.network-avalanche {
    background: #E84142;
    color: white;
}

/* Default for unknown networks */
.network-badge:not([class*="network-"]) {
    background: var(--color-navy);
    color: var(--color-white);
}

/* Spinner for loading states */
.spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* NFT Gallery Modal */
.nft-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nft-modal-content {
    background: var(--color-black);
    border: 2px solid var(--color-navy);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(255, 107, 122, 0.3);
}

.nft-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-navy);
}

.nft-modal-header h2 {
    color: var(--color-coral);
    margin: 0;
    font-size: 1.5rem;
}

.nft-modal-close {
    background: none;
    border: none;
    color: var(--color-coral);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.nft-modal-close:hover {
    background: rgba(255, 107, 122, 0.1);
}

.nft-gallery-grid {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.nft-card {
    background: var(--color-navy);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.nft-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-coral);
    box-shadow: 0 5px 20px rgba(255, 107, 122, 0.3);
}

.nft-card.selected {
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 122, 0.3);
}

.nft-image-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.nft-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-info {
    padding: 0.75rem;
}

.nft-name {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nft-collection {
    font-size: 0.75rem;
    color: var(--color-light-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nft-modal-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--color-navy);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.nft-loading,
.nft-empty,
.nft-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.nft-loading .spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 4px solid rgba(255, 107, 122, 0.3);
    border-top-color: var(--color-coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.nft-empty p,
.nft-error p {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.nft-empty-sub,
.nft-error-sub {
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

.nft-error p {
    color: #f44336;
}

/* Responsive NFT Gallery */
@media (max-width: 768px) {
    .nft-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .nft-modal-content {
        max-height: 95vh;
    }
}

/* ===============================================
   Wallet Selection Modal
   =============================================== */

.wallet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-in-out;
}

.wallet-modal-content {
    background: linear-gradient(135deg, var(--color-card) 0%, rgba(42, 42, 60, 0.98) 100%);
    border-radius: 20px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 122, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.wallet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.wallet-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 700;
}

.wallet-modal-close {
    background: transparent;
    border: none;
    color: var(--color-light-gray);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.wallet-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transform: rotate(90deg);
}

.wallet-modal-body {
    padding: 2rem;
}

.wallet-modal-subtitle {
    color: var(--color-light-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.wallet-option:hover {
    background: rgba(255, 107, 122, 0.1);
    border-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 107, 122, 0.2);
}

.wallet-option:active {
    transform: translateX(5px) scale(0.98);
}

.wallet-option-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.wallet-option-icon svg {
    width: 40px;
    height: 40px;
}

.wallet-option-text {
    flex: 1;
}

.wallet-option-text h4 {
    margin: 0 0 0.25rem 0;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
}

.wallet-option-text p {
    margin: 0;
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

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

/* Responsive Wallet Modal */
@media (max-width: 768px) {
    .wallet-modal-content {
        width: 95%;
    }

    .wallet-modal-body {
        padding: 1.5rem;
    }

    .wallet-option {
        padding: 1rem;
        gap: 1rem;
    }

    .wallet-option-icon {
        width: 45px;
        height: 45px;
    }

    .wallet-option-icon svg {
        width: 35px;
        height: 35px;
    }

    .wallet-option-text h4 {
        font-size: 1rem;
    }

    .wallet-option-text p {
        font-size: 0.85rem;
    }
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--color-light-gray);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid var(--color-border);
}

.auth-divider span {
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 2px solid var(--color-error);
    color: var(--color-error);
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 2px solid var(--color-success);
    color: var(--color-success);
}

.btn-link {
    color: var(--color-coral);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Auth Footer */
.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    margin: 0.5rem 0;
    color: var(--color-cream);
}

.auth-footer a {
    color: var(--color-coral);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.auth-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: var(--color-navy);
    padding: 1rem 0;
    border-bottom: 3px solid var(--color-coral);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-user {
    color: var(--color-cream);
    font-weight: 600;
}

/* Profile Container */
.profile-container {
    max-width: 900px;
    margin: 2rem auto;
    background-color: var(--color-navy);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(255, 107, 122, 0.2);
    border: 2px solid var(--color-coral);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
}

.profile-header p {
    color: var(--color-cream);
    opacity: 0.9;
}

.profile-content {
    display: grid;
    gap: 3rem;
}

.profile-info h2,
.profile-edit h2 {
    font-size: 1.8rem;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.profile-edit h3 {
    font-size: 1.3rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--color-black);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.info-label {
    font-weight: 600;
    color: var(--color-coral);
}

.info-value {
    color: var(--color-cream);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-value .btn-mini {
    margin-left: 0.5rem;
}

/* Full-width info item for wallet section */
.info-item-full {
    padding: 1.5rem;
    background-color: var(--color-black);
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* Wallet Section Title */
.wallet-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 107, 122, 0.2);
}

.wallet-section-title svg {
    color: var(--color-coral);
}

/* Wallet Card Styles */
.wallet-card {
    background: linear-gradient(135deg, rgba(255, 107, 122, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 107, 122, 0.15);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.wallet-card:hover {
    border-color: rgba(255, 107, 122, 0.3);
    box-shadow: 0 4px 20px rgba(255, 107, 122, 0.15);
    transform: translateY(-2px);
}

.wallet-card-ethereum {
    border-color: rgba(98, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(98, 126, 234, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.wallet-card-ethereum:hover {
    border-color: rgba(98, 126, 234, 0.5);
    box-shadow: 0 4px 20px rgba(98, 126, 234, 0.2);
}

.wallet-card-bitcoin {
    border-color: rgba(247, 147, 26, 0.3);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.wallet-card-bitcoin:hover {
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.2);
}

.wallet-card-solana {
    border-color: rgba(85, 27, 249, 0.3);
    background: linear-gradient(135deg, rgba(85, 27, 249, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.wallet-card-solana:hover {
    border-color: rgba(85, 27, 249, 0.5);
    box-shadow: 0 4px 20px rgba(85, 27, 249, 0.2);
}

.network-solana {
    background: linear-gradient(135deg, #534BB1 0%, #551BF9 100%);
}

/* Wallet Card Header */
.wallet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 107, 122, 0.1);
}

.wallet-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-cream);
}

.wallet-card-title svg {
    flex-shrink: 0;
}

/* Wallet Card Body */
.wallet-card-body {
    padding: 1.5rem;
}

.wallet-card-empty {
    text-align: center;
    padding: 2rem 1.5rem;
}

.wallet-empty-text {
    color: var(--color-cream);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Wallet ENS Name */
.wallet-ens {
    margin-bottom: 1rem;
}

.ens-name-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-coral);
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 122, 0.15);
    border-radius: 8px;
}

/* Wallet Address Display */
.wallet-address-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.wallet-address-display:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 122, 0.3);
}

.wallet-address-full {
    flex: 1;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.9rem;
    color: var(--color-cream);
    word-break: break-all;
    padding: 0.5rem;
    background: transparent;
    border: none;
    user-select: all;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wallet-address-full:hover {
    color: var(--color-coral);
}

/* Copy Button */
.btn-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--color-coral);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #ff5566;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 107, 122, 0.4);
}

.btn-copy:active {
    transform: translateY(0);
}

.btn-copy.copied {
    background: #4CAF50;
}

.btn-copy svg {
    flex-shrink: 0;
}

/* Wallet Network Info */
.wallet-network-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Explorer Button */
.btn-explorer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-cream);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-explorer:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-coral);
    color: var(--color-coral);
    transform: translateY(-1px);
}

.btn-explorer svg {
    flex-shrink: 0;
}

/* Wallet Actions */
.wallet-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-wallet-action {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-action {
    background: linear-gradient(135deg, var(--color-coral) 0%, #ff5566 100%);
    color: white;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 122, 0.4);
}

.btn-warning-action {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.btn-warning-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.btn-wallet-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-wallet-action svg {
    flex-shrink: 0;
}

/* Connect Wallet Button */
.btn-connect-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-coral) 0%, #ff5566 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-connect-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 122, 0.4);
}

.btn-connect-bitcoin {
    background: linear-gradient(135deg, #EE7A30 0%, #D66B28 100%);
}

.btn-connect-bitcoin:hover {
    box-shadow: 0 6px 20px rgba(238, 122, 48, 0.4);
}

.btn-connect-wallet svg {
    flex-shrink: 0;
}

/* Responsive Design for Wallet Cards */
@media (max-width: 768px) {
    .wallet-address-display {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy {
        width: 100%;
        justify-content: center;
    }

    .wallet-actions {
        flex-direction: column;
    }

    .btn-wallet-action {
        width: 100%;
        min-width: auto;
    }

    .wallet-network-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-address-full {
        font-size: 0.75rem;
    }
}

/* Connected Accounts Section */
.connected-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.connected-account-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.connected-account-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 122, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 122, 0.1);
}

.account-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.discord-icon {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
}

.battlenet-icon {
    background: linear-gradient(135deg, #148EFF 0%, #0F6FCC 100%);
}

.twitch-icon {
    background: linear-gradient(135deg, #9146FF 0%, #7C3AED 100%);
}

.instagram-icon {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.tiktok-icon {
    background: linear-gradient(135deg, #000000 0%, #FE2C55 100%);
}

.facebook-icon {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.google-icon {
    background: linear-gradient(135deg, #EA4335 0%, #4285F4 100%);
}

.linkedin-icon {
    background: linear-gradient(135deg, #0077B5 0%, #005582 100%);
}

.spotify-icon {
    background: linear-gradient(135deg, #1DB954 0%, #1AA34A 100%);
}

.soundcloud-icon {
    background: linear-gradient(135deg, #FF5500 0%, #FF3300 100%);
}

.youtube-icon {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

/* Link Accounts Section Styles */
.platform-section {
    margin-bottom: 2rem;
}

.platform-section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-section-divider::before,
.platform-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-btn.connected {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.1);
}

.platform-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Platform-specific hover colors */
.platform-btn.google:hover { border-color: #4285F4; background: rgba(66, 133, 244, 0.1); }
.platform-btn.linkedin:hover { border-color: #0077B5; background: rgba(0, 119, 181, 0.1); }
.platform-btn.facebook:hover { border-color: #1877F2; background: rgba(24, 119, 242, 0.1); }
.platform-btn.threads:hover { border-color: #000000; background: rgba(0, 0, 0, 0.3); }
.platform-btn.youtube:hover { border-color: #FF0000; background: rgba(255, 0, 0, 0.1); }
.platform-btn.spotify:hover { border-color: #1DB954; background: rgba(29, 185, 84, 0.1); }
.platform-btn.soundcloud:hover { border-color: #FF5500; background: rgba(255, 85, 0, 0.1); }
.platform-btn.discord:hover { border-color: #5865F2; background: rgba(88, 101, 242, 0.1); }
.platform-btn.twitch:hover { border-color: #9146FF; background: rgba(145, 70, 255, 0.1); }
.platform-btn.battlenet:hover { border-color: #148EFF; background: rgba(20, 142, 255, 0.1); }
.platform-btn.wallet:hover { border-color: #F6851B; background: rgba(246, 133, 27, 0.1); }
.platform-btn.phantom:hover { border-color: #9945FF; background: rgba(153, 69, 255, 0.1); }

.account-info {
    flex: 1;
    min-width: 0;
}

.account-platform {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.account-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-timestamp {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

/* Responsive Connected Accounts */
@media (max-width: 768px) {
    .connected-accounts-grid {
        grid-template-columns: 1fr;
    }

    .connected-account-card {
        padding: 0.85rem;
    }

    .account-icon {
        width: 42px;
        height: 42px;
    }

    .account-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Music Profiles Section */
.music-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.music-profile-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.music-profile-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.music-badge-spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
}

.music-badge-spotify:hover {
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.music-badge-soundcloud {
    background: linear-gradient(135deg, #FF5500 0%, #ff6a1a 100%);
}

.music-badge-soundcloud:hover {
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

.music-badge-bandcamp {
    background: linear-gradient(135deg, #629AA9 0%, #7ab3c4 100%);
}

.music-badge-bandcamp:hover {
    box-shadow: 0 6px 20px rgba(98, 154, 169, 0.4);
}

.music-profile-badge svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.music-badge-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.music-badge-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.music-badge-hint {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.music-badge-username {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.music-profiles-empty {
    margin-top: 1rem;
    padding: 2rem;
    background: var(--color-light-gray);
    border-radius: 12px;
    text-align: center;
}

.music-profiles-empty .wallet-empty-text {
    margin: 0;
    color: var(--color-dark-gray);
}

@media (max-width: 768px) {
    .music-profiles-grid {
        grid-template-columns: 1fr;
    }

    .music-profile-badge {
        padding: 1rem;
    }

    .music-badge-name {
        font-size: 0.9rem;
    }

    .music-badge-hint {
        font-size: 0.75rem;
    }

    .music-badge-username {
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    background-color: var(--color-gray);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 2px solid var(--color-coral);
}

.footer p {
    color: var(--color-cream);
    opacity: 0.8;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-admin {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.badge-member {
    background-color: var(--color-navy);
    color: var(--color-cream);
    border: 2px solid var(--color-cream);
}

.badge-active {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--color-success);
    border: 2px solid var(--color-success);
}

.badge-suspended {
    background-color: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 2px solid #FF9800;
}

.badge-inactive {
    background-color: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
    border: 2px solid #9E9E9E;
}

/* ========================================
   Hip Hop Cash / Token Purchase Styles
   ======================================== */

.token-purchase-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.token-header {
    text-align: center;
    margin-bottom: 3rem;
}

.token-header h1 {
    font-size: 2.5rem;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
}

.token-subtitle {
    font-size: 1.2rem;
    color: #444;
    font-weight: 500;
}

/* Token Balance Card */
.token-balance-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, #3a4a6b 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.balance-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
}

.balance-info {
    flex: 1;
}

.balance-label {
    font-size: 0.9rem;
    color: var(--color-cream);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 0.25rem;
}

.balance-usd {
    font-size: 1.1rem;
    color: var(--color-cream);
    opacity: 0.7;
}

/* Token Info Grid */
.token-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.token-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.token-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-title {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.info-desc {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* Purchase Section */
.token-purchase-section {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.token-purchase-section h2 {
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.token-purchase-section > p {
    color: #444;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Purchase Calculator */
.purchase-calculator {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.calculator-group {
    flex: 1;
    min-width: 200px;
}

.calculator-group label {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.input-with-addon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-addon input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-navy);
    transition: all 0.3s ease;
}

.input-with-addon input::placeholder {
    color: #999;
    opacity: 1;
}

.input-with-addon input:focus {
    outline: none;
    border-color: var(--color-coral);
}

.input-addon {
    position: absolute;
    right: 1rem;
    color: #666;
    font-weight: 600;
    pointer-events: none;
}

.input-addon-left {
    position: absolute;
    left: 1rem;
    color: #666;
    font-weight: 600;
    pointer-events: none;
}

.calculator-equals {
    font-size: 2rem;
    color: var(--color-coral);
    font-weight: 700;
    padding-bottom: 1rem;
}

/* Quick Amount Buttons */
.quick-amounts {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-quick-amount {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quick-amount:hover {
    border-color: var(--color-coral);
    background: rgba(255, 107, 122, 0.05);
    transform: translateY(-2px);
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 2rem;
}

.payment-methods h3 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.payment-method-card {
    background: var(--color-light-gray);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-method-card.active {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
}

.payment-method-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.payment-method-desc {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.payment-method-badge {
    padding: 0.4rem 1rem;
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.payment-method-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.payment-note {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-top: 1rem;
    text-align: center;
}

/* Purchase Terms */
.purchase-terms {
    background: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.purchase-terms p {
    margin-bottom: 0.75rem;
}

.purchase-terms strong {
    color: var(--color-navy);
}

.purchase-terms ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.purchase-terms li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Token Purchase */
@media (max-width: 768px) {
    .token-header h1 {
        font-size: 2rem;
    }

    .token-balance-card {
        flex-direction: column;
        text-align: center;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .token-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .purchase-calculator {
        flex-direction: column;
        align-items: stretch;
    }

    .calculator-equals {
        transform: rotate(90deg);
        padding: 0;
        margin: 0.5rem 0;
    }

    .quick-amounts {
        flex-direction: column;
    }

    .btn-quick-amount {
        min-width: auto;
    }

    .token-purchase-container {
        padding: 1rem;
    }

    .token-purchase-section {
        padding: 1.5rem;
    }
}

/* ========================================
   Token Balance Display on Profile Page
   ======================================== */

.token-balance-display {
    background: linear-gradient(135deg, #FF6B7A 0%, #ff8895 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(255, 107, 122, 0.2);
}

.token-balance-main {
    text-align: center;
    margin-bottom: 1.5rem;
}

.token-balance-amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.token-symbol {
    font-size: 2rem;
    opacity: 0.9;
}

.token-balance-usd {
    font-size: 1.3rem;
    color: white;
    opacity: 0.85;
}

.token-balance-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-token-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-buy-tokens {
    background: white;
    color: var(--color-coral);
}

.btn-buy-tokens:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-view-history {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-view-history:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.token-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.token-stat {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.token-stat-label {
    font-size: 0.85rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.token-info-box {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    border-radius: 8px;
    align-items: flex-start;
}

.token-info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.token-info-content {
    flex: 1;
}

.token-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.token-info-desc {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    line-height: 1.5;
}

.token-balance-empty {
    text-align: center;
    padding: 2rem;
    background: var(--color-light-gray);
    border-radius: 12px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .token-balance-amount {
        font-size: 2rem;
    }

    .token-symbol {
        font-size: 1.5rem;
    }

    .token-balance-actions {
        flex-direction: column;
    }

    .btn-token-action {
        width: 100%;
        justify-content: center;
    }

    .token-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Transaction History Page Styles
   ======================================== */

.history-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.history-header h1 {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.history-subtitle {
    color: var(--color-dark-gray);
    font-size: 1.1rem;
}

.history-balance-summary {
    display: flex;
    gap: 2rem;
}

.balance-summary-item {
    text-align: right;
}

.balance-summary-label {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.balance-summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-coral);
}

/* Filters */
.history-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--color-coral);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* Transaction Table */
.history-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: var(--color-navy);
    color: white;
}

.history-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.history-table tbody tr {
    border-bottom: 1px solid var(--color-light-gray);
    transition: background 0.2s ease;
}

.history-table tbody tr:hover {
    background: rgba(255, 107, 122, 0.05);
}

.history-table td {
    padding: 1rem;
    vertical-align: middle;
}

.transaction-row {
    cursor: pointer;
}

.transaction-details {
    background: var(--color-light-gray);
}

.details-content {
    padding: 1.5rem;
}

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

.detail-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--color-navy);
    word-break: break-all;
}

.detail-value code {
    background: var(--color-light-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Transaction Cell Styles */
.tx-date {
    min-width: 120px;
}

.date-primary {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.date-secondary {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
}

.tx-type {
    min-width: 150px;
}

.type-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.type-purchase {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.type-spend {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.type-reward {
    background: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}

.type-transfer_in {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.type-transfer_out {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.type-admin_credit {
    background: rgba(0, 188, 212, 0.1);
    color: #00BCD4;
}

.type-admin_debit {
    background: rgba(255, 87, 34, 0.1);
    color: #FF5722;
}

.type-refund {
    background: rgba(63, 81, 181, 0.1);
    color: #3F51B5;
}

.tx-amount {
    min-width: 150px;
}

.amount-value {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.amount-positive {
    color: #4CAF50;
}

.amount-negative {
    color: #F44336;
}

.amount-symbol {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
}

.amount-usd {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
}

.tx-balance {
    min-width: 180px;
}

.balance-before,
.balance-after {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--color-navy);
}

.balance-arrow {
    display: inline-block;
    margin: 0 0.5rem;
    color: var(--color-dark-gray);
}

.tx-method {
    min-width: 100px;
    font-size: 0.9rem;
    color: var(--color-navy);
}

.tx-status {
    min-width: 100px;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.status-failed {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.status-refunded {
    background: rgba(63, 81, 181, 0.1);
    color: #3F51B5;
}

.btn-details {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-coral);
    transition: all 0.2s ease;
}

.btn-details:hover {
    transform: scale(1.2);
}

/* Empty State */
.history-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.history-empty h2 {
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.history-empty p {
    color: var(--color-dark-gray);
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.pagination-info {
    font-weight: 600;
    color: var(--color-navy);
}

/* Responsive Design for Transaction History */
@media (max-width: 1024px) {
    .history-table-container {
        overflow-x: auto;
    }

    .history-table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {
    .history-container {
        padding: 1rem;
    }

    .history-header {
        flex-direction: column;
    }

    .history-header h1 {
        font-size: 2rem;
    }

    .history-balance-summary {
        width: 100%;
        justify-content: space-between;
    }

    .balance-summary-value {
        font-size: 1.4rem;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-actions {
        width: 100%;
        flex-direction: column;
    }

    .filter-actions .btn {
        width: 100%;
    }
}

/* Admin Panel */
.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    background-color: var(--color-navy);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(255, 107, 122, 0.2);
    border: 2px solid var(--color-coral);
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: var(--color-cream);
    opacity: 0.9;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--color-black);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-coral);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Users Table */
.users-table-container {
    background-color: var(--color-black);
    padding: 2rem;
    border-radius: 10px;
    overflow-x: auto;
}

.users-table-container h2 {
    font-size: 1.8rem;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-cream);
}

.users-table thead tr {
    background-color: var(--color-navy);
    border-bottom: 2px solid var(--color-coral);
}

.users-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-coral);
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.users-table tbody tr {
    transition: background-color 0.3s ease;
}

.users-table tbody tr:hover {
    background-color: rgba(255, 107, 122, 0.1);
}

.users-table tbody tr.user-suspended {
    opacity: 0.6;
}

.actions-cell {
    white-space: nowrap;
}

/* Mini Buttons */
.btn-mini {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-success {
    background-color: var(--color-success);
    color: white;
}

.btn-success:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

.btn-warning {
    background-color: #FF9800;
    color: white;
}

.btn-warning:hover {
    background-color: #F57C00;
    transform: translateY(-1px);
}

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

.btn-danger:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

.inline-form {
    display: inline;
}

.text-muted {
    color: var(--color-light-gray);
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-logo {
        width: 180px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .auth-box,
    .profile-container,
    .admin-container {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .users-table {
        font-size: 0.85rem;
    }

    .users-table th,
    .users-table td {
        padding: 0.7rem 0.5rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container,
    .container-narrow {
        padding: 1rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
