:root {
    --primary-color: #00b4d8;
    --secondary-color: #90e0ef;
    --accent-color: #03045e;
    --text-color: #333;
    --text-light: #fff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #caf0f8;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #caf0f8, #90e0ef, #00b4d8);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    text-align: center;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-img {
    max-height: 200px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.hero-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-color);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.nav-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    border-color: #fff;
}

.nav-card:hover::before {
    opacity: 1;
}

.card-content h2 {
    font-size: 1.25rem;
    margin: 0 0 5px;
    color: var(--accent-color);
    font-weight: 700;
}

.card-content p {
    font-size: 0.9rem;
    margin: 0;
    color: #555;
    opacity: 0.9;
}

.card-icon {
    font-size: 2rem;
    margin-left: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* News Section */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    transition: transform 0.2s ease;
}

.news-list li::before {
    content: '🏸';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.news-list li:hover {
    transform: translateX(5px);
}

.news-link, .news-item a {
    color: #0077b6;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #0077b6;
    transition: color 0.2s;
}

.news-link:hover, .news-item a:hover {
    color: #03045e;
    border-bottom-style: solid;
}

.news-item {
    color: #444;
}

/* Ranking Button */
.ranking-section {
    text-align: center;
    margin-bottom: 60px;
}

.button-link {
    display: inline-block;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    transition: all 0.3s ease;
}

.button-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.6);
    background: linear-gradient(135deg, #48cae4, #0096c7);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    margin-top: auto;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    transition: background 0.3s;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .hero-images {
        flex-direction: column;
        align-items: center;
    }

    .glass-panel {
        padding: 24px;
    }
}
