* {
    font-family: 'Noto Sans JP', sans-serif;
}

h1, h2, h3, .font-display {
    font-family: 'Outfit', sans-serif;
}

.hidden { display: none !important; }

/* グラデーション背景 */
.bg-gradient-dark {
    background: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #1a1025 100%);
}

/* ガラスモーフィズム */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* グラデーションテキスト */
.text-gradient {
    background: linear-gradient(135deg, #00d4ff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ボタングラデーション */
.btn-gradient {
    background: linear-gradient(135deg, #00d4ff 0%, #10b981 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* インプットスタイル */
.input-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.input-modern:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.input-light {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.input-light:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* カードスタイル */
.card-dark {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* スピナー */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* ドロップゾーン */
.drop-zone {
    border: 2px dashed rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

/* タブスタイル */
.tab-active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.5);
}

/* プログレスバー */
.progress-gradient {
    background: linear-gradient(90deg, #00d4ff 0%, #10b981 100%);
}

/* スクロールバー */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 背景装飾 */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/* レコードカード */
.record-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.record-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
}

/* カスタムダイアログ */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}
.dialog-box {
    background: linear-gradient(135deg, #1a1a25 0%, #12121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}
.dialog-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.dialog-icon.info { background: rgba(0, 212, 255, 0.15); color: #00d4ff; }
.dialog-icon.success { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.dialog-icon.warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.dialog-icon.error { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.dialog-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
}
.dialog-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}
.dialog-buttons {
    display: flex;
    gap: 0.75rem;
}
.dialog-buttons button {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.dialog-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7);
}
.dialog-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}
.dialog-btn-ok {
    background: linear-gradient(135deg, #00d4ff 0%, #10b981 100%);
    color: #fff;
}
.dialog-btn-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.dialog-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}
.dialog-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
