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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #0c0c2e, #1a1a3e);
    color: #00ffcc;
    min-height: 100vh;
    overflow-x: hidden;
}

.ps-header {
    background: linear-gradient(90deg, #1a1a3e, #2a2a5e, #1a1a3e);
    border-bottom: 3px solid #00ffcc;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.ps-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5em;
    font-weight: bold;
}

.ps-icon {
    font-size: 1.8em;
    animation: pulse 2s infinite;
}

.ps-text {
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.ps-info {
    font-size: 1em;
    opacity: 0.9;
    color: #00ffcc;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.quantum-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    border: 2px solid #00ffcc;
    border-radius: 15px;
    background: rgba(0, 255, 204, 0.1);
    margin-top: 20px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ffcc;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.8;
}

.main-content {
    display: grid;
    gap: 30px;
}

.auth-section, .forge-section, .info-section {
    padding: 25px;
    border: 1px solid #00ffcc;
    border-radius: 10px;
    background: rgba(0, 255, 204, 0.05);
}

h2 {
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 1.5em;
}

h3 {
    color: #00ffcc;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #00ffcc;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    padding: 12px 24px;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    border: none;
    border-radius: 5px;
    color: #0c0c2e;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.4);
}

.token-display, .result-display {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ffcc;
    border-radius: 5px;
    word-break: break-all;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.info-section ul {
    list-style: none;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
    position: relative;
}

.info-section li:before {
    content: "⚛️";
    position: absolute;
    left: -20px;
}

.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffcc;
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

.success {
    color: #00ff00;
    border-color: #00ff00;
}

.error {
    color: #ff4444;
    border-color: #ff4444;
}

.warning {
    color: #ffaa00;
    border-color: #ffaa00;
}

@media (max-width: 768px) {
    .ps-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .ps-logo {
        font-size: 1.3em;
    }

    .ps-info {
        font-size: 0.9em;
    }

    .header h1 {
        font-size: 2em;
    }

    .quantum-container {
        padding: 10px;
    }
}