.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    transform: translateZ(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

.banner {
    height: 100vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
    transform: translateZ(0);
    margin-top: 70px;
}

.banner-bg {
    position: absolute;
    top: -10%;
    left: -5%;
    right: -5%;
    bottom: -10%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    opacity: 0;
    will-change: transform;
    display: none;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url('../images/art/３人組なのに４人いてワロタ.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: auto;
    width: 100%;
    height: 100%;
    background-attachment: scroll;
    transform: translateZ(0);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
}

.banner-logo {
    margin-bottom: 2rem;
}

.logo-svg {
    width: 300px;
    height: 150px;
    animation: elasticScale 2s ease-out;
}

.logo-svg text {
    font-size: 24px;
    font-weight: bold;
    fill: white;
}

.logo-image {
    max-width: 400px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    opacity: 1;
    transform: scale(1);
    transition: transform 0.3s ease;
}

@keyframes elasticScale {
    0% { 
        transform: scale(0.8); 
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.9;
    }
    100% { 
        transform: scale(1); 
        opacity: 1;
    }
}

.logo-image:hover {
    transform: scale(1.05);
}

.banner-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-align: center;
}

.banner-subtitle .highlight-text {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.3rem;
}

.banner-subtitle .typing-text {
    font-size: 1.1rem;
    display: block;
}

.banner-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.banner-social a {
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.banner-social a:hover {
    transform: scale(1.2);
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    padding: 4rem 0;
    position: relative;
}

.about-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.about-description {
    text-align: center;
    margin-bottom: 4rem;
}

.about-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.channel-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
}

.channel-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.channel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff8a80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    overflow: hidden;
}

.channel-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.channel-card:nth-child(2) .channel-icon {
    background: linear-gradient(135deg, var(--secondary-color), #80e5d9);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.channel-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: bold;
}

.channel-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.channel-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.tiktok-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.tiktok-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

.channel-card:nth-child(2) .channel-btn {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.channel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.channel-card:nth-child(2) .channel-btn:hover {
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: var(--gradient-rainbow);
    color: white;
    border-color: white;
}

.video {
    padding: 4rem 0;
}

.video-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.video-subtitle-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    border: 3px solid #d32f2f;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.video-subtitle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.video-subtitle-btn:hover::before {
    left: 100%;
}

.video-subtitle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    background: #e53935;
}

.video-subtitle-btn::after {
    content: '▼';
    font-size: 0.9em;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(3px); 
    }
}

.video-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    color: var(--text-light);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-underline {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 80px;
    left: 2rem;
}

.video-content {
    max-width: 800px;
    margin: 0 auto;
}

.video-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.video-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-item {
    text-align: center;
}

.video-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.video-item iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item iframe:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.video-tabs-mobile {
    display: none;
}


.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid #ff6b6b;
    white-space: nowrap;
    animation: typing 3s steps(8, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 8ch; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #ff6b6b; }
}

.highlight-text {
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    font-weight: bold;
}

