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

body {
    font-family: 'Yu Gothic', 'メイリオ', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, #ff006e 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #8338ec 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #3a86ff 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.container {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.5);
    max-width: 600px;
    width: 90%;
}

.hidden {
    display: none !important;
}

.site-header {
    text-align: center;
    margin-bottom: 30px;
}

.glowing-text {
    font-size: 2.5em;
    text-shadow: 
        0 0 10px #ff006e,
        0 0 20px #ff006e,
        0 0 30px #ff006e,
        0 0 40px #ff006e;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #ff006e, 0 0 20px #ff006e, 0 0 30px #ff006e, 0 0 40px #ff006e; }
    to { text-shadow: 0 0 20px #ff006e, 0 0 30px #ff006e, 0 0 40px #ff006e, 0 0 50px #ff006e; }
}

.dream-form {
    text-align: center;
}

.suspicious-text {
    font-size: 1.2em;
    margin: 20px 0;
    color: #ffb700;
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.input-group {
    margin: 30px 0;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #3a86ff;
}

#amount {
    padding: 15px;
    font-size: 1.5em;
    border: 2px solid #8338ec;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 80%;
    text-align: center;
    transition: all 0.3s;
}

#amount:focus {
    outline: none;
    border-color: #ff006e;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.dream-btn {
    background: linear-gradient(45deg, #ff006e, #8338ec);
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.dream-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.6);
}

.warning-text {
    margin-top: 30px;
    color: #06ffa5;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.bank-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    overflow-y: auto;
    animation: fadeIn 0.5s ease-in;
}

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

.bank-nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.bank-logo {
    text-align: center;
    padding: 10px 0;
}

.bank-logo h1 {
    color: #1a5490;
    font-size: 2em;
    font-weight: bold;
    margin: 0;
}

.bank-tagline {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.bank-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.menu-item {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item.active {
    background: #1a5490;
    color: #fff;
}

.bank-main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.welcome-message {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.welcome-message h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.welcome-message p {
    color: #666;
    font-size: 0.9em;
}

.account-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.account-card h3 {
    color: #1a5490;
    font-size: 1.3em;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a5490;
    padding-bottom: 10px;
}

.account-details {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-row .label {
    color: #666;
    font-size: 0.9em;
}

.detail-row .value {
    color: #333;
    font-size: 1.1em;
    font-weight: bold;
}

.balance-display {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.balance-label {
    color: #666;
    font-size: 1em;
    display: block;
    margin-bottom: 10px;
}

.balance-amount {
    font-size: 3em;
    color: #1a5490;
    font-weight: bold;
}

.transaction-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transaction-card h3 {
    color: #1a5490;
    font-size: 1.3em;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a5490;
    padding-bottom: 10px;
}

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

.clean-transaction-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.clean-transaction-table td {
    color: #333;
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.bank-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: modalFadeIn 0.3s ease-in;
}

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

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: #1a5490;
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    font-size: 1.5em;
    margin: 0;
}

.modal-body {
    padding: 40px 30px;
    text-align: center;
}

.modal-message {
    font-size: 1.3em;
    color: #333;
    margin: 0;
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-btn {
    background: #1a5490;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1.1em;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    background: #0d3d6e;
    transform: scale(1.05);
}

.glitch {
    animation: glitch 0.3s linear;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-content {
    text-align: center;
}

.glitch-text {
    font-size: 3em;
    color: #ff006e;
    text-transform: uppercase;
    position: relative;
    animation: glitchText 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitchTextBefore 0.3s infinite;
    color: #00ff41;
    z-index: -1;
}

.glitch-text::after {
    animation: glitchTextAfter 0.3s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitchText {
    0%, 100% {
        text-shadow: 0 0 10px #ff006e;
    }
    50% {
        text-shadow: 0 0 20px #ff006e, 0 0 30px #ff006e;
    }
}

@keyframes glitchTextBefore {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }
    20% {
        clip-path: inset(20% 0 30% 0);
        transform: translate(-3px, 3px);
    }
    40% {
        clip-path: inset(50% 0 20% 0);
        transform: translate(3px, -3px);
    }
    60% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(-3px, 0);
    }
    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(3px, 0);
    }
}

@keyframes glitchTextAfter {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }
    20% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(3px, -3px);
    }
    40% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-3px, 3px);
    }
    60% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(3px, 0);
    }
    80% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(-3px, 0);
    }
}

.loading-bar {
    width: 300px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 30px auto;
    overflow: hidden;
    border: 2px solid #8338ec;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #8338ec, #3a86ff);
    width: 0%;
    transition: width 0.3s ease;
    background-size: 200% 100%;
    animation: shimmer 1s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.loading-messages {
    margin-top: 20px;
}

.loading-messages p {
    color: #06ffa5;
    font-size: 1.2em;
    animation: pulse 1s ease-in-out infinite;
}

.fade-to-white {
    animation: fadeToWhite 1s ease-in forwards;
}

@keyframes fadeToWhite {
    0% {
        background: #000;
    }
    100% {
        background: #f5f5f5;
    }
}