/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3a7bd5;
    --secondary-color: #00d2ff;
    --accent-color: #ff6b6b;
    --text-primary: #d6dfed;
    --text-secondary: #a2b6e1;
    --bg-primary: #0e121c;
    --bg-secondary: #1a1f2e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Profile Image */
.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
}

/* Skills Section */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-bar {
    background: var(--bg-card);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Skills percentages */
.skill-progress[data-level="85"] { width: 85%; background: var(--gradient); }
.skill-progress[data-level="80"] { width: 80%; background: var(--gradient); }
.skill-progress[data-level="45"] { width: 45%; background: linear-gradient(45deg, #4ecdc4, #00d2ff); }
.skill-progress[data-level="30"] { width: 30%; background: linear-gradient(45deg, #fbff00, #00d2ff); }
.skill-progress[data-level="15"] { width: 15%; background: linear-gradient(45deg, #ff5100, #ffd93d); }
.skill-progress[data-level="2"] { 
    width: 2%; 
    min-width: 10px;
    background: linear-gradient(45deg, #ff0000, #ffa600);
}
.skill-progress[data-level="40"] { width: 40%; background: linear-gradient(45deg, #ffa500, #4ecdc4); }
.skill-progress[data-level="50"] { width: 50%; background: linear-gradient(45deg, #ffd93d, #4ecdc4); }
.skill-progress[data-level="60"] { width: 60%; background: linear-gradient(45deg, #3dfff5, #4ecdc4); }
.skill-progress[data-level="10"] { width: 10%; background: linear-gradient(45deg, #ff8b3d, #cdab4e); }
/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn.active::before,
.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active,
.filter-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: scale(1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Project Placeholders with Different Colors */
.project-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .project-placeholder {
    transform: scale(1.05);
}

.task-tracker { background: linear-gradient(45deg, #667eea, #764ba2); }
.calotrack { background: linear-gradient(45deg, #f093fb, #f5576c); }
.trigger { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.shop { background: linear-gradient(45deg, #43e97b, #38f9d7); }
.css { background: linear-gradient(45deg, #fa709a, #fee140); }

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(58, 123, 213, 0.2);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid rgba(58, 123, 213, 0.3);
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.portfolio-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Loading States */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    position: relative;
    padding: 1rem 2.5rem 1rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-message {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.close-message:hover {
    background: rgba(255, 255, 255, 0.1);
}

.form-success {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid #2e7d32;
    color: #4caf50;
}

.form-error {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid #d32f2f;
    color: #f44336;
}

/* Footer Styles */
footer {
    position: relative;
    background: linear-gradient(180deg, #0a0e1a 0%, #151a2d 100%);
    padding: 60px 20px 30px;
    margin-top: auto;
    overflow: hidden;
}

/* Animated Waves */
.waves {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    transform: scaleY(-1);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230e121c"/></svg>');
    background-size: 50% 100px;
    animation: wave 10s linear infinite;
}

.wave1 {
    animation-duration: 10s;
    opacity: 0.7;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23151a2d"/></svg>');
    background-size: 50% 100px;
}

.wave2 {
    animation-duration: 8s;
    opacity: 0.5;
    animation-delay: -2s;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23151a2d"/></svg>');
    background-size: 50% 100px;
}

.wave3 {
    animation-duration: 12s;
    opacity: 0.3;
    animation-delay: -4s;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23151a2d"/></svg>');
    background-size: 50% 100px;
}

.wave4 {
    animation-duration: 15s;
    opacity: 0.1;
    animation-delay: -6s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer Content */
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Social Icons in Footer */
.socials {
    display: flex;
    gap: 15px;
    list-style: none;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
}

/* Contact Info in Footer */
.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info-footer i {
    width: 20px;
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.credit {
    color: var(--primary-color) !important;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(14, 18, 28, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        max-width: 300px;
    }
    
    .waves {
        top: -50px;
        height: 50px;
    }
    
    .wave {
        height: 50px;
        background-size: 50% 50px;
    }
    
    .socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading animation for page */
.page-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-loaded {
    opacity: 1;
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);

}

/* Disabled project state */
.portfolio-item.disabled-project {
    position: relative;
    filter: grayscale(0.8) brightness(0.6);
    opacity: 0.85;
    transition: all 0.3s ease;
    pointer-events: auto; /* Оставляем элементы интерактивными */
}

.portfolio-item.disabled-project:hover {
    filter: grayscale(0.6) brightness(0.7);
    opacity: 0.95;
    transform: translateY(-5px);
}

.portfolio-item.disabled-project .portfolio-links {
    pointer-events: auto; /* Гарантируем, что кнопки остаются кликабельными */
}

.portfolio-item.disabled-project .portfolio-links a {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    backdrop-filter: blur(4px);
}

.portfolio-item.disabled-project .portfolio-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-item.disabled-project .disabled-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    pointer-events: none; /* Позволяет кликать сквозь оверлей на кнопки */
}

.portfolio-item.disabled-project .disabled-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #ffaa00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 170, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; background: rgba(20, 20, 20, 0.8); }
}

/* Для мобильных устройств - чуть меньше бейдж */
@media (max-width: 768px) {
    .portfolio-item.disabled-project .disabled-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Removed project state - юридические причины */
.portfolio-item.removed-project {
    position: relative;
    opacity: 0.9;
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.portfolio-item.removed-project:hover {
    opacity: 1;
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
}

.portfolio-item.removed-project .portfolio-image .project-placeholder {
    position: relative;
    overflow: hidden;
}

.portfolio-item.removed-project .portfolio-image .project-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(180, 0, 0, 0.15);
    pointer-events: none;
}

.portfolio-item.removed-project .portfolio-tech span {
    background: rgba(255, 0, 0, 0.1);
    color: #ff8a8a;
    border-color: rgba(255, 0, 0, 0.2);
}

.portfolio-item.removed-project .portfolio-links {
    pointer-events: auto;
}

.portfolio-item.removed-project .portfolio-links a {
    position: relative;
    z-index: 5;
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ffaaaa;
}

.portfolio-item.removed-project .portfolio-links a:hover {
    background: #d32f2f;
    border-color: #ff8a8a;
    color: white;
}

.portfolio-item.removed-project .removed-badge {
    position: absolute;
    top: 15px;
    left: 40px;
    z-index: 10;
    display: inline-block;
    background: rgba(180, 40, 40, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 200, 200, 0.3);
    pointer-events: none;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
}

/* Тонкое красное свечение только при наведении */
.portfolio-item.removed-project:hover::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: rgba(255, 0, 0, 0.05);
    pointer-events: none;
    z-index: 0;
    border-radius: 15px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .portfolio-item.removed-project .removed-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 10px;
        left: 10px;
    }
}
