* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    background-color: #000000;
    background-image: url('chaosbackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #00ffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.auth-box {
    background: linear-gradient(180deg, #1a0033 0%, #330066 100%);
    border: 6px outset #ff00ff;
    border-radius: 0;
    padding: 40px;
    box-shadow: 
        inset 0 0 20px rgba(255, 0, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
}

.auth-title {
    font-size: 42px;
    color: #00ffff;
    text-shadow: 
        2px 2px 0px #ff00ff,
        4px 4px 0px #000000;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
}

.auth-subtitle {
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px #000000;
}

.auth-form h2 {
    color: #ff00ff;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 0px #000000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 0px #000000;
}

.form-group input {
    width: 100%;
    background: #000000;
    border: 4px inset #666666;
    border-radius: 0;
    padding: 12px;
    font-size: 16px;
    color: #00ffff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
}

.form-group input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.3);
}

.form-group small {
    display: block;
    color: #cccccc;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(180deg, #006600 0%, #003300 100%);
    border: 4px outset #00ff00;
    border-radius: 0;
    padding: 14px;
    font-size: 18px;
    color: #00ff00;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.auth-btn:hover:not(:disabled) {
    border-color: #ff00ff;
    background: linear-gradient(180deg, #660066 0%, #330033 100%);
    color: #ff00ff;
    transform: translateY(-2px);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-btn.secondary {
    background: linear-gradient(180deg, #333366 0%, #1a1a33 100%);
    border-color: #6666ff;
    color: #6666ff;
}

.auth-btn.logout {
    background: linear-gradient(180deg, #660000 0%, #330000 100%);
    border-color: #ff0000;
    color: #ff0000;
    margin-top: 20px;
}

.auth-switch {
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    margin-top: 20px;
}

.auth-switch a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
}

.auth-switch a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

.auth-message {
    margin-top: 20px;
    padding: 12px;
    border: 3px solid;
    text-align: center;
    font-size: 14px;
    display: none;
}

.auth-message.success {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.auth-message.error {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
}

.auth-message.info {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
}

/* Wallet Screen Styles */
.wallet-screen h2 {
    color: #ff00ff;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 0px #000000;
}

.wallet-info {
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
}

.wallet-status {
    background: #000000;
    border: 4px inset #666666;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.wallet-status p {
    color: #00ffff;
    font-size: 14px;
}

.wallet-status.connected {
    border-color: #00ff00;
}

.wallet-status.connected p {
    color: #00ff00;
}

.wallet-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.wallet-btn {
    background: linear-gradient(180deg, #330066 0%, #1a0033 100%);
    border: 4px outset #6600ff;
    border-radius: 0;
    padding: 15px;
    font-size: 16px;
    color: #6600ff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wallet-btn:hover {
    border-color: #ff00ff;
    background: linear-gradient(180deg, #660066 0%, #330033 100%);
    color: #ff00ff;
    transform: translateY(-2px);
}

.wallet-icon {
    font-size: 24px;
}

.nft-status {
    margin-top: 25px;
}

.nft-status h3 {
    color: #00ffff;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 0px #000000;
}

.nft-list {
    background: #000000;
    border: 4px inset #666666;
    padding: 15px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.nft-item {
    background: linear-gradient(180deg, #1a0033 0%, #0d001a 100%);
    border: 2px outset #ff00ff;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nft-item:last-child {
    margin-bottom: 0;
}

.nft-number {
    color: #ff00ff;
    font-size: 18px;
    font-weight: bold;
}

.nft-details {
    flex: 1;
}

.nft-name {
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 3px;
}

.nft-type {
    color: #ffffff;
    font-size: 12px;
}

.nft-mint {
    color: #bbbbbb;
    font-size: 12px;
    margin-top: 2px;
}

.nft-mint a {
    color: #66ccff;
    text-decoration: none;
}

.nft-mint a:hover {
    text-decoration: underline;
}

.nft-list p {
    color: #cccccc;
    text-align: center;
    font-size: 14px;
}

.nft-error-container {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.4);
    padding: 8px;
    margin-top: 10px;
    font-size: 12px;
}

.nft-error-item {
    color: #ff9999;
    margin: 2px 0;
}

/* Scrollbar styling */
.nft-list::-webkit-scrollbar {
    width: 10px;
}

.nft-list::-webkit-scrollbar-track {
    background: #000000;
}

.nft-list::-webkit-scrollbar-thumb {
    background: #ff00ff;
    border: 2px solid #000000;
}

.nft-list::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}