@charset "utf-8";
/* CSS Document */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #20978a;
            --secondary-color: #00859d;
            --accent-color: #d92c29;
            --highlight-color: #f2bf0c;
            --border-color: rgba(255, 255, 255, 0.1);
            --service-bg: rgba(32, 151, 138, 0.15);
            --animation-duration: 0.4s;
            --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --discount-color: #27ae60;
            --text-color: #ffffff;
            --bg-dark: #0a0a14;
            --card-bg: rgba(10, 10, 20, 0.8);
        }

        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
            background: var(--bg-dark);
            color: var(--text-color);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Неоновый фон */
        .shapes-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            perspective: 1000px;
        }

        .shape {
            position: absolute;
            opacity: 0.85;
            animation: float 15s infinite ease-in-out;
            filter: blur(1px);
            transform-style: preserve-3d;
        }

        .shape-1 {
            top: 5%;
            left: 5%;
            width: 450px;
            height: 450px;
            background: linear-gradient(135deg, #1a1a2e 0%, #0a0a14 70%);
            clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
                       inset 0 0 30px rgba(0, 255, 255, 0.15);
            animation-delay: 0s;
            z-index: 4;
        }

        .shape-2 {
            top: 50%;
            right: 5%;
            width: 500px;
            height: 500px;
            background: linear-gradient(225deg, #16213e 0%, #0a0a14 70%);
            clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
            box-shadow: 0 0 35px rgba(255, 0, 255, 0.5),
                       inset 0 0 30px rgba(255, 0, 255, 0.15);
            animation-delay: -5s;
            z-index: 3;
        }

        .shape-3 {
            bottom: 10%;
            left: 15%;
            width: 400px;
            height: 400px;
            background: linear-gradient(45deg, #1e1e2e 0%, #0a0a14 70%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%);
            box-shadow: 0 0 28px rgba(0, 200, 255, 0.5),
                       inset 0 0 25px rgba(0, 200, 255, 0.15);
            animation-delay: -10s;
            z-index: 2;
        }

        .shape-4 {
            top: 15%;
            right: 20%;
            width: 380px;
            height: 380px;
            background: linear-gradient(315deg, #1c1c28 0%, #0a0a14 70%);
            clip-path: polygon(0 30%, 30% 0, 100% 0, 100% 100%, 0 100%);
            box-shadow: 0 0 32px rgba(255, 50, 50, 0.5),
                       inset 0 0 28px rgba(255, 50, 50, 0.15);
            animation-delay: -7s;
            z-index: 5;
        }

        .shape-5 {
            top: 30%;
            left: 25%;
            width: 420px;
            height: 420px;
            background: linear-gradient(170deg, #1c1c3e 0%, #0a0a24 70%);
            clip-path: polygon(0 40%, 40% 0, 100% 20%, 80% 100%, 20% 100%);
            box-shadow: 0 0 35px rgba(50, 255, 50, 0.5),
                       inset 0 0 30px rgba(50, 255, 50, 0.15);
            animation-delay: -2s;
            z-index: 1;
        }

        /* Электрические эффекты */
        .electric-effect {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.4;
        }

        .electric-line {
            position: absolute;
            background: linear-gradient(90deg, 
                transparent,
                rgba(0, 255, 255, 0.9),
                rgba(0, 255, 255, 0.7),
                transparent
            );
            height: 2px;
            animation: electricFlow 3s infinite linear;
            filter: blur(0.5px);
        }

        /* Анимации фона */
        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg) scale(1);
            }
            25% {
                transform: translate(-25px, 15px) rotate(-1deg) scale(1.02);
            }
            50% {
                transform: translate(10px, -20px) rotate(1deg) scale(1.01);
            }
            75% {
                transform: translate(15px, 10px) rotate(-1deg) scale(1.02);
            }
        }

        @keyframes electricFlow {
            0% {
                left: -100%;
                opacity: 0;
            }
            5% {
                opacity: 1;
            }
            95% {
                opacity: 1;
            }
           100% {
                left: 100%;
                opacity: 0;
            }
        }

        /* Навигационное меню */
        .navbar {
            background: rgba(10, 10, 20, 0.85);
            box-shadow: var(--box-shadow);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--secondary-color);
        }

        .navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand img {
            height: 50px;
            transition: var(--transition);
            filter: brightness(1.2);
        }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }

        .navbar-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .navbar-item {
            position: relative;
            margin-left: 20px;
        }

        .navbar-link {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 4px;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .navbar-link:hover {
            background-color: rgba(0, 133, 157, 0.3);
            transform: translateY(-2px);
            color: var(--highlight-color);
        }

        .navbar-link i {
            margin-right: 8px;
            color: var(--secondary-color);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: rgba(10, 10, 20, 0.95);
            border-radius: 4px;
            box-shadow: var(--box-shadow);
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 1000;
            backdrop-filter: blur(10px);
            border: 1px solid var(--secondary-color);
        }

		.dropdown-menu li {
			list-style-type: none;
		}

        .navbar-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            padding: 10px 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-link {
            color: var(--secondary-color);
            text-decoration: none;
            display: block;
            transition: var(--transition);
        }

        .dropdown-link:hover {
            color: var(--highlight-color);
            padding-left: 5px;
        }

        .dropdown-divider {
            height: 1px;
            background-color: var(--border-color);
            margin: 5px 0;
        }

        .dropdown-header {
            padding: 10px 15px;
            font-weight: bold;
            color: var(--primary-color);
            background-color: var(--service-bg);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
        }

        /* Заголовок страницы */
        .page-header {
            text-align: center;
            padding: 60px 20px 40px;
            position: relative;
        }

        .page-header h1 {
            font-size: 3em;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--secondary-color);
            text-shadow: 0 2px 10px rgba(0, 133, 157, 0.5);
            position: relative;
            display: inline-block;
        }

        .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--highlight-color));
            border-radius: 2px;
        }

        .page-header p {
            font-size: 1.2em;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }

        /* Основной контент */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            padding-bottom: 100px;
        }

        /* Блок с введением */
        .intro-section {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: var(--box-shadow);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(5px);
            animation: fadeInUp 1s ease-out;
        }

        .intro-section h2 {
            color: var(--secondary-color);
            margin-bottom: 25px;
            font-size: 1.8em;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }

        .intro-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--highlight-color);
            border-radius: 2px;
        }

        .intro-section p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .intro-section a {
            color: var(--highlight-color);
            text-decoration: none;
            transition: var(--transition);
        }

        .intro-section a:hover {
            text-decoration: underline;
        }

        /* Секция с информацией */
        .info-section {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: var(--box-shadow);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(5px);
        }

        .info-section h2 {
            color: var(--secondary-color);
            margin-bottom: 25px;
            font-size: 1.8em;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }

        .info-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--highlight-color);
            border-radius: 2px;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .info-card {
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }

        .info-card h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.3em;
            display: flex;
            align-items: center;
        }

        .info-card h3 i {
            margin-right: 10px;
            color: var(--highlight-color);
        }

        .info-card p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .info-card strong {
            color: var(--highlight-color);
        }

        .info-card ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }

        .info-card li {
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .format-comparison {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            padding: 15px;
            margin: 20px 0;
            border-left: 4px solid var(--primary-color);
        }

        .format-comparison h4 {
            color: var(--highlight-color);
            margin-bottom: 10px;
        }

        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 15px;
        }

        .pros, .cons {
            padding: 15px;
            border-radius: 8px;
        }

        .pros {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .cons {
            background: rgba(217, 44, 41, 0.1);
            border: 1px solid rgba(217, 44, 41, 0.3);
        }

        .pros h4, .cons h4 {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .pros h4 i {
            color: var(--discount-color);
            margin-right: 8px;
        }

        .cons h4 i {
            color: var(--accent-color);
            margin-right: 8px;
        }

        .image-placeholder {
            background: rgba(0, 0, 0, 0.2);
            border: 2px dashed var(--primary-color);
            border-radius: 10px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 15px 0;
            color: #aaa;
            font-style: italic;
        }
.image-placeholder img {
	        max-height: 90%;
}
	


        .image-caption {
            font-size: 0.9em;
            color: #aaa;
            text-align: center;
            margin-bottom: 15px;
        }

        /* Блок интересных фактов */
        .facts-section {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            margin: 40px 0;
            box-shadow: var(--box-shadow);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(5px);
        }

        .facts-section h2 {
            color: var(--secondary-color);
            margin-bottom: 25px;
            font-size: 1.8em;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }

        .facts-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--highlight-color);
            border-radius: 2px;
        }

        .facts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .fact-card {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            padding: 20px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .fact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
            border-color: var(--primary-color);
        }

        .fact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(32, 151, 138, 0.1) 0%, transparent 70%);
            z-index: 0;
        }

        .fact-card h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.3em;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .fact-card h3 i {
            margin-right: 10px;
            color: var(--highlight-color);
        }

        .fact-card p {
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }

        /* Блок навигации по сайту */
        .site-nav-section {
            margin: 40px 0;
        }

        .site-nav-section h2 {
            color: var(--secondary-color);
            margin-bottom: 25px;
            font-size: 1.8em;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }

        .site-nav-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--highlight-color);
            border-radius: 2px;
        }

        .nav-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .nav-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            text-align: center;
            box-shadow: var(--box-shadow);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
            backdrop-filter: blur(5px);
            position: relative;
            overflow: hidden;
        }

        .nav-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(32, 151, 138, 0.1) 0%, transparent 70%);
            z-index: 0;
        }

        .nav-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
            border-color: var(--primary-color);
        }

        .nav-card i {
            font-size: 2.5em;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: block;
            position: relative;
            z-index: 1;
            transition: var(--transition);
        }

        .nav-card:hover i {
            color: var(--highlight-color);
            transform: scale(1.2) rotate(5deg);
        }

        .nav-card h3 {
            color: var(--text-color);
            margin-bottom: 10px;
            font-size: 1.3em;
            position: relative;
            z-index: 1;
        }

        .nav-card p {
            color: #aaa;
            font-size: 0.95em;
            position: relative;
            z-index: 1;
        }

        .nav-card a {
            color: inherit;
            text-decoration: none;
            display: block;
            height: 100%;
            width: 100%;
        }

        /* Футер */
        footer {
            background: rgba(10, 10, 20, 0.9);
            padding: 40px 0;
            margin-top: 50px;
            border-top: 1px solid var(--border-color);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .footer-section h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3em;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--highlight-color);
            border-radius: 3px;
        }

        .footer-section address {
            font-style: normal;
            line-height: 1.6;
        }

        .footer-section p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .footer-section a {
            color: var(--text-color);
            text-decoration: none;
            transition: var(--transition);
            display: block;
            margin-bottom: 8px;
        }

        .footer-section a:hover {
            color: var(--highlight-color);
            padding-left: 5px;
        }

        .footer-section i {
            margin-right: 10px;
            color: var(--secondary-color);
            width: 20px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid var(--border-color);
            font-size: 0.9em;
            opacity: 0.7;
        }

        /* Анимации */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Улучшенный блок рекомендаций */
        .recommendations {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin: 30px 0;
        }

        .recommendation-card {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            padding: 20px;
            border: 1px solid var(--border-color);
        }

        .recommendation-card h4 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.2em;
            display: flex;
            align-items: center;
        }

        .recommendation-card h4 i {
            margin-right: 10px;
            color: var(--highlight-color);
        }

        .recommendation-card ul {
            padding-left: 20px;
        }

        .recommendation-card li {
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .do-card {
            border-left: 4px solid var(--discount-color);
        }

        .dont-card {
            border-left: 4px solid var(--accent-color);
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .info-grid {
                grid-template-columns: 1fr;
            }
            
            .facts-grid {
                grid-template-columns: 1fr;
            }
            
            .nav-cards {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            
            .pros-cons {
                grid-template-columns: 1fr;
            }

            .recommendations {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .navbar-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .navbar-menu {
                display: none;
                width: 100%;
                flex-direction: column;
                margin-top: 15px;
            }
            
            .navbar-menu.active {
                display: flex;
            }
            
            .navbar-item {
                margin: 5px 0;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            
            .dropdown-menu {
                position: static;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none;
                margin-left: 15px;
                border-left: 2px solid var(--primary-color);
            }
            
            .navbar-item:hover .dropdown-menu {
                display: block;
            }
            
            .page-header h1 {
                font-size: 2.2em;
            }
            
            .page-header p {
                font-size: 1em;
            }
            
            .intro-section, .info-section, .facts-section {
                padding: 20px;
            }
            
            .nav-cards {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .page-header {
                padding: 40px 15px 30px;
            }
            
            .page-header h1 {
                font-size: 1.8em;
            }
        }
        /* Дополнительные стили для интерактивных элементов safephoto.html */

/* Интерактивный сейф для принципа избыточности */
.interactive-visual {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.safe-container {
    width: 300px;
    height: 200px;
    position: relative;
}

.safe-door {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #444, #222);
    border: 8px solid #333;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.safe-handle {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 20px;
    height: 40px;
    background: #ffd700;
    border-radius: 5px;
    transform: translateY(-50%);
    cursor: pointer;
}

.safe-compartments {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.compartment {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 0.7em;
    text-align: center;
    transition: all 0.3s ease;
}

.compartment.active {
    background: rgba(32, 151, 138, 0.3);
    border-color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(242, 191, 12, 0.5);
}

.compartment i {
    font-size: 1.5em;
    margin-bottom: 5px;
}

/* Машина времени для старения носителей */
.time-machine-container {
    margin: 30px 0;
}

.time-machine {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    top: -25px;
    transform: translateX(-50%);
    font-size: 0.8em;
    color: #aaa;
}

.time-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.time-slider {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.time-display {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
    color: white;
}

.media-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.media-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.media-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.media-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.media-status {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.degradation-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.degradation-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--discount-color), var(--highlight-color));
    border-radius: 4px;
    transition: width 1s ease;
}

/* 3D визуализация технологий печати */
.print-tech-comparison {
    margin-top: 30px;
}

.tech-visual-container {
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 15px 0;
    border: 2px solid var(--primary-color);
}

.tech-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.tech-btn {
    padding: 8px 15px;
    background: rgba(32, 151, 138, 0.3);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-btn.active, .tech-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tech-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.tech-duration, .tech-cost, .tech-quality {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Карточки с фактами */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fact-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .media-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-info {
        grid-template-columns: 1fr;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .safe-compartments {
        padding: 0 10px;
    }
    
    .compartment {
        width: 50px;
        height: 50px;
        font-size: 0.6em;
    }
    
    .compartment i {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .media-cards {
        grid-template-columns: 1fr;
    }
    
    .tech-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-btn {
        width: 100%;
        text-align: center;
    }
    
    .safe-compartments {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .compartment {
        width: 100%;
        height: 40px;
        flex-direction: row;
        margin-bottom: 10px;
        font-size: 0.7em;
        justify-content: flex-start;
        padding: 0 10px;
    }
    
    .compartment i {
        margin-right: 10px;
        margin-bottom: 0;
    }
}
