/*!
Theme Name: hakaton
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hakaton
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hakaton is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page {
    flex-grow: 1;
    padding-top: 82px;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #a59f9f;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #800080;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #e34ca1;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

@font-face { 
  font-family: 'Vivl Rail'; 
  src: url('/wp-content/themes/hakaton/fonts/vivl-rail.otf');
}
 /* =========================================================
   1. VARIABLES
========================================================= */
:root {
    --c-bg-dark: #0c056d;
    --c-accent-1: #590d82;
    --c-accent-2: #b61aae;
    --c-accent-cta: #f25d9c;
    --c-muted: #c7c7d9;
}

/* =========================================================
   2. BASE
========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Vivl Rail", system-ui, sans-serif;
    background: radial-gradient(circle at top left, #590d82 0, #0c056d 40%, #05022f 100%);
    line-height: 1.5;
}

a {text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.href {text-decoration: none;}
footer {flex-shrink: 0;}
.nav-links {display: none !important;}
/* =========================================================
   3. ANIMATIONS
========================================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 12px rgba(242,93,156,0.4); }
    50% { box-shadow: 0 0 22px rgba(242,93,156,0.9); }
    100% { box-shadow: 0 0 12px rgba(242,93,156,0.4); }
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

@keyframes heroGlow {
    0% { box-shadow: 0 0 20px rgba(182,26,174,0.3); }
    50% { box-shadow: 0 0 40px rgba(242,93,156,0.55); }
    100% { box-shadow: 0 0 20px rgba(182,26,174,0.3); }
}

@keyframes pixelWave {
    0% {opacity: 0;   transform: scale(0.2);    }
    20% {opacity: 1; transform: scale(1);    }
    70% { opacity: 1; transform: scale(1.8);    }
    100% { opacity: 0; transform: scale(2.4);    }
}

/* =========================================================
   4. GLOBAL SECTIONS
========================================================= */
section {
    padding: 40px 0;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }
section:nth-of-type(6) { animation-delay: 0.6s; }

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.section-subtitle {
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: 24px;
}

.btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 999px;
            border: 1px solid transparent;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.25s ease;
            background: transparent;
            color: #fff;
            cursor: pointer;
        }
.btn-primary {
            background: linear-gradient(135deg, var(--c-accent-cta), var(--c-accent-2));
            box-shadow: 0 0 18px rgba(242, 93, 156, 0.5);
        }

.btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 26px rgba(242, 93, 156, 0.8);
        }

.btn-outline {
            border-color: rgba(255, 255, 255, 0.3);
            color: #fff;
        }

.btn-outline:hover {
            background: rgba(255, 255, 255, 0.06);
        }
.btn {
        padding: 10px 20px;
        font-size: 14px;
    }

.btn-primary {
        width: 100%;
        justify-content: center;
    }
    
.btn-disabled {
            opacity: 0.5;
            border-color: rgba(255, 255, 255, 0.2);
        }
.btn-primary {
    animation: pulseGlow 2.5s infinite ease-in-out;
}
/* =========================================================
   5. HEADER
========================================================= */
header { padding: 20px 0; }

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

.header-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo {
    height: 42px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: 0.25s;
}

.header-logo:hover { opacity: 1; }

.logo-text {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--c-muted);
}

.header-menu {
    display: flex;
    gap: 28px;
    align-items: center;
    white-space: nowrap;
}

.header-menu a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--c-accent-cta);
}

.header-cta {
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-accent-cta), var(--c-accent-2));
}

/* =========================================================
   6. HERO
========================================================= */
.hero { padding: 0 0 80px; }

.hero-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    color: #fff;
}

.hero-title {
    font-family: "Vivl Rail";
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 32px;
    line-height: 1.1;
}

/* Эффект печатающей машинки */
.typing-text {
    position: relative;
    display: inline-block;
    color: var(--c-accent-cta); /* или любой нужный цвет */
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -4px;
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-visual {
    border-radius: 24px;
    padding: 24px;
    background: radial-gradient(circle at top, rgba(242, 93, 156, 0.25), transparent 60%),
                linear-gradient(145deg, rgba(89, 13, 130, 0.9), rgba(12, 5, 109, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
        }
        
.hero-visual {
    animation: heroGlow 6s infinite ease-in-out;
}
.hero-subtitle {
    font-size: 20px;
    color: var(--c-accent-cta);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 16px;
    color: var(--c-muted);
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-deadline {
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.hero-meta {
        text-align: center;
        font-size: 12px;}
/* =========================================================
   7. ABOUT
========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}

/* =========================================================
   8. STAGES (TIMELINE)
========================================================= */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.timeline-horizontal::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent-cta), var(--c-accent-2));
    opacity: 0.6;
}

.timeline-step {
    width: 33%;
    text-align: center;
    animation: fadeUp 0.8s ease forwards;
}

.step-dot {
    width: 16px;
    height: 16px;
    background: var(--c-accent-cta);
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 0 12px rgba(242,93,156,0.8);
    animation: pulseDot 2s infinite ease-in-out;
}

.step-title, .step-date {color: #fff;}

/* =========================================================
   9. TRACKS
========================================================= */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.track-card {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(242,93,156,0.18), transparent 55%),
                linear-gradient(145deg, rgba(89,13,130,0.9), rgba(12,5,109,0.9));
    border: 1px solid rgba(255,255,255,0.12);
    animation: cardFadeUp 0.7s ease forwards;
    transition: 0.35s ease;
    color: #fff;
}

.track-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(242,93,156,0.35);
}

.track-lock {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    opacity: 0.8;
    color: #fff;
    filter: drop-shadow(0 0 6px rgba(242,93,156,0.6));
    transition: 0.25s;
}

.track-card:hover .track-lock {
    opacity: 1;
    transform: scale(1.1);
}

.track-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}
    
