/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --metallic-gray: #6B7280;
    --dark-gray: #374151;
    --light-gray: #9CA3AF;
    --blue: #3B82F6;
    --red: #EF4444;
    --tiffany-blue: #0ABAB5;
    --white: #FFFFFF;
    --black: #111827;
    --bg-dark: #1F2937;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Bebas Neue', cursive;
}

body {
    font-family: var(--font-main);
    color: var(--white);
    background-color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    zoom: 0.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--metallic-gray) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 4px;
    background: linear-gradient(45deg, var(--white), var(--tiffany-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.logo-text .tagline {
    font-size: 0.9rem;
    color: var(--light-gray);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--tiffany-blue));
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--metallic-gray) 50%, var(--blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 8rem;
    letter-spacing: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.7), 0 0 60px rgba(10, 186, 181, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.7), 0 0 60px rgba(10, 186, 181, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(59, 130, 246, 1), 0 0 80px rgba(10, 186, 181, 0.8);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--light-gray);
    margin-bottom: 30px;
}

.hero-supported {
    margin-top: 40px;
}

.hero-supported p {
    font-size: 1.1rem;
    color: var(--light-gray);
}

.supporter-link {
    color: var(--tiffany-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.supporter-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--tiffany-blue);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 4px;
    background: linear-gradient(45deg, var(--white), var(--metallic-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    margin-right: 15px;
    color: var(--tiffany-blue);
    -webkit-text-fill-color: var(--tiffany-blue);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-gray) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--light-gray);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-photo {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.05);
}

.activity-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding: 20px;
    background: rgba(55, 65, 81, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--tiffany-blue);
}

.info-item h3 {
    color: var(--tiffany-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-item p {
    color: var(--light-gray);
    line-height: 1.8;
}

.info-item strong {
    color: var(--white);
    font-weight: 700;
}

.info-item .note {
    font-size: 0.9rem;
    color: var(--metallic-gray);
}

/* Instagram Section */
.instagram-section {
    background: var(--black);
}

.instagram-embed {
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.instagram-link {
    text-align: center;
    margin-top: 30px;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #E1306C, #C13584);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
}

/* Results Section */
/* Removed - No longer needed */

/* Tournaments Section */
.tournaments-section {
    background: var(--black);
}

.tournaments-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.tournament-item {
    padding: 15px 30px;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--metallic-gray);
    transition: all 0.3s ease;
}

.tournament-item:hover {
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

/* Achievements Section */
.achievements-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-gray) 100%);
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 10px;
    border-left: 3px solid var(--metallic-gray);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--blue);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.achievement-year-badge {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--tiffany-blue);
    letter-spacing: 2px;
}

.achievement-tournament {
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
}

.achievement-result {
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    width: fit-content;
}

.achievement-result.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--black);
}

.achievement-result.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: var(--black);
}

.achievement-result.bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: var(--white);
}

/* Links Section */
.links-section {
    background: var(--black);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.link-card {
    background: linear-gradient(135deg, var(--dark-gray), var(--metallic-gray));
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.link-card.instagram:hover {
    border-color: #E1306C;
    box-shadow: 0 10px 40px rgba(225, 48, 108, 0.3);
}

.link-card.youtube:hover,
.link-card.youtube-full:hover {
    border-color: var(--red);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

.link-card.teams:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.link-card.homura:hover {
    border-color: var(--tiffany-blue);
    box-shadow: 0 10px 40px rgba(10, 186, 181, 0.3);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.link-card.instagram .link-icon {
    color: #E1306C;
}

.link-card.youtube .link-icon,
.link-card.youtube-full .link-icon {
    color: var(--red);
}

.link-card.teams .link-icon {
    color: var(--blue);
}

.link-card.homura .link-icon {
    color: var(--tiffany-blue);
}

.link-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.link-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-gray) 100%);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.contact-info i {
    color: var(--tiffany-blue);
    font-size: 2rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--tiffany-blue);
}

.contact-text {
    color: var(--light-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    padding: 40px 0 20px;
    border-top: 3px solid var(--metallic-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--tiffany-blue);
}

.footer-logo p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-supported p {
    color: var(--light-gray);
}

.footer-supported a {
    color: var(--tiffany-blue);
    text-decoration: none;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--light-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--tiffany-blue);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--metallic-gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--tiffany-blue);
}

.visitor-counter i {
    font-size: 1.3rem;
}

.count-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .nav {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        transform: scale(1);
    }
    
    .nav a {
        font-size: 0.85rem;
    }
    
    .logo-text h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 4rem;
        letter-spacing: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text {
        text-align: left;
    }
    
    .activity-info {
        margin-top: 20px;
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tournaments-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
}