@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    margin: 0;
    background-color: #0e0e0e;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.grid-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(#1a1a1a 1px, transparent 1px),
                      linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* --- HERO --- */
.hero {
    padding: 300px 40px 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
}

.logo-shape {
    font-size: 270px;
    color: white;
}

.hero-content h1 {
    font-size: 96px;
    font-weight: 800;
    margin: 0 0 0px;
}

.hero-content p {
    font-size: 24px;
    opacity: 0.8;
    max-width: 500px;
    margin: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.hero-btn {
    display: inline-block;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
    cursor: pointer;
}

.hero-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}


/* ÐšÐ½Ð¾Ð¿ÐºÐ° "Ð£Ð·Ð½Ð°Ñ‚ÑŒ Ð±Ð¾Ð»ÑŒÑˆÐµ" */
.scroll-btn {
    margin-top: 80px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
    text-align: center;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 8px;
}
.scroll-btn:hover {
    background: #fff;
    color: #000;
    opacity: 1;
}

/* --- ABOUT --- */
.about {
    display: flex;
    padding: 100px 40px;
    gap: 60px;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    background: #0000004a;
}

.about-img {
    width: 450px;
    border-radius: 12px;
    object-fit: fill;
}

.about-text {
    max-width: 480px;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.about-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s;
    font-weight: 500;
}

.about-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}


/* --- MEMBERS --- */
.members {
    text-align: center;
    padding: 100px 20px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto;
}

.member-card {
    background: #161616;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.member-card img {
    width: 90px;
    border-radius: 8px;
}

.member-info h3 {
    margin: 10px 0 0;
    font-size: 16px;
}

.member-info p {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 6px;
}

.member-info a {
    display: inline-block;
    font-size: 13px;
    color: #4da3ff;
    text-decoration: none;
    transition: 0.2s;
}
.member-info a:hover {
    color: #fff;
}

/* --- COMMUNITY --- */
.community {
    text-align: center;
    padding: 80px 20px;
    background: #0000004a;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 40px auto;
}

.community-card {
    background: #161616;
    border-radius: 12px;
    padding: 20px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.community-card span {
    display: block;
    opacity: 0.5;
    font-size: 12px;
    margin-top: 4px;
}

.community-card {
    background: #161616;
    border-radius: 12px;
    padding: 18px 20px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: white;
    transition: 0.25s;
    gap: 14px;
    flex-direction: row;
}

.community-card:hover {
    background: #1f1f1f;
    transform: translateY(-3px);
}

.community-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.community-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.community-title {
    font-size: 16px;
    font-weight: 700;
}

.community-text span {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 2px;
}


/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px;
    font-size: 12px;
    opacity: 0.6;
}

/* --- ADAPTIVE --- */
@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        max-width: 100%;
    }
	
	.hero {
		padding: 40px 40px 400px;
		display: flex;
		flex-direction: column;
		text-align: left;
	}
}



/* === Ð¡ÐµÑ‚ÐºÐ° Ð²Ð¸Ð´ÐµÐ¾ === */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 15rem; /* âœ… Ð±Ð¾ÐºÐ¾Ð²Ñ‹Ðµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð¿Ð¾ 3rem */
    box-sizing: border-box;
}

/* === ÐÐ½Ð¸Ð¼Ð°Ñ†Ð¸Ñ Ð¿Ð¾ÑÐ²Ð»ÐµÐ½Ð¸Ñ Ð²Ð¸Ð´ÐµÐ¾ === */
@keyframes videoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° Ð²Ð¸Ð´ÐµÐ¾ === */
.video-card {
    display: flex;
    flex-direction: column;
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 100%;
}

.video-card {
    opacity: 0;
    transform: translateY(20px);
    animation: videoFadeIn 0.6s ease forwards;
}

/* Ð´ÐµÐ»Ð°ÐµÐ¼ Ð¿Ð»Ð°Ð²Ð½ÑƒÑŽ "ÑÑ‚ÑƒÐ¿ÐµÐ½Ñ‡Ð°Ñ‚ÑƒÑŽ" Ð·Ð°Ð´ÐµÑ€Ð¶ÐºÑƒ */
.video-card:nth-child(1) { animation-delay: 0.05s; }
.video-card:nth-child(2) { animation-delay: 0.1s; }
.video-card:nth-child(3) { animation-delay: 0.15s; }
.video-card:nth-child(4) { animation-delay: 0.2s; }
.video-card:nth-child(5) { animation-delay: 0.25s; }
.video-card:nth-child(6) { animation-delay: 0.3s; }
.video-card:nth-child(7) { animation-delay: 0.35s; }
.video-card:nth-child(8) { animation-delay: 0.4s; }
.video-card:nth-child(9) { animation-delay: 0.45s; }
.video-card:nth-child(10) { animation-delay: 0.5s; }
.video-card:nth-child(11) { animation-delay: 0.55s; }
.video-card:nth-child(12) { animation-delay: 0.60s; }
.video-card:nth-child(13) { animation-delay: 0.65s; }
.video-card:nth-child(14) { animation-delay: 0.70s; }
.video-card:nth-child(15) { animation-delay: 0.75s; }
.video-card:nth-child(16) { animation-delay: 0.80s; }
.video-card:nth-child(17) { animation-delay: 0.85s; }
.video-card:nth-child(18) { animation-delay: 0.90s; }
.video-card:nth-child(19) { animation-delay: 0.95s; }
.video-card:nth-child(20) { animation-delay: 1s; }

