/* Rudvor Logo Animation - Russian Dvor (Architecture & Construction) */
.rudvor-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rudvor-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.rudvor-building {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    clip-path: polygon(
        0% 100%, 
        15% 40%, 
        30% 100%, 
        45% 20%, 
        60% 100%, 
        75% 30%, 
        100% 100%
    );
    animation: rudvorBuild 4s infinite ease-in-out;
    box-shadow: 0 10px 30px rgba(238, 90, 36, 0.4);
}

.rudvor-building::before {
    content: 'РД';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes rudvorBuild {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(-5px) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    75% {
        transform: translateY(-3px) scale(1.02);
        opacity: 0.9;
    }
}

.rudvor-blueprint {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    animation: rudvorBlueprint 6s infinite linear;
}

.rudvor-blueprint::before,
.rudvor-blueprint::after {
    content: '';
    position: absolute;
    background: rgba(255, 107, 107, 0.2);
}

.rudvor-blueprint::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.rudvor-blueprint::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes rudvorBlueprint {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

.rudvor-tools {
    position: absolute;
    width: 100%;
    height: 100%;
}

.rudvor-tool {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: rudvorTool 3s infinite ease-in-out;
}

.rudvor-tool:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.rudvor-tool:nth-child(2) {
    top: 10%;
    right: 10%;
    animation-delay: -0.5s;
}

.rudvor-tool:nth-child(3) {
    bottom: 10%;
    left: 10%;
    animation-delay: -1s;
}

.rudvor-tool:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: -1.5s;
}

@keyframes rudvorTool {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Tentorvox Logo Animation */
.tentrovox-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tentrovox-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.tentrovox-core {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    border-radius: 15px;
    animation: tentrovoxCore 4s infinite ease-in-out;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.tentrovox-text {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

.tentrovox-text span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

@keyframes tentrovoxCore {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    }
    25% {
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
    }
    50% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    }
    75% {
        transform: scale(1.05) rotate(-2deg);
        box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
    }
}

.tentrovox-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tentrovox-circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(162, 155, 254, 0.6), transparent);
    height: 2px;
    animation: tentrovoxCircuit 3s infinite ease-in-out;
}

.tentrovox-circuit-line:nth-child(1) {
    width: 40%;
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.tentrovox-circuit-line:nth-child(2) {
    width: 40%;
    top: 50%;
    right: 0;
    animation-delay: -0.5s;
}

.tentrovox-circuit-line:nth-child(3) {
    width: 40%;
    bottom: 20%;
    left: 0;
    animation-delay: -1s;
}

@keyframes tentrovoxCircuit {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.tentrovox-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tentrovox-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #a29bfe;
    border-radius: 50%;
    animation: tentrovoxNode 2s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(162, 155, 254, 0.8);
}

.tentrovox-node:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.tentrovox-node:nth-child(2) {
    top: 15%;
    right: 15%;
    animation-delay: -0.3s;
}

.tentrovox-node:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: -0.6s;
}

.tentrovox-node:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation-delay: -0.9s;
}

@keyframes tentrovoxNode {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.tentrovox-wave-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(162, 155, 254, 0.3);
    border-radius: 15px;
    animation: tentrovoxWaveRing 4s infinite ease-out;
}

.tentrovox-wave-ring:nth-child(1) {
    animation-delay: 0s;
}

.tentrovox-wave-ring:nth-child(2) {
    animation-delay: -1s;
    border-color: rgba(108, 92, 231, 0.2);
}

@keyframes tentrovoxWaveRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}
