/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    overflow: hidden;
    background: #0a0e27;
}

/* 非表示クラス - 最優先 */
.hidden {
    display: none !important;
    visibility: hidden !important;
}

/* キーフレームアニメーション */
@keyframes pulse {
    0%, 100% { text-shadow: 0 0 40px rgba(0, 255, 204, 0.8); }
    50% { text-shadow: 0 0 60px rgba(0, 255, 204, 1); }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 204, 0.8);
    }
}

/* メインメニュー */
#startScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#startScreen h1 {
    font-family: 'Orbitron', monospace;
    font-size: 72px;
    color: #00ffcc;
    text-shadow: 0 0 40px rgba(0, 255, 204, 0.8);
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: pulse 2s ease-in-out infinite;
}

#startScreen p {
    font-size: 24px;
    color: #7dd3c0;
    margin-bottom: 40px;
}

.main-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 400px;
    animation: fadeIn 0.8s ease-out;
}

.main-menu-btn {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    padding: 20px 60px;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 255, 204, 0.4);
    animation: slideInFromBottom 0.6s ease-out backwards;
    pointer-events: auto;
}

.main-menu-btn:nth-child(1) { animation-delay: 0.1s; }
.main-menu-btn:nth-child(2) { animation-delay: 0.2s; }
.main-menu-btn:nth-child(3) { animation-delay: 0.3s; }

.main-menu-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 255, 204, 0.6);
}

/* すべてのメニュー画面の共通スタイル */
#worldSelectScreen,
#createWorldScreen,
#createServerScreen,
#marketplaceScreen,
#pauseMenu,
#settingsMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease-out;
}

/* コンテナ */
.world-select-container,
.create-container,
.marketplace-container,
.pause-container,
.settings-container {
    background: linear-gradient(135deg, #1a1a3e 0%, #0a0e27 100%);
    padding: 50px;
    border-radius: 20px;
    border: 3px solid #00ffcc;
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.5);
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.world-select-container h1,
.create-container h1,
.marketplace-container h1,
.pause-container h1,
.settings-container h1 {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    color: #00ffcc;
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.8);
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 3px;
    animation: pulse 2s ease-in-out infinite;
}

/* タブボタン */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 255, 204, 0.3);
}

.tab-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 30px;
    background: transparent;
    color: #7dd3c0;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #00ffcc;
    transform: translateY(-2px);
}

.tab-btn.active {
    color: #00ffcc;
    border-bottom-color: #00ffcc;
}

/* タブコンテンツ */
.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none !important;
}

/* ボタン */
.create-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.5);
}

/* リスト */
.worlds-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.world-item,
.server-item {
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.world-item:hover,
.server-item:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: #00ffcc;
    transform: translateX(5px);
}

.world-info,
.server-info {
    flex: 1;
}

.world-name,
.server-name {
    font-size: 22px;
    font-weight: 700;
    color: #00ffcc;
    margin-bottom: 5px;
}

.world-meta,
.server-meta {
    font-size: 14px;
    color: #7dd3c0;
}

.world-actions,
.server-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    background: rgba(0, 255, 204, 0.2);
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #00ffcc;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(0, 255, 204, 0.3);
    transform: scale(1.1);
}

.action-btn.delete {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.action-btn.delete:hover {
    background: rgba(255, 107, 107, 0.3);
}

/* フォーム */
.create-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

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

.form-group label {
    font-size: 16px;
    color: #7dd3c0;
    font-weight: 600;
}

.form-group input,
.form-group select {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    padding: 12px 15px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: #00ffcc;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
}

.form-group input::placeholder {
    color: rgba(125, 211, 192, 0.5);
}

.create-buttons {
    display: flex;
    gap: 15px;
}

.menu-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 600;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
    flex: 1;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.5);
}

.quit-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.quit-btn:hover {
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.back-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #7dd3c0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* マーケットプレイス */
.marketplace-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.marketplace-tab-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(0, 255, 204, 0.1);
    color: #7dd3c0;
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.marketplace-tab-btn:hover {
    background: rgba(0, 255, 204, 0.15);
}

.marketplace-tab-btn.active {
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border-color: #00ffcc;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.marketplace-item {
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.marketplace-item:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: #00ffcc;
    transform: translateY(-5px);
}

.item-preview {
    font-size: 64px;
    margin-bottom: 15px;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: #00ffcc;
    margin-bottom: 8px;
}

.item-price {
    font-size: 16px;
    color: #7dd3c0;
}

/* 設定 */
.settings-content {
    margin-bottom: 30px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.setting-item label {
    font-size: 18px;
    color: #7dd3c0;
    font-weight: 600;
    min-width: 150px;
}

.setting-item input[type="range"] {
    flex: 1;
    margin: 0 20px;
    height: 6px;
    background: rgba(0, 255, 204, 0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.setting-item span {
    font-size: 18px;
    color: #00ffcc;
    min-width: 50px;
    text-align: right;
    font-weight: 700;
}

.setting-item select {
    flex: 1;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    padding: 10px 15px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: #00ffcc;
    cursor: pointer;
    outline: none;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ゲームキャンバス */
#gameCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ゲームUI */
#ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    display: none;
}

#ui.active {
    display: block;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

#hud h1 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    color: #00ffcc;
    margin-bottom: 10px;
}

#controls {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

#stats {
    font-size: 16px;
    font-weight: 600;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
}

#crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

#crosshair::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

#inventory {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: all;
}

.block-slot {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 32px;
}

.block-slot:hover {
    border-color: rgba(0, 255, 204, 0.8);
    background: rgba(0, 255, 204, 0.1);
    transform: translateY(-5px);
}

.block-slot.active {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.block-label {
    font-size: 12px;
    margin-top: 5px;
    color: white;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #7dd3c0;
    font-size: 18px;
}

/* アカウント関連 */
.settings-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 255, 204, 0.3);
}