/* ÑÑ„Ñ„ÐµÐºÑ‚ Ð¿Ñ€Ð¸ Ð½Ð°Ð²ÐµÐ´ÐµÐ½Ð¸Ð¸ â€” Ð¿Ð»Ð°Ð²Ð½ÐµÐµ */
.video-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* === ÐŸÑ€ÐµÐ²ÑŒÑŽ Ð²Ð¸Ð´ÐµÐ¾ === */
.video-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex-shrink: 0;
}

/* === Ð˜Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ Ð¾ Ð²Ð¸Ð´ÐµÐ¾ === */
.video-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0.8rem 1rem;
    background: linear-gradient(180deg, #1c1c1c 0%, #181818 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº Ð²Ð¸Ð´ÐµÐ¾ === */
.video-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    min-height: 2.6em; /* Ñ„Ð¸ÐºÑ ÐºÐ¾Ñ€Ð¾Ñ‚ÐºÐ¸Ñ… Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ð¹ */
}

/* === ÐÐ²Ñ‚Ð¾Ñ€ (ÐºÐ°Ð½Ð°Ð») === */
.video-channel {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: auto;
}

/* === ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð² === */
@media (max-width: 600px) {
    .video-grid {
        padding: 1rem 1.2rem; /* Ñ‡ÑƒÑ‚ÑŒ Ð¼ÐµÐ½ÑŒÑˆÐµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð½Ð° Ñ‚ÐµÐ»ÐµÑ„Ð¾Ð½Ð°Ñ… */
        gap: 1rem;
    }
}

/* === ÐŸÐ°Ð½ÐµÐ»ÑŒ Ñ„Ð¸Ð»ÑŒÑ‚Ñ€Ð° === */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 10px;
    padding: 0 15rem;
    flex-wrap: wrap;
}

.filter-bar label {
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

.filter-bar select {
    background: #1c1c1c;
    color: white;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s;
}

.filter-bar select:hover {
    background: #2a2a2a;
}

@media (max-width: 600px) {
    .filter-bar {
        padding: 0 1.2rem;
    }
}

/* === Ð­Ñ„Ñ„ÐµÐºÑ‚ Ð¿Ñ€Ð¸ Ð½Ð°Ð²ÐµÐ´ÐµÐ½Ð¸Ð¸ Ð½Ð° ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÑƒ Ð²Ð¸Ð´ÐµÐ¾ === */
.video-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform-origin: center center;
}

.playlist-stats {
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #fff;
}

.home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    background: #1c1c1c;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s;
    z-index: 10;
}

.home-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.video-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.904);
    z-index: 2;
}

.hero-buttons {
    margin-top: 25px;
}

img.goosehunt_app {
    position: fixed;
    width: 70px;
    top: 850px;
    right: 50px;
    transition: transform 0.5s;
}

img.goosehunt_app:hover {
    transform: scale(1.2);
	cursor: pointer;
}

.shmyak-firework {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    transform: translate(0, 0) scale(1);
    opacity: 1;
    transition: transform 1s ease-out, opacity 1s ease-out;
    z-index: 9999;
}


/* Стили для летающих символов */
.floating-symbols {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
}

.floating-symbol {
	position: absolute;
	color: rgba(255, 255, 255, 0.15);
	font-size: 24px;
	animation: float linear infinite;
	/* Начальная позиция - за пределами экрана внизу */
	transform: translateY(100vh);
}

@keyframes float {
	0% {
		transform: translateY(100vh) rotate(0deg);
		opacity: 0;
	}
	5% {
		opacity: 0.3;
	}
	95% {
		opacity: 0.3;
	}
	100% {
		transform: translateY(-100px) rotate(360deg);
		opacity: 0;
	}
}

/* Стили для таймера обратного отсчета */
.countdown-timer {
    margin: 0px 0;
    text-align: center;
    position: fixed;
    left: 2%;
    top: 85%;
}

.countdown-timer h3 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px;
    min-width: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-unit span {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.timer-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    text-transform: lowercase;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .timer-container {
        gap: 10px;
    }
    
    .timer-unit {
        min-width: 70px;
        padding: 10px;
    }
    
    .timer-unit span {
        font-size: 1.5rem;
    }
    
    .countdown-timer h3 {
        font-size: 1rem;
    }
}