.wiggle-text {
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

.question-mark {
    display: inline-block;
    animation: spin 4s linear infinite;
    font-size: 1.2em;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rainbow-text {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease infinite;
    font-weight: bold;
    text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.highlight-word {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin: 0 2px;
}

.big-text {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.emphasis-text {
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

.small-text {
    font-size: 0.8em;
    color: var(--text-light);
    font-style: italic;
}

.fun-text {
    color: var(--secondary-color);
    font-weight: bold;
}

.pray-text {
    font-size: 0.9em;
    color: var(--text-light);
    font-style: italic;
}

.high-note {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.1em;
}

.ultra-high {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ultraShine 2s ease infinite;
    font-weight: bold;
    font-size: 1.2em;
}

@keyframes ultraShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.shop-description {
    color: var(--primary-color);
    font-weight: bold;
}

.funny-description {
    position: relative;
}

.channel-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-card:hover {
    transform: translateY(-8px) translateZ(0);
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.2));
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease-out;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.member-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.card-front {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotateY(0deg);
}

.card-back {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.member-card[data-color="blue"] .card-back {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
}

.member-card[data-color="green"] .card-back {
    background: linear-gradient(135deg, #51cf66, #69db7c);
}

.member-card[data-color="orange"] .card-back {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.member-card[data-color="purple"] .card-back {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.member-card[data-color="gray"] .card-back {
    background: linear-gradient(135deg, #868e96, #adb5bd);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: white;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

.member-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.member-links a {
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    will-change: transform, box-shadow;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 20;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.member-links a::before {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.member-links a::after {
    content: '';
    position: absolute;
    bottom: 122%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.member-links a:hover::before,
.member-links a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px) translateZ(0);
}

.member-links a:hover {
    transform: translateY(-3px) translateZ(0);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 25;
}

.member-links a:active {
    transform: translateY(-1px) translateZ(0);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgba(255, 255, 255, 0.3);
}

.member-links a[title="X"]:hover,
.member-links a[href*="x.com"]:hover {
    background: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.member-links a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.4);
}

.member-links a[title="YouTube"]:hover {
    background: #ff0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.member-links a[title="Twitch"]:hover {
    background: #9146ff;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4);
}

.member-links a[title="TikTok"]:hover {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.4);
}

.member-links a[title="TwitCasting"]:hover {
    background: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

@media (max-width: 480px) {
    .member-links {
        gap: 0.5rem;
    }
    
    .member-links a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .member-links a::before {
        font-size: 0.65rem;
        padding: 6px 10px;
        bottom: 130%;
    }
    
    .member-links a::after {
        bottom: 122%;
    }

    .banner {
        height: 35vh;
        min-height: 250px;
        max-height: 350px;
    }

    .banner-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-image: url('../images/art/スマホ用.png');
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }

    .banner-logo .logo-svg {
        width: 150px;
        height: 75px;
    }

    .logo-image {
        max-width: 140px;
        max-height: 70px;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .big-text {
        font-size: 0.9em;
    }
    
    .rainbow-text {
        font-size: 0.85em;
    }
}

.shop {
    padding: 4rem 0;
}

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

.shop-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.shop-text p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.paw-icon {
    width: 24px;
    height: 24px;
    fill: white;
    animation: pawShake 3s ease-in-out infinite;
}

@keyframes pawShake {
    0%, 90%, 100% { transform: rotate(0deg); }
    95% { transform: rotate(10deg); }
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff8a80, #ff6b6b, #ff5252, #ff6b6b, #ff8a80);
    animation: gradientMove 10s linear infinite;
}

@keyframes gradientMove {
    to { left: 100%; }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
    .banner {
        height: 70vh;
        min-height: 400px;
    }
    
    .logo-image {
        max-width: 350px;
        max-height: 175px;
    }
    
    .banner-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .video-grid-desktop {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .video-item iframe {
        height: 300px;
    }

    .banner {
        height: 60vh;
        min-height: 350px;
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }
    
    .logo-image {
        max-width: 300px;
        max-height: 150px;
    }
    
    .banner-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .banner {
        height: 55vh;
        min-height: 320px;
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }
    
    .logo-image {
        max-width: 280px;
        max-height: 140px;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .banner {
        height: 50vh;
        min-height: 300px;
        max-height: 450px;
        margin-top: 60px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .about-channels {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-description p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .channel-card {
        padding: 2rem 1.5rem;
    }
    
    .channel-card h3 {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    
    .channel-card p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .about-social {
        gap: 0.5rem;
    }

    .social-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .banner-logo .logo-svg {
        width: 200px;
        height: 100px;
    }

    .logo-image {
        max-width: 180px;
        max-height: 90px;
    }

    .nav-logo-image {
        height: 35px;
    }

    .banner-subtitle {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .video-content iframe {
        height: 250px;
    }

    .video-grid-desktop {
        display: none;
    }

    .video-tabs-mobile {
        display: block;
    }
    
    .tab-btn {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .member-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }
    
    .member-card {
        height: 300px !important;
        width: 100% !important;
        min-width: 150px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .card-front,
    .card-back {
        padding: 1rem !important;
    }
    
    .member-card h3 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.7rem !important;
        word-wrap: break-word !important;
    }
    
    .member-card p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    .member-avatar {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0.7rem !important;
    }
    
    .member-links {
        gap: 0.4rem !important;
        margin-top: 0.7rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .member-links a {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .banner-image {
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center center;
        background-image: url('../images/art/スマホ用.png');
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }

    .big-text {
        font-size: 0.9em;
    }
    
    .rainbow-text {
        font-size: 0.85em;
    }

    .channel-buttons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .channel-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .tiktok-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    .member-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }
    
    .member-card {
        height: 320px !important;
        min-width: 280px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .card-front,
    .card-back {
        padding: 1.2rem !important;
    }
    
    .member-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        text-align: center !important;
    }
    
    .member-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    .member-avatar {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 0.8rem !important;
    }
    
    .member-links {
        gap: 0.5rem;
        margin-top: 0.8rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .member-links a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .member-links a::before {
        font-size: 0.65rem;
        padding: 6px 10px;
        bottom: 130%;
    }
    
    .member-links a::after {
        bottom: 122%;
    }

    .banner {
        height: 35vh;
        min-height: 250px;
        max-height: 350px;
    }

    .banner-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-image: url('../images/art/スマホ用.png');
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }

    .banner-logo .logo-svg {
        width: 150px;
        height: 75px;
    }

    .logo-image {
        max-width: 140px;
        max-height: 70px;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .big-text {
        font-size: 0.9em;
    }
    
    .rainbow-text {
        font-size: 0.85em;
    }
    
    .channel-buttons {
        gap: 0.6rem;
        margin-top: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .channel-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }

    .tiktok-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
}

@media (max-width: 280px) {
    .member-grid {
        padding: 0 0.5rem !important;
    }
    
    .member-card {
        height: 300px !important;
        min-width: 240px !important;
        max-width: 100% !important;
    }
    
    .member-card h3 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .member-card p {
        font-size: 0.85rem !important;
    }
    
    .member-avatar {
        width: 65px !important;
        height: 65px !important;
    }
    
    .card-front,
    .card-back {
        padding: 1rem !important;
    }

    .banner {
        height: 40vh;
        min-height: 260px;
        max-height: 350px;
        margin-top: 60px;
    }
    
    .banner-image {
        background-size: contain;
        background-position: center center;
        background-image: url('../images/art/スマホ用.png');
        transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .logo-image {
        max-width: 130px;
        max-height: 65px;
    }
    
    .banner-logo .logo-svg {
        width: 130px;
        height: 65px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-description p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .social-link {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }

    .big-text {
        font-size: 0.9em;
    }
    
    .rainbow-text {
        font-size: 0.85em;
    }
}

.fab.fa-x-twitter::before {
    content: "𝕏";
    font-family: "Times New Roman", serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1em;
}

.fab.fa-x-twitter {
    font-family: "Font Awesome 6 Brands";
}

a[href*="x.com"] .fab.fa-twitter::before {
    content: "𝕏";
    font-family: "Times New Roman", serif;
    font-weight: bold;
    font-style: normal;
}

.member-card p,
.member-card .high-note,
.member-card .ultra-high {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (hover: none) and (pointer: coarse) {
    .member-links a {
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
    }
    
    .member-links a:hover::before,
    .member-links a:hover::after {
        opacity: 0;
        visibility: hidden;
    }
    
    .member-links a:active {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(0.95) translateZ(0);
    }
}

.member {
    padding: 4rem 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    height: 320px;
    perspective: 1000px;
    min-width: 0;
    will-change: transform;
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card:hover {
    transform: translateY(-8px) translateZ(0);
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.2));
}

.section-title {
    overflow: hidden;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fun-fact {
    font-size: 0.8em;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.8;
    display: block;
    margin-top: 10px;
}

section:not(#banner) p,
section:not(#banner) h3:not(.section-title):not(.channel-card h3):not(.member-card h3):not(.shop-item h3),
section:not(#banner) h4,
section:not(#banner) li,
section:not(#banner) label,
section:not(#banner) .member-role,
section:not(#banner) .member-description,
section:not(#banner) .shop-description:not(.shop-item .shop-description),
section:not(#banner) .small-text,
section:not(#banner) .channel-card p,
.footer-logo span,
.footer-bottom p {
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.8),
         1px -1px 0 rgba(0,0,0,0.8),
        -1px  1px 0 rgba(0,0,0,0.8),
         1px  1px 0 rgba(0,0,0,0.8);
}

.video-subtitle-btn,
.tab-btn.active,
.submit-btn .btn-text,
.shop-btn span,
.filter-btn.active,
.member-card h3,
.member-card p,
.member-card .member-name,
.member-card .member-role,
.member-card .member-description,
.shop-item h3,
.shop-item p,
.shop-item .price,
.channel-card h3,
.channel-card p,
.card-back,
.card-back *,
.footer,
.footer *,
.banner-content,
.banner-content *,
.pagination-btn,
.pagination-btn *,
.channel-btn,
.channel-btn *,
.shop-btn,
.shop-btn *,
.loading-text,
.nav-menu a,
.social-link:hover,
.social-link:hover *,
.shop-text h3,
.shop-text p,
.tab-btn,
.about-subtitle,
.about-description p,
.shop,
.shop *,
.shop-content,
.shop-content *,
.rainbow-text {
    text-shadow: none !important;
}

.video-item h3 {
    text-shadow:
        -1px -1px 0 rgba(255,255,255,0.8),
         1px -1px 0 rgba(255,255,255,0.8),
        -1px  1px 0 rgba(255,255,255,0.8),
         1px  1px 0 rgba(255,255,255,0.8) !important;
}

.about .about-description {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.shop .shop-content {
    background-color: transparent;
    backdrop-filter: none;
}

.member-card,
.video iframe,
.video .video-player-wrapper,
.video .embed-responsive-item {
    background-color: unset !important;
    backdrop-filter: none !important;
}

.member .member-grid,
.video .video-grid-desktop,
.video .video-player-container {
    background-color: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.embedded-youtube {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    width: 100%;
    max-width: 100%;
}

.embedded-youtube iframe {
    width: 100%;
    height: 315px;
    border: none;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.responsive-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin: 1.5rem 0;
}

.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.embedded-tweet {
    margin: 1rem 0;
    text-align: center;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.embedded-tweet .twitter-tweet {
    margin: 0 auto !important;
    max-width: 550px;
    width: 100% !important;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.pagination-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    min-width: 40px;
    text-align: center;
}

.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.pagination-current {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.pagination-dots {
    color: var(--text-light);
    padding: 0.6rem 0.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    display: inline-block;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 