.settings-section h3 {
    font-size: 24px;
    color: #00ffcc;
    margin-bottom: 20px;
}

.account-status {
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.account-status p {
    font-size: 16px;
    color: #7dd3c0;
    margin-bottom: 15px;
}

.account-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.account-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.5);
}

/* ログインモーダル */
#loginModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    animation: fadeIn 0.3s ease-out;
}

.login-container {
    background: linear-gradient(135deg, #1a1a3e 0%, #0a0e27 100%);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #00ffcc;
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.5);
    max-width: 500px;
    width: 90%;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-container h2 {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
    margin-bottom: 30px;
    text-align: center;
}

.login-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.login-method-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-method-btn span {
    font-size: 24px;
}

.login-method-btn:hover {
    background: rgba(0, 255, 204, 0.2);
    border-color: #00ffcc;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
}

.email-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.email-login-form input {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    padding: 12px 15px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: #00ffcc;
    outline: none;
}

.email-login-form input:focus {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
}

.email-login-form input::placeholder {
    color: rgba(125, 211, 192, 0.5);
}

/* スクロールバー */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 204, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 204, 0.8);
}

/* レスポンシブ */
@media (max-width: 768px) {
    #startScreen h1 {
        font-size: 48px;
    }
    
    .main-menu-buttons {
        min-width: 300px;
    }
    
    .main-menu-btn {
        font-size: 20px;
        padding: 15px 40px;
    }
    
    .world-select-container,
    .create-container,
    .marketplace-container {
        padding: 30px;
    }
}

/* すべてのボタンとインタラクティブ要素にpointer-events追加 */
.tab-btn,
.create-btn,
.action-btn,
.back-btn,
.menu-btn,
.account-btn,
.login-method-btn,
.marketplace-tab-btn,
.marketplace-item,
.world-item,
.server-item,
.block-slot,
input,
select,
button {
    pointer-events: auto !important;
}

/* フォーム要素 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="range"],
select {
    pointer-events: auto !important;
}

/* マルチプレイヤーUI */
#multiplayerUI {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 150;
}

.room-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid #00ffcc;
    border-radius: 10px;
    padding: 15px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-id {
    font-size: 16px;
    color: #00ffcc;
    font-weight: 600;
}

.small-btn {
    padding: 5px 15px;
    background: rgba(0, 255, 204, 0.2);
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #00ffcc;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.small-btn:hover {
    background: rgba(0, 255, 204, 0.3);
    transform: scale(1.05);
}

.players-list {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid #00ffcc;
    border-radius: 10px;
    padding: 15px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    pointer-events: auto;
}

.players-list h3 {
    font-size: 18px;
    color: #00ffcc;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.3);
    padding-bottom: 5px;
}

#playersContent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-item {
    padding: 8px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 5px;
    color: #7dd3c0;
    font-size: 14px;
}

.player-item.self {
    background: rgba(0, 255, 204, 0.2);
    color: #00ffcc;
    font-weight: 600;
}

.chat-box {
    position: absolute;
    bottom: 100px;
    left: 20px;
    width: 400px;
    max-height: 300px;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid #00ffcc;
    border-radius: 10px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 250px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0, 255, 204, 0.05);
    border-radius: 5px;
    animation: fadeIn 0.3s ease-out;
}

.chat-player-name {
    font-weight: 600;
    color: #00ffcc;
    font-size: 14px;
    margin-bottom: 3px;
}

.chat-text {
    color: #7dd3c0;
    font-size: 14px;
    word-wrap: break-word;
}

.chat-input-container {
    display: flex;
    gap: 5px;
    padding: 10px;
    border-top: 1px solid rgba(0, 255, 204, 0.3);
}

#chatInput {
    flex: 1;
    padding: 10px;
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 5px;
    color: #00ffcc;
    font-size: 14px;
    outline: none;
}

#chatInput:focus {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
}

.send-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0e27;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

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

.join-room-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a3e 0%, #0a0e27 100%);
    border: 3px solid #00ffcc;
    border-radius: 20px;
    padding: 30px;
    min-width: 400px;
    pointer-events: auto;
    animation: scaleIn 0.3s ease-out;
}

.join-room-panel h3 {
    font-size: 24px;
    color: #00ffcc;
    margin-bottom: 20px;
    text-align: center;
}

#joinRoomId {
    width: 100%;
    padding: 15px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: #00ffcc;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    outline: none;
}

#joinRoomId:focus {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
}