.track-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
        }
.track-note {
    font-size: 12px;
    color: var(--c-muted);
}

/* Модальное окно */
.track-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 47, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 9999;
}

.track-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.track-modal-content {
    background: linear-gradient(145deg, rgba(89,13,130,0.9), rgba(12,5,109,0.9));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 24px 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 0 22px rgba(242,93,156,0.45);
    animation: cardFadeUp 0.5s ease;
    position: relative;
}

.track-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.track-modal-text {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.5;
}

/* Кнопка закрытия */
.track-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.25s;
}

.track-modal-close:hover {
    opacity: 1;
}
.track-more-btn {
    display: block;
    margin: 12px auto 0; /* центрирование */
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--c-accent-cta), var(--c-accent-2));
    color: #fff;
    border: none;
    transition: 0.3s ease;
    box-shadow: 0 0 14px rgba(242, 93, 156, 0.45);
}

.track-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 22px rgba(242, 93, 156, 0.75);
}
/* =========================================================
   10. NOMINATIONS
========================================================= */
.nominations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.nomination-card {
    padding: 22px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(242,93,156,0.18), transparent 55%),
                linear-gradient(145deg, rgba(89,13,130,0.9), rgba(12,5,109,0.9));
    border: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    cursor: pointer;
    animation: cardFadeUp 0.7s ease forwards;
    transition: 0.35s;
    color: #fff;
}

.nomination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(242,93,156,0.35);
}

.nom-icon {
    font-size: 52px;
    margin-bottom: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.nomination-card:hover .nom-icon {
    transform: scale(1.15) rotate(6deg);
}
.nom-icon svg {
    width: 42px;
    height: 42px;
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(242, 93, 156, 0.6));
}
/* Заголовок */
.nom-title {
    font-size: 16px;
    font-weight: 600;
}

/* =========================================================
   11. PARTNERS
========================================================= */
.partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner-placeholder {
    width: 140px;
    height: 60px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--c-muted);
}


/* =========================================================
   12. Эксперты
========================================================= */
/* Сетка экспертов */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

/* Карточка эксперта */
.expert-card {
    padding: 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(242, 93, 156, 0.18), transparent 55%),
                linear-gradient(145deg, rgba(89, 13, 130, 0.9), rgba(12, 5, 109, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    animation: cardFadeUp 0.7s ease forwards;
    opacity: 0;
    transition: 0.35s ease;
}

/* Фото */
.expert-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 0 14px rgba(242, 93, 156, 0.35);
}

/* Имя */
.expert-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

/* Должность */
.expert-role {
    font-size: 13px;
    color: var(--c-muted);
}

/* Hover */
.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(242, 93, 156, 0.35);
}



/* =========================================================
   13. DOCUMENTS
========================================================= */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.doc-item {
        display: grid;
        grid-template-columns: 30% 1fr;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

.doc-name {
        font-size: 14px;
        color: #fff;
    }

.doc-meta {
        font-size: 12px;
            color: var(--c-muted);
    }

.doc-item .btn-outline {
        width: 100%;
        text-align: center;
    }


/* =========================================================
   14. FOOTER
========================================================= */
footer {
    padding: 24px 0 32px;
    font-size: 12px;
    color: var(--c-muted);
    text-align: center;
}

/* =========================================================
   15. PIXEL ANIMATION
========================================================= */
/* Контейнер фона */
.sliding-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Точка сетки */
.pixel {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    opacity: 0.4;
}

/* Волна — деформация точки */
@keyframes wavePulse {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.4;
    }
    40% {
        transform: translate3d(var(--wave-x), var(--wave-y), 0) scale(1.6);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.4;
    }
}
/* =========================================================
   16. fix header
========================================================= */

