/* ================================
   БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #10b981;
    --light: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--light);
    font-size: 16px;
    transition: var(--transition);
}

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

/* ================================
   СОВРЕМЕННАЯ ТЕМА (по умолчанию)
   ================================ */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo i {
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.1em;
}

.logo-sub {
    font-size: 0.7em;
    color: var(--gray);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
}

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
    transition: var(--transition);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--secondary);
}

.hero-name {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.position-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.position-badge {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.position-badge.secondary {
    background-color: var(--accent);
}

.hero-highlight {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.section {
    padding: 80px 0;
    transition: var(--transition);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
    transition: var(--transition);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    transition: var(--transition);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 700px;
    transition: var(--transition);
}

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

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    transition: var(--transition);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.skill-tag {
    background-color: #e0f2fe;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tag.highlight {
    background-color: #d1fae5;
    color: #065f46;
}

.experience-years {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.years-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    transition: var(--transition);
}

.years-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-top: 10px;
    transition: var(--transition);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.experience-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.experience-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.experience-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--secondary);
    transition: var(--transition);
}

.experience-company {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.experience-role {
    color: var(--gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

.experience-list {
    list-style-type: none;
    flex-grow: 1;
}

.experience-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: var(--dark-gray);
    transition: var(--transition);
}

.experience-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    transition: var(--transition);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    transition: var(--transition);
}

.tech-tag {
    background-color: #f1f5f9;
    color: var(--dark-gray);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.skill-category h3 i {
    color: var(--primary);
    transition: var(--transition);
}

.skill-level {
    margin-bottom: 20px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-bar {
    height: 8px;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.skill-progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-section {
    background-color: var(--secondary);
    color: white;
    transition: var(--transition);
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background-color: var(--accent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.contact-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-text p {
    color: #cbd5e1;
    transition: var(--transition);
}

.contact-text a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent);
}

.career-goals {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.career-goals h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.career-goals p {
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 15px;
    text-align: center;
    transition: var(--transition);
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

footer {
    background-color: #0a0f1c;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    transition: var(--transition);
}

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

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    margin-top: 30px;
    width: 100%;
    font-size: 0.9rem;
    transition: var(--transition);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #ef4444;
}

/* ================================
   РЕТРО ТЕМА (2000-е годы) - BBS СТИЛЬ
   ================================ */
body.retro-theme {
    background-color: #000000;
    background-image: none;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    font-size: 14px;
    line-height: 1.2;
    margin: 10px;
}

.retro-theme .container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #00ff00;
    background-color: #000000;
    padding: 10px;
}

.retro-theme header {
    background-color: #000000;
    color: #00ff00;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    border: 2px solid #00ff00;
    box-shadow: none;
}

.retro-theme .logo {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #00ff00;
    text-decoration: none;
    animation: blink 1s infinite;
    white-space: pre;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.retro-theme .logo i {
    display: none;
}

.retro-theme .logo-text {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.retro-theme .logo-main {
    font-size: 1.2em;
    animation: blink 0.5s infinite;
    margin: 5px 0;
}

.retro-theme .logo-sub {
    font-size: 0.9em;
    color: #00ff00;
    animation: blink 1s infinite;
}

.retro-theme .nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.retro-theme .nav-links a {
    background-color: #000000;
    color: #00ff00;
    padding: 3px 8px;
    text-decoration: none;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    animation: blink 2s infinite;
}

.retro-theme .nav-links a:hover {
    color: #ffffff;
    background-color: #008000;
    animation: none;
}

.retro-theme .hero {
    padding: 20px 0;
    background: #000000;
    text-align: center;
    border: 1px dashed #00ff00;
    margin-bottom: 20px;
}

.retro-theme .hero h1 {
    font-size: 20px;
    color: #ffff00;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    animation: blink 1.5s infinite;
    border: 1px solid #00ff00;
    padding: 5px;
    display: inline-block;
}

.retro-theme .hero-name {
    font-size: 18px;
    color: #00ffff;
    background-color: #000000;
    padding: 3px;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px dotted #00ff00;
    animation: blink 0.7s infinite;
}

.retro-theme .hero-subtitle {
    font-size: 16px;
    color: #ff00ff;
    margin-bottom: 15px;
    font-weight: bold;
    animation: blink 2s infinite;
}

.retro-theme .hero-tagline {
    font-size: 14px;
    color: #00ff00;
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: #001100;
    padding: 10px;
    border: 1px solid #008800;
    text-align: left;
}

.retro-theme .position-badges {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.retro-theme .position-badge {
    background-color: #000000;
    color: #ffff00;
    padding: 3px 10px;
    border-radius: 0;
    border: 1px solid #ffff00;
    font-weight: normal;
    font-size: 12px;
    width: 80%;
    animation: blink 1.2s infinite;
}

.retro-theme .position-badge.secondary {
    background-color: #000000;
    color: #ff0000;
    border-color: #ff0000;
    animation: blink 0.8s infinite;
}

.retro-theme .hero-highlight {
    background-color: #000000;
    color: #ffff00;
    padding: 3px 8px;
    border-radius: 0;
    font-weight: bold;
    font-size: 13px;
    margin-top: 10px;
    border: 1px solid #ffff00;
    animation: blink 0.9s infinite;
    display: inline-block;
}

.retro-theme .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.retro-theme .btn {
    padding: 6px 15px;
    border-radius: 0;
    font-weight: normal;
    border: 1px solid #00ff00;
    background-color: #000000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    animation: blink 1.5s infinite;
}

.retro-theme .btn-primary {
    background-color: #000000;
    color: #ffff00;
    border-color: #ffff00;
    animation: blink 1s infinite;
}

.retro-theme .btn-outline {
    background-color: #000000;
    color: #ff0000;
    border-color: #ff0000;
    animation: blink 0.7s infinite;
}

.retro-theme .btn:hover {
    transform: none;
    box-shadow: none;
    animation: none;
    background-color: #00aa00;
    color: #ffffff;
}

.retro-theme .section {
    padding: 20px 0;
    border-top: 1px solid #00ff00;
    border-bottom: 1px solid #00ff00;
    margin: 10px 0;
}

.retro-theme .section-title {
    font-size: 18px;
    color: #ffff00;
    padding-bottom: 5px;
    border-bottom: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    animation: blink 1.2s infinite;
}

.retro-theme .section-title::after {
    display: none;
}

.retro-theme .section-subtitle {
    font-size: 13px;
    color: #00ff00;
    margin-bottom: 20px;
    background-color: #001100;
    padding: 8px;
    border: 1px solid #008800;
}

.retro-theme .about-content {
    grid-template-columns: 1fr;
    gap: 15px;
}

.retro-theme .about-text h3 {
    font-size: 16px;
    color: #00ffff;
    background-color: #000000;
    padding: 5px;
    border-left: 3px solid #ff0000;
    margin-bottom: 10px;
    animation: blink 1.5s infinite;
}

.retro-theme .about-text p {
    color: #00ff00;
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.3;
    font-size: 13px;
}

.retro-theme .skills-tags {
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.retro-theme .skill-tag {
    background-color: #001100;
    color: #00ff00;
    padding: 2px 6px;
    border-radius: 0;
    border: 1px dotted #008800;
    font-size: 11px;
    margin: 2px;
    animation: blink 2s infinite;
}

.retro-theme .skill-tag.highlight {
    background-color: #110000;
    color: #ff0000;
    border-color: #ff0000;
    animation: blink 0.8s infinite;
}

.retro-theme .experience-years {
    background-color: #000000;
    border: 2px solid #00ff00;
    box-shadow: none;
    padding: 15px;
    margin-top: 10px;
}

.retro-theme .years-number {
    font-size: 40px;
    color: #ff0000;
    font-family: 'Courier New', monospace;
    animation: blink 0.5s infinite;
}

.retro-theme .years-text {
    color: #00ff00;
    font-size: 14px;
    animation: blink 1s infinite;
}

.retro-theme .experience-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.retro-theme .experience-card {
    background-color: #001100;
    border: 1px solid #00ff00;
    box-shadow: none;
    padding: 10px;
}

.retro-theme .experience-card:hover {
    transform: none;
    box-shadow: none;
    background-color: #002200;
    border-color: #ffff00;
}

.retro-theme .experience-header {
    border-bottom: 1px dashed #00ff00;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.retro-theme .experience-title {
    font-size: 14px;
    color: #ffff00;
    animation: blink 1.3s infinite;
}

.retro-theme .experience-company {
    color: #00ffff;
    font-size: 13px;
    animation: blink 1.7s infinite;
}

.retro-theme .experience-role {
    color: #00ff00;
    font-size: 11px;
}

.retro-theme .experience-list {
    margin-bottom: 10px;
}

.retro-theme .experience-list li {
    color: #00ff00;
    font-size: 12px;
    padding-left: 15px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.retro-theme .experience-list li::before {
    content: '>';
    color: #ff0000;
    animation: blink 0.6s infinite;
}

.retro-theme .tech-stack {
    border-top: 1px dotted #00ff00;
    padding-top: 8px;
    margin-top: 8px;
}

.retro-theme .tech-tag {
    background-color: #000000;
    color: #00ffff;
    padding: 1px 4px;
    border: 1px solid #00ffff;
    font-size: 10px;
    margin: 1px;
}

.retro-theme .skills-container {
    grid-template-columns: 1fr;
    gap: 10px;
}

.retro-theme .skill-category {
    background-color: #001100;
    border: 1px solid #00ff00;
    box-shadow: none;
    padding: 10px;
}

.retro-theme .skill-category h3 {
    font-size: 14px;
    color: #ffff00;
    background-color: #000000;
    padding: 5px;
    border-bottom: 1px solid #00ff00;
    margin-bottom: 10px;
    animation: blink 1.4s infinite;
}

.retro-theme .skill-category h3 i {
    color: #ff0000;
}

.retro-theme .skill-name span:first-child {
    color: #00ff00;
    font-weight: bold;
    font-size: 12px;
}

.retro-theme .skill-name span:last-child {
    color: #00ffff;
    font-style: italic;
    font-size: 11px;
}

.retro-theme .skill-bar {
    background-color: #003300;
    height: 8px;
    border: 1px solid #00ff00;
}

.retro-theme .skill-progress {
    background-color: #00ff00;
}

.retro-theme .contact-section {
    background-color: #000000;
    color: #00ff00;
    border: 2px solid #00ff00;
    margin-top: 20px;
}

.retro-theme .contact-section .section-title {
    color: #ffff00;
    border-bottom: 1px solid #00ff00;
    animation: blink 0.8s infinite;
}

.retro-theme .contact-content {
    grid-template-columns: 1fr;
    gap: 15px;
}

.retro-theme .contact-item {
    background-color: #001100;
    padding: 8px;
    border: 1px dashed #00ff00;
    margin-bottom: 5px;
}

.retro-theme .contact-icon {
    background-color: #000000;
    color: #ffff00;
    width: 30px;
    height: 30px;
    font-size: 14px;
    border: 1px solid #00ff00;
    animation: blink 1.2s infinite;
}

.retro-theme .contact-text h4 {
    color: #ffff00;
    font-size: 13px;
    animation: blink 1.5s infinite;
}

.retro-theme .contact-text p {
    color: #00ff00;
    font-size: 12px;
}

.retro-theme .contact-text a {
    color: #00ffff;
    text-decoration: underline;
    animation: blink 2s infinite;
}

.retro-theme .contact-text a:hover {
    color: #ffffff;
    animation: none;
}

.retro-theme .career-goals {
    background-color: #000000;
    border-left: 4px solid #ff0000;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ff0000;
}

.retro-theme .career-goals h4 {
    color: #ff0000;
    animation: blink 0.7s infinite;
}

.retro-theme .career-goals p {
    font-size: 12px;
    color: #00ff00;
}

.retro-theme .contact-form {
    background-color: #001100;
    border: 2px inset #00ff00;
    padding: 15px;
}

.retro-theme .form-group label {
    color: #ffff00;
    font-size: 12px;
    margin-bottom: 5px;
    animation: blink 1.3s infinite;
}

.retro-theme .form-control {
    background-color: #000000;
    border: 1px inset #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 5px 8px;
}

.retro-theme .form-control:focus {
    outline: 2px solid #ffff00;
    background-color: #002200;
}

.retro-theme textarea.form-control {
    min-height: 80px;
}

.retro-theme .form-note {
    font-size: 11px;
    color: #008800;
    margin-top: 10px;
}

.retro-theme .form-note a {
    color: #ffff00;
    animation: blink 1s infinite;
}

.retro-theme footer {
    background-color: #000000;
    color: #008800;
    border-top: 2px solid #00ff00;
    padding: 20px 0;
    margin-top: 20px;
}

.retro-theme .footer-links {
    justify-content: center;
    flex-wrap: wrap;
}

.retro-theme .footer-links a {
    color: #00ff00;
    font-size: 12px;
    animation: blink 1.5s infinite;
}

.retro-theme .copyright {
    color: #008800;
    font-size: 11px;
    margin-top: 15px;
    animation: blink 2s infinite;
}

.retro-theme .mobile-menu-btn {
    color: #00ff00;
    border: 1px solid #00ff00;
    background-color: #000000;
}

/* ================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЕМ
   ================================ */
.theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.retro-theme .theme-switcher {
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    border: 2px solid #00ff00;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    background: #f1f5f9;
    color: #64748b;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    background: var(--primary);
    color: white;
}

.retro-theme .theme-btn {
    background: #001100;
    color: #00ff00;
    border: 1px solid #00ff00;
}

.retro-theme .theme-btn.active {
    background: #00ff00;
    color: #000000;
    animation: blink 0.5s infinite;
}

.theme-timer {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.retro-theme .theme-timer {
    color: #00ff00;
    animation: blink 1s infinite;
}

.auto-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #10b981;
    color: white;
    margin-left: 5px;
}

.auto-toggle-btn:hover {
    background: #0da271;
    transform: scale(1.1);
}

.auto-toggle-btn.off {
    background: #ef4444;
}

.retro-theme .auto-toggle-btn {
    background: #008800;
    color: #ffffff;
    border: 1px solid #00ff00;
}

.retro-theme .auto-toggle-btn.off {
    background: #880000;
}

/* ================================
   АДАПТИВНОСТЬ
   ================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .retro-theme .hero h1 {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }

    .retro-theme .nav-links.active {
        background-color: #000000;
        border: 2px solid #00ff00;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .retro-theme .hero h1 {
        font-size: 16px;
    }

    .hero-name {
        font-size: 1.5rem;
    }

    .retro-theme .hero-name {
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .retro-theme .hero-subtitle {
        font-size: 14px;
    }

    .position-badges {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .retro-theme .section-title {
        font-size: 16px;
    }

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

    .logo-text {
        display: none;
    }

    .theme-switcher {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 200px;
    }

    .theme-btn,
    .theme-timer,
    .auto-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .logo-mobile {
        display: none;
    }
}