:root {
    --primary-color: #4285f4;  /* Google Blue */
    --secondary-color: #34a853; /* Google Green */
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-color: #FFD700; /* Золотой цвет для акцентов */
    --card-bg: rgba(0, 0, 0, 0.2); /* Более темный фон для карточек */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--gradient);
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.animated-background {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    animation: float 20s infinite;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    left: -150px;
    top: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 250px;
    height: 250px;
    right: -100px;
    top: 20%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    width: 400px;
    height: 400px;
    left: 30%;
    bottom: -200px;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    width: 200px;
    height: 200px;
    right: 20%;
    top: -100px;
    animation-delay: -6s;
}

.particle:nth-child(5) {
    width: 350px;
    height: 350px;
    left: 20%;
    top: -150px;
    animation-delay: -8s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
}

.logo {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    max-width: 600px;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.fact-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.highlight {
    color: var(--text-primary); /* Белый вместо синего */
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.fact-card h2 {
    font-size: 2rem;
    margin: 1rem 0;
}

.price {
    color: var(--accent-color); /* Золотой цвет для цены */
    font-weight: 700;
}

.source-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.source-link:hover {
    color: var(--text-primary);
}

.opportunities h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.opportunity-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.2s;
    position: relative;
}

.opportunity-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color); /* Золотой цвет для номеров */
    opacity: 0.9;
}

.opportunity-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.opportunity-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
}

.button-arrow {
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .content-wrapper {
        padding: 1.5rem;
        gap: 3rem;
    }

    .hero-section {
        min-height: 40vh;
        padding: 2rem 0;
    }

    .logo {
        font-size: 3.5rem;
    }

    .opportunity-grid {
        grid-template-columns: 1fr;
    }

    .fact-card {
        padding: 1.5rem;
    }
}

.click-effect {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%);
    animation: clickEffect 0.8s ease-out forwards;
    z-index: 9999;
}

@keyframes clickEffect {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.5;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.floating-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.element {
    position: absolute;
    font-size: 3rem; /* Уменьшили базовый размер с 5rem до 3rem */
    opacity: 0.1;
    filter: blur(1px);
    animation: floatElement 25s linear infinite;
}

.book { 
    top: 15%; 
    left: 10%; 
    animation-delay: 0s; 
    font-size: 4rem; /* Уменьшили с 6.5rem */
}

.grad-cap { 
    top: 25%; 
    right: 15%; 
    animation-delay: -5s; 
    font-size: 3.8rem; /* Уменьшили с 6rem */
}

.laptop { 
    top: 45%; 
    left: 20%; 
    animation-delay: -10s; 
    font-size: 3.5rem; /* Уменьшили с 5.5rem */
}

.pencil { 
    top: 65%; 
    right: 25%; 
    animation-delay: -15s; 
    font-size: 3.7rem; /* Уменьшили с 6.2rem */
}

.backpack { 
    top: 75%; 
    left: 15%; 
    animation-delay: -7s; 
    font-size: 4rem; /* Уменьшили с 6.5rem */
}

.calculator { 
    top: 35%; 
    right: 10%; 
    animation-delay: -12s; 
    font-size: 3.6rem; /* Уменьшили с 5.8rem */
}

.globe { 
    top: 85%; 
    right: 20%; 
    animation-delay: -3s; 
    font-size: 3.8rem; /* Уменьшили с 6rem */
}

.books { 
    top: 55%; 
    left: 25%; 
    animation-delay: -8s; 
    font-size: 3.8rem; /* Уменьшили с 6rem */
}

@keyframes floatElement {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg) scale(1.1); /* Увеличили амплитуду движения */
    }
    50% {
        transform: translate(0, 100px) rotate(180deg) scale(1);
    }
    75% {
        transform: translate(-100px, 50px) rotate(270deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.opportunity-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.opportunity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.animated-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    animation: gradientMove 15s ease infinite;
    z-index: -1;
}

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

.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.logo {
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

