@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a5b4fc, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    animation: floating 6s ease-in-out infinite;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

/* 一覧表内の球団ロゴ画像スタイル */
.team-table-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    display: inline-block;
    transition: transform 0.15s ease;
}
.team-table-logo:hover {
    transform: scale(1.1);
}

/* 選手表ページネーションスタイル */
.table-pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.table-pagination-wrapper.pagination-top {
    margin-bottom: 0.75rem;
}
.table-pagination-wrapper.pagination-bottom {
    margin-top: 1rem;
}
.table-pagination-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.65);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.page-num-btn, .page-next-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 36px;
    text-align: center;
    line-height: 1;
}
.page-num-btn:hover:not(.active), .page-next-btn:hover:not(:disabled) {
    background: #334155;
    border-color: #60a5fa;
    color: #60a5fa;
    transform: translateY(-1px);
}
.page-num-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    cursor: default;
}
.page-next-btn {
    padding: 0.4rem 0.95rem;
    background: rgba(2, 132, 199, 0.2);
    border-color: rgba(2, 132, 199, 0.5);
    color: #38bdf8;
    margin-left: 0.25rem;
}
.page-next-btn:disabled {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(51, 65, 85, 0.4);
    color: #475569;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.page-ellipsis {
    color: #64748b;
    font-weight: 800;
    padding: 0 0.2rem;
    user-select: none;
    font-size: 0.9rem;
}