/* Фиксированный header при скролле */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Когда прилипает */
.site-header.scrolled {
    position: fixed;
    background: rgba(12, 5, 109, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.site-header {
    animation: none !important;
}    
    
/* =========================================================
   17. ADAPTIVE
========================================================= */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .about-grid, .tracks-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-visual {  order: -1;  }
    .experts-grid {grid-template-columns: repeat(2, 1fr);  }
}



@media (max-width: 1200px) {
    .header-menu {display: none;}
    .header-logo { height: 32px; }
    .tracks-grid, .about-grid, .nominations-grid { grid-template-columns: 1fr; }
    .timeline-horizontal { flex-direction: column; gap: 32px; }
    .timeline-horizontal::before { display: none; }
    .experts-grid {grid-template-columns: 1fr;    }

}

@media (max-width: 480px) {
    .hero-title { font-size: 24px; text-align: center; }
    .hero-subtitle, .hero-desc { text-align: center; }
    .track-title { text-align: center; }
    .hero-visual {padding: 16px;border-radius: 16px;    }
}

/* =========================================================
   18. MOBILE MENU
========================================================= */
.mobile-menu-btn {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu {
    z-index: 10;
    position: fixed;
    inset: 0;
    background: rgba(12,5,109,0.92);
    backdrop-filter: blur(8px);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
    transform: translateY(-100%);
    transition: 0.45s ease;
}

.mobile-menu.active { transform: translateY(0); }
.mobile-menu {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 640px) {
    .header-menu {display: none;}
    .mobile-menu-btn { display: flex; }
}
/* =========================================================
   18. page-account
========================================================= */
.neon-icon {
    vertical-align: bottom;
    display: inline-block;
}
.neon-icon path {
    fill: #ffffff;
    filter: drop-shadow(0 0 4px #f25d9c)
            drop-shadow(0 0 8px #f25d9c)
            drop-shadow(0 0 12px #b61aae);
    transition: 0.3s ease;
}

.neon-icon:hover path {
    filter: drop-shadow(0 0 6px #ff7abf)
            drop-shadow(0 0 14px #ff7abf)
            drop-shadow(0 0 22px #b61aae);
    transform: scale(1.05);
}
.form_reg {color: #fff;}
.form_acf {background: #fff;
    padding-bottom: 30px;}

.table {border-collapse: collapse;  width: 100%; white-space: nowrap; margin: 24px 0 24px; text-align: center;}
.table td, .table th {border: 1px solid #fff;}
.tr_post {background: #847f9059; color: #fff;}
.tr_post:hover {background-color: #282c623b;cursor: pointer;}
.table th {padding-top: 12px; padding-bottom: 12px; background-color: #7c5cbf45; color: #fff;}
.table_title {background: #00515685; font-weight: 700; text-align: center; color: #ffffff;}
thead{z-index: 1;}
thead tr th {text-align: center; }
.report_btn {
    display: inline-block;
    padding: 12px 24px;
    margin-left: 20px;

    
    background: linear-gradient(135deg, var(--c-accent-cta), var(--c-accent-2));
    color: #fff;

    border: none;
    border-radius: 999px;
    
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.25s ease;
}

.report_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #6a4bb0, #8d6fd5);
}

.report_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}



/* Контейнер фильтров */
.report-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-end;
}


#reportResult {
    display: flex;
    align-items: center;
}

/* Один фильтр */
.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #cb32a7;
}

/* Красивый select */
.filter-item select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    min-width: 180px;
    cursor: pointer;
}


.work-title {
    font-size: 28px;
    margin-bottom: 25px;
    color: #ff00e8;
    border-bottom: 3px solid #7c5cbf;
    padding-bottom: 12px;
    text-align: center;
}
    
.info-grid {
    margin-bottom: 30px; text-align: center;}
    
.info-item {
    color: #fff;
}

.acf-form, .acf-ui-datepicker, .account {font-family: 'Nunito';}
.acf-form, .acf-ui-datepicker, .acf-field {color: #000;}
.acf-field input[type=text] {color: #000;}
.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {color: #000;}

.material-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

.btn-work {
   background: linear-gradient(135deg, var(--c-accent-cta), var(--c-accent-2));
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 14px rgba(124, 92, 191, 0.35);
    transition: transform .2s, box-shadow .2s !important;
}

.btn-work:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 92, 191, 0.45) !important;
}

.spec_blok {margin-top: 30px; display: grid; justify-items: center; border-bottom: 3px solid #7c5cbf; padding-bottom: 12px;}
.title_uch {color: #fff; text-align: center; margin-bottom: 10px;}
.fio_uch {display: grid; grid-template-columns: 1fr; text-align: center;}
.fio_uch .info-item {font-family: 'Nunito';    font-size: 20px;}
.spec_blok .info-item {font-family: 'Nunito';    font-size: 20px;}
.spec_blok .btn-work {width: fit-content; margin-top: 10px;}

a:visited {color: #fff;
    text-decoration: none;}
    
.doc-item { 
    display: grid;
    grid-template-columns: 30% 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.href:hover {color: var(--c-accent-cta);}

