* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Предотвращаем горизонтальный скролл */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background: linear-gradient(135deg, #1a6fc4, #2c3e50);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.5s ease;
    position: relative;
}

body.matrix-mode {
    background: #000 !important;
    color: #0f0 !important;
    font-family: 'Courier New', monospace !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="10" y="30" font-size="10" fill="%2300ff0040">0101</text><text x="60" y="80" font-size="10" fill="%2300ff0040">1010</text><text x="30" y="50" font-size="10" fill="%2300ff0040">1100</text></svg>') !important;
}

.matrix-mode .counter-item.visitor-counter {
    background: #000 !important;
    border: 2px solid #0f0 !important;
    color: #0f0 !important;
}

.matrix-mode .counter-item.rambler-counter {
    background: #000 !important;
    border: 2px solid #0f0 !important;
    color: #0f0 !important;
}

.matrix-mode .counter-digits {
    color: #0f0 !important;
    animation: blink 3s infinite alternate;
}

.matrix-mode .counter-label {
    color: #0f0 !important;
}

.matrix-mode .logo {
    color: #0f0 !important;
    text-shadow: 0 0 10px #0f0, 0 0 20px #0f0 !important;
    animation: matrix-text 2s infinite alternate;
}

@keyframes matrix-text {
    0% { text-shadow: 0 0 5px #0f0; }
    100% { text-shadow: 0 0 20px #0f0, 0 0 30px #0f0; }
}

.matrix-mode .container {
    border: 3px dotted #0f0 !important;
    background: #000 !important;
    margin: 10px auto !important;
}

.matrix-mode header {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20" viewBox="0 0 100 20"><rect width="100" height="20" fill="black"/><text x="50" y="15" font-family="Arial" font-size="12" fill="%2300ff00" text-anchor="middle">SEOTURBO.COM</text></svg>') repeat-x top center !important;
    padding-top: 60px !important;
}

.matrix-mode h1, .matrix-mode h2, .matrix-mode h3, .matrix-mode .subtitle {
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0 !important;
    animation: blink 3s infinite alternate;
}

@keyframes blink {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.3;
    }
}

.matrix-mode .counter {
    background: #000 !important;
    border: 2px solid #0f0 !important;
    color: #0f0 !important;
}

.matrix-mode .counter-number {
    color: #ff0 !important;
    animation: count-pulse 1s infinite;
}

@keyframes count-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.matrix-mode .cta-box {
    background: #000 !important;
    border: 3px double #0f0 !important;
    animation: border-rotate 5s infinite linear;
}

@keyframes border-rotate {
    0% { border-style: double; }
    25% { border-style: dotted; }
   50% { border-style: dashed; }
    75% { border-style: groove; }
    100% { border-style: double; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.matrix-mode input {
    background: #000 !important;
    color: #0f0 !important;
    border: 2px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode input::placeholder {
    color: #0a0 !important;
}

.matrix-mode button {
    background: #000 !important;
    color: #0f0 !important;
    border: 2px solid #0f0 !important;
    border-radius: 0 !important;
    animation: button-glitch 5s infinite;
}

@keyframes button-glitch {
    0% { transform: skew(0deg, 0deg); }
    5% { transform: skew(2deg, -1deg); }
    10% { transform: skew(0deg, 0deg); }
    65% { transform: skew(0deg, 0deg); }
    70% { transform: skew(-3deg, 2deg); }
    75% { transform: skew(0deg, 0deg); }
}

.matrix-mode .feature {
    background: #000 !important;
    border: 1px solid #0f0 !important;
    border-radius: 0 !important;
    transform: skew(-5deg);
}

.matrix-mode .feature:hover {
    transform: skew(-5deg) translateY(-10px) !important;
    background: #002200 !important;
}

.matrix-mode .feature i {
    color: #0f0 !important;
    animation: spin 5s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.matrix-mode .expandable-section {
    background: #000 !important;
    border: 2px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .section-header {
    background: #002200 !important;
    border-bottom: 2px solid #0f0 !important;
}

.matrix-mode .secret-item {
    background: #001100 !important;
    border-left: 5px solid #0f0 !important;
}

.matrix-mode .testimonials {
    background: #000 !important;
    border: 2px dashed #0f0 !important;
}

.matrix-mode .testimonial {
    background: #001100 !important;
    border: 1px dotted #0f0 !important;
}

.matrix-mode .faq-item {
    background: #000 !important;
    border: 1px solid #0f0 !important;
}

.matrix-mode .certificate {
    background: #000 !important;
    border: 5px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .certificate-border {
    border: 2px solid #0f0 !important;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,255,0,0.1) 0px, transparent 40px),
        radial-gradient(circle at 80% 70%, rgba(0,255,0,0.1) 0px, transparent 40px),
        linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%) !important;
}

.matrix-mode .certificate-logo {
    color: #0f0 !important;
}

.matrix-mode .certificate h3 {
    color: #0f0 !important;
}

.matrix-mode .position-tracker {
    background: #000 !important;
    border: 2px solid #0f0 !important;
}

.matrix-mode footer {
    color: #0f0 !important;
    background: #001100 !important;
    border-top: 3px solid #0f0 !important;
}

.matrix-mode #particles-container .particle {
    background-color: rgba(0, 255, 0, 0.3) !important;
}

.matrix-mode .seo-joke {
    background: #001100 !important;
    color: #0f0 !important;
    border: 1px dashed #0f0 !important;
    animation: marquee 10s infinite linear;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.matrix-gif {
    display: none;
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.matrix-mode .matrix-gif {
    display: block;
}

.gif1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
}

.gif2 {
    top: 40%;
    right: 5%;
    width: 120px;
    height: 120px;
}

.gif3 {
    bottom: 10%;
    left: 20%;
    width: 80px;
    height: 80px;
}

.under-construction {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ff0;
    color: #f00;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    z-index: 10000;
    animation: construction-blink 1s infinite;
}

.matrix-mode .under-construction {
    display: block;
}

@keyframes construction-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.visitor-counter {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
    padding: 5px;
    font-family: 'Courier New', monospace;
    z-index: 1000;
}

.matrix-mode .visitor-counter {
    display: block;
}

/* Остальные стили из предыдущей версии */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

header {
    text-align: center;
    padding: 40px 20px;
    color: white;
    position: relative;
}

.theme-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    z-index: 100;
}

.theme-switch:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.seo-joke {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    font-style: italic;
    color: #2c3e50;
}

.counter {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    color: white;
    font-size: 1.2rem;
}

.counter-number {
    font-weight: bold;
    color: #f39c12;
    font-size: 1.5rem;
}

.cta-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin-bottom: 50px;
}

.cta-title {
    font-size: 2rem;
    color: #1a6fc4;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

input {
    padding: 18px 25px;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s;
}

input:focus {
    border-color: #1a6fc4;
    outline: none;
    box-shadow: 0 0 15px rgba(26, 111, 196, 0.3);
}

button {
    padding: 18px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: white;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(243, 156, 18, 0.4);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
    z-index: 2;
    position: relative;
}

.feature {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 3rem;
    color: #1a6fc4;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #444;
}

.expandable-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 40px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feedback-section .section-header {
    background: linear-gradient(90deg, #e67e22, #d35400);
}

.reviews-header {
    background: linear-gradient(90deg, #27ae60, #2ecc71) !important;
}

.reviews-generator {
    padding: 20px;
}

.reviews-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
}

.reviews-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 5px solid #27ae60;
}

.reviews-rating {
    font-size: 1.3rem;
    font-weight: bold;
    color: #27ae60;
    text-align: center;
    margin-bottom: 15px;
}

.reviews-list {
    margin-bottom: 20px;
}

.review-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid #27ae60;
    font-style: italic;
}

.review-author {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.reviews-buttons {
    display: flex;
    justify-content: center;
}

.reviews-buttons button {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.reviews-tips {
    background: #e8f5e8;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.reviews-tips h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

.reviews-tips ul {
    padding-left: 20px;
}

.reviews-tips li {
    margin-bottom: 10px;
}

.section-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(90deg, #3498db, #1a6fc4);
    color: white;
}

.section-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.section-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    transform-origin: center;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
}

.expandable-section.active .section-content {
    max-height: 5000px;
    padding: 30px;
}

.expandable-section.active .section-icon {
    transform: rotate(180deg);
}

.magnet-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dancer {
    font-size: 5rem;
    animation: dance 3s infinite alternate;
    transform-origin: center;
    margin-bottom: 20px;
}

@keyframes dance {
    0% { transform: rotate(-10deg) translateY(0); }
    25% { transform: rotate(10deg) translateY(-10px); }
    50% { transform: rotate(-5deg) translateY(5px); }
    75% { transform: rotate(5deg) translateY(-5px); }
    100% { transform: rotate(0deg) translateY(0); }
}

.magnet-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.magnet-text p {
    margin-bottom: 15px;
}

.secret-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 5px solid #f39c12;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.secret-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #f39c12, #e67e22);
}

.secret-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.secret-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    padding-left: 15px;
    border-left: 3px solid #f39c12;
}

.secret-item p {
    color: #555;
    line-height: 1.6;
    padding-left: 15px;
}

.testimonials {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 50px;
    margin: 60px 0;
    text-align: center;
}

.testimonial {
    font-style: italic;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.author {
    font-weight: bold;
    margin-top: 10px;
    color: #1a6fc4;
}

.satisfied-counter {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 60px 0;
    color: white;
}

.satisfied-number {
    font-size: 3rem;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.satisfied-text {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.satisfied-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.satisfied-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
}

.faq {
    margin: 60px 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-stats {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
}

.faq-stats p {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.faq-stats-subtext {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.counter-item.visitor-counter {
    background: #ff0;
    padding: 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    text-align: center;
    border: 2px solid #ccc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.counter-item.rambler-counter {
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    text-align: center;
    border: 2px solid #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.counter-digits {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.counter-label {
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.friend-upload {
    margin-top: 10px;
    text-align: center;
}

.friend-upload button {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: #f39c12;
}

.certificate {
    display: none;
    max-width: 600px;
    margin: 30px auto;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 15px solid #f39c12;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 10;
}

.certificate.show {
    opacity: 1;
    transform: translateY(0);
}

.certificate-border {
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.1) 0px, transparent 40px),
        radial-gradient(circle at 80% 70%, rgba(255,215,0,0.1) 0px, transparent 40px),
        linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.8) 100%);
}

.certificate-content {
    text-align: center;
    position: relative;
}

.certificate-header {
    margin-bottom: 15px;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

.certificate-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #1a6fc4;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.certificate h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 0;
}

.certificate-body {
    margin-bottom: 15px;
}

.certificate-body p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.certificate-site {
    font-size: 1.2rem !important;
    color: #1a6fc4;
    margin: 12px 0 !important;
    word-break: break-all;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #ddd;
}

.detail-label {
    font-weight: bold;
    color: #2c3e50;
}

.detail-value {
    color: #1a6fc4;
    font-weight: bold;
}

.certificate-top-queries {
    background: rgba(26, 111, 196, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.certificate-top-queries h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
    font-size: 1.1rem;
}

.certificate-top-queries ul {
    list-style-type: none;
    padding: 0;
}

.certificate-top-queries li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #555;
    font-size: 0.9rem;
}

.certificate-top-queries li:last-child {
    border-bottom: none;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.signature {
    text-align: center;
    flex: 1;
    position: relative;
}

.signature-line {
    width: 180px;
    height: 35px;
    margin: 0 auto 5px;
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 35"><path d="M10,20 C30,5 70,5 90,20 C110,35 150,35 170,20" fill="none" stroke="%232c3e50" stroke-width="2"/></svg>') no-repeat center;
}

.signature-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 8px;
}

.signature p {
    margin: 0;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.seal {
    flex: 1;
    display: flex;
    justify-content: center;
}

.seal-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.seal-circle:before {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    border: 2px solid #d4af37;
    border-radius: 50%;
}

.seal-circle:after {
    content: "✓";
    position: absolute;
    font-size: 2rem;
    color: #d4af37;
}

.seal-circle span {
    font-size: 0.7rem;
    font-weight: bold;
    color: #1a6fc4;
    line-height: 1.1;
    z-index: 1;
}

.position-tracker {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
}

.position-tracker h3 {
    color: #1a6fc4;
    margin-bottom: 15px;
}

.tracker-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

footer {
    text-align: center;
    padding: 30px;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Стили для сертификата РКН */
.rkn-certificate {
    display: none;
    max-width: 600px;
    margin: 30px auto;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 15px solid #cc0000;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 10;
}

.rkn-certificate.show {
    opacity: 1;
    transform: translateY(0);
}

.rkn-certificate-border {
    border: 2px solid #990000;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    background: 
        radial-gradient(circle at 20% 30%, rgba(204,0,0,0.1) 0px, transparent 40px),
        radial-gradient(circle at 80% 70%, rgba(204,0,0,0.1) 0px, transparent 40px),
        linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.8) 100%);
}

.rkn-certificate-content {
    text-align: center;
    position: relative;
}

.rkn-certificate-header {
    margin-bottom: 15px;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 10px;
}

.rkn-certificate-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.rkn-certificate h3 {
    font-size: 1.8rem;
    color: #cc0000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rkn-certificate-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 0;
}

.rkn-certificate-body {
    margin-bottom: 15px;
}

.rkn-certificate-body p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.rkn-certificate-site {
    font-size: 1.2rem !important;
    color: #cc0000;
    margin: 12px 0 !important;
    word-break: break-all;
}

.rkn-certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.rkn-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #ddd;
}

.rkn-detail-label {
    font-weight: bold;
    color: #2c3e50;
}

.rkn-detail-value {
    color: #cc0000;
    font-weight: bold;
}

.rkn-certificate-top-queries {
    background: rgba(204, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.rkn-certificate-top-queries h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
    font-size: 1.1rem;
}

.rkn-certificate-top-queries ul {
    list-style-type: none;
    padding: 0;
}

.rkn-certificate-top-queries li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #555;
    font-size: 0.9rem;
}

.rkn-certificate-top-queries li:last-child {
    border-bottom: none;
}

.rkn-certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.rkn-signature {
    text-align: center;
    flex: 1;
    position: relative;
}

.rkn-signature-line {
    width: 180px;
    height: 35px;
    margin: 0 auto 5px;
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 35"><path d="M10,20 C30,5 70,5 90,20 C110,35 150,35 170,20" fill="none" stroke="%232c3e50" stroke-width="2"/></svg>') no-repeat center;
}

.rkn-signature-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 8px;
}

.rkn-signature p {
    margin: 0;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.rkn-seal {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rkn-seal-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #990000;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(204, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.rkn-seal-circle:before {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    border: 2px solid #990000;
    border-radius: 50%;
}

.rkn-seal-circle:after {
    content: "✓";
    position: absolute;
    font-size: 2rem;
    color: #990000;
}

.rkn-seal-circle span {
    font-size: 0.7rem;
    font-weight: bold;
    color: #cc0000;
    line-height: 1.1;
    z-index: 1;
}

/* Матричный режим для сертификата РКН */
.matrix-mode .rkn-certificate {
    background: #000 !important;
    border: 5px solid #0f0 !important;
}

.matrix-mode .rkn-certificate-border {
    border: 2px solid #0f0 !important;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,255,0,0.1) 0px, transparent 40px),
        radial-gradient(circle at 80% 70%, rgba(0,255,0,0.1) 0px, transparent 40px),
        linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%) !important;
}

.matrix-mode .rkn-certificate-logo {
    color: #0f0 !important;
}

.matrix-mode .rkn-certificate h3 {
    color: #0f0 !important;
}

/* Анимации */
#countdown {
    font-size: 5rem;
    font-weight: bold;
    color: #e67e22;
    margin: 30px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    display: none;
}

#result-message {
    font-size: 1.5rem;
    margin: 20px 0;
    display: none;
    color: #e67e22;
    font-weight: bold;
}

.rotate {
    animation: rotation 0.5s infinite linear;
    border-color: #e67e22 !important;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(359deg); }
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}

.confetti {
    position: fixed;
    width: 15px;
    height: 15px;
    opacity: 0;
    pointer-events: none;
    animation: confetti-fall 5s linear forwards;
    z-index: 9999;
    border-radius: 0;
    top: 0;
}

/* Новые элементы */
.seo-report {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
    border-left: 5px solid #17a2b8;
}

.seo-report h3 {
    color: #17a2b8;
    margin-bottom: 15px;
}

.seo-report-content {
    line-height: 1.6;
}

.tech-scheme {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.tech-step {
    text-align: center;
    padding: 15px;
    margin: 0 10px;
    background: #f0f0f0;
    border-radius: 10px;
    width: 120px;
    position: relative;
}

.tech-step:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.tech-step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-step-title {
    font-weight: bold;
    font-size: 0.9rem;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 15s infinite linear;
    z-index: 1;
}

.exit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.exit-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.exit-modal h2 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.exit-modal p {
    margin-bottom: 20px;
}

.exit-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.exit-modal-buttons button {
    margin-top: 0;
}

.exit-modal-buttons button:first-child {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

/* Стили для генератора анкоров */
.anchor-generator {
    margin: 20px 0;
}

.anchor-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
}

.anchor-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 5px solid #17a2b8;
}

.anchor-rating {
    font-size: 1.3rem;
    font-weight: bold;
    color: #17a2b8;
    text-align: center;
    margin-bottom: 15px;
}

.anchor-list {
    list-style-type: none;
    padding: 0;
    columns: 2;
    column-gap: 20px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.anchor-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    break-inside: avoid;
}

.anchor-list a {
    color: #1a6fc4;
    text-decoration: none;
}

.anchor-list a:hover {
    text-decoration: underline;
}

.anchor-tips {
    background: #fff4e5;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.anchor-tips h3 {
    color: #e67e22;
    margin-bottom: 15px;
}

.anchor-tips ul {
    padding-left: 20px;
}

.anchor-tips li {
    margin-bottom: 10px;
}

.certificate-button {
    background: linear-gradient(90deg, #17a2b8, #138496);
}

.anchor-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.anchor-buttons button {
    margin-top: 0;
    flex: 1;
    min-width: 200px;
}

/* Стили для формы отзывов */
.feedback-form {
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
}

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

.feedback-result {
    display: none;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 5px solid #f39c12;
}

/* Стили для футера с формой отправки другу и счетчиками */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.friend-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.counters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.counter-item {
    display: inline-block;
    background: white;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #ddd;
    text-align: center;
    margin: 0 10px;
    min-width: 100px;
}

.counter-item.visitor-counter {
    background: #ff0;
    border: 2px solid #ccc;
}

.counter-item.rambler-counter {
    background: #fff;
    border: 2px solid #ccc;
}

.counter-digits {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    font-family: 'Courier New', monospace;
}

.counter-label {
    font-size: 12px;
    color: #333;
    margin-top: 5px;
}

/* Стили для ссылок в футере */
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: block;
}

.footer-services a:hover {
    color: #f39c12;
    padding-left: 10px;
    text-decoration: none;
}

.footer-services a::before {
    content: "›";
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #f39c12;
}

.footer-services a:hover::before {
    opacity: 1;
    left: -5px;
}

.footer-services li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-services li:hover {
    transform: translateX(5px);
}

.footer-services li:before {
    content: "•";
    color: #f39c12;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.footer-services li:hover:before {
    color: #e67e22;
    transform: scale(1.2);
}

/* Добавляем четвертую колонку */
.footer-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 1024px) {
    .footer-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-services {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Стили для кнопки "Наверх" */
.footer-services a[onclick="scrollToTop()"] {
    font-weight: bold;
    color: #f39c12;
}

.footer-services a[onclick="scrollToTop()"]:hover {
    color: #ffd700;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .counters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .counter-item {
        margin: 5px 0;
    }
}

.friend-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    text-align: center;
}

.friend-form h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.2rem;
}

.friend-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.friend-input-group input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    min-width: 200px;
}

.friend-submit-btn, .friend-upload-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(90deg, #17a2b8, #138496);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.friend-submit-btn:hover, .friend-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

.friend-upload-note {
    font-style: italic;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.friend-input {
    display: flex;
    gap: 10px;
}

.friend-input input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.friend-input button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background: #f39c12;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.counters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.counter-item {
    display: inline-block;
    background: white;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.counter-item img {
    display: block;
    height: 31px;
    width: 88px;
}

/* Матричный режим для новых элементов */
.matrix-mode .feedback-form {
    background: #000 !important;
    border: 3px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .feedback-form h2 {
    color: #0f0 !important;
    animation: blink 3s infinite alternate;
}

.matrix-mode .form-group label {
    color: #0f0 !important;
}

.matrix-mode .form-group input,
.matrix-mode .form-group textarea {
    background: #000 !important;
    color: #0f0 !important;
    border: 2px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .feedback-result {
    background: #001100 !important;
    color: #0f0 !important;
    border-left: 5px solid #0f0 !important;
}

.matrix-mode .friend-form {
    background: rgba(0, 255, 0, 0.1) !important;
    border: 2px dashed #0f0 !important;
}

.matrix-mode .friend-form h3 {
    color: #0f0 !important;
}

.matrix-mode .friend-input input {
    background: #000 !important;
    color: #0f0 !important;
    border: 1px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .friend-input button {
    background: #000 !important;
    color: #0f0 !important;
    border: 1px solid #0f0 !important;
    border-radius: 0 !important;
}

.matrix-mode .counter-item {
    background: #000 !important;
    border: 2px solid #0f0 !important;
}

/* Стили для нового футера */
.footer-services {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.service-column {
    flex: 1;
    min-width: 200px;
}

.service-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 5px;
}

.service-column ul {
    list-style: none;
    padding: 0;
}

.service-column li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
}

.service-column li:before {
    content: "•";
    color: #f39c12;
    position: absolute;
    left: 0;
}

.footer-submit {
    text-align: center;
    margin: 20px 0;
}

.review-stars {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.review-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-align: right;
    margin-top: 8px;
    font-style: italic;
}

.review-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid #27ae60;
    font-style: italic;
    position: relative;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateX(5px);
}

.review-item::before {
    content: """;
    font-size: 3rem;
    color: #27ae60;
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.submit-button {
    padding: 12px 40px;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f39c12, transparent);
    margin: 25px 0;
}

.footer-warning {
    text-align: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
}

.wallet-address {
    color: #f39c12;
    text-align: center;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    background: rgba(243, 156, 18, 0.1);
    transition: all 0.3s ease;
    word-break: break-all;
}

.wallet-address:hover {
    background: rgba(243, 156, 18, 0.2);
    transform: scale(1.02);
}

.wallet-address:active {
    transform: scale(0.98);
}

.footer-warning p {
    margin: 5px 0;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-services {
        flex-direction: column;
    }

    .service-column {
        min-width: 100%;
    }
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.download-buttons button {
    margin-top: 0;
    padding: 12px 25px;
    font-size: 1rem;
}

.download-buttons button i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons button {
        width: 100%;
    }
}

/* ===== УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ГЕНЕРАТОРА БЕЛЫХ ССЫЛОК ===== */
.white-links-header {
    background: linear-gradient(90deg, #8E44AD, #9B59B6) !important;
}

.white-links-generator {
    padding: 20px;
}

.white-links-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.white-links-input:focus {
    border-color: #8E44AD;
    outline: none;
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.3);
}

.white-links-generator button {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    display: block;
    background: linear-gradient(90deg, #8E44AD, #9B59B6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
}

.white-links-generator button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(142, 68, 173, 0.4);
}

.white-links-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 5px solid #8E44AD;
    display: none;
}

.white-links-rating {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8E44AD;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 8px;
}

/* Новые стили для карточек ссылок */
.white-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.white-link-card {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.white-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.2);
    border-color: #8E44AD;
}

.white-link-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #8E44AD, #9B59B6);
}

.white-link-title {
    font-size: 1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
    padding-left: 10px;
    border-left: 3px solid #8E44AD;
}

.white-link-url {
    display: block;
    font-size: 0.85rem;
    color: #8E44AD;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.4;
    padding: 10px;
    background: rgba(142, 68, 173, 0.05);
    border-radius: 5px;
    border: 1px dashed #d4c3e1;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.white-link-url:hover {
    background: rgba(142, 68, 173, 0.1);
    color: #6c3483;
    text-decoration: none;
}

.white-links-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.white-links-actions button {
    margin: 0;
    background: linear-gradient(90deg, #8E44AD, #9B59B6);
}

.white-links-tips {
    background: #f3e6f8;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border: 2px dashed #8E44AD;
}

.white-links-tips h3 {
    color: #8E44AD;
    margin-bottom: 15px;
    text-align: center;
}

.white-links-tips ul {
    padding-left: 20px;
}

.white-links-tips li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Матричный режим для белых ссылок */
.matrix-mode .white-links-header {
    background: #000 !important;
    border-bottom: 2px solid #0f0 !important;
}

.matrix-mode .white-links-result {
    background: #001100 !important;
    border-left: 5px solid #0f0 !important;
}

.matrix-mode .white-links-rating {
    color: #0f0 !important;
    background: rgba(0, 255, 0, 0.1) !important;
}

.matrix-mode .white-links-grid {
    background: transparent !important;
}

.matrix-mode .white-link-card {
    background: #000 !important;
    border: 1px solid #0f0 !important;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.2) !important;
}

.matrix-mode .white-link-card:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4) !important;
}

.matrix-mode .white-link-card::before {
    background: linear-gradient(to bottom, #0f0, #0a0) !important;
}

.matrix-mode .white-link-title {
    color: #0f0 !important;
    border-left-color: #0f0 !important;
}

.matrix-mode .white-link-url {
    color: #0f0 !important;
    background: rgba(0, 255, 0, 0.05) !important;
    border-color: #0a0 !important;
}

.matrix-mode .white-link-url:hover {
    background: rgba(0, 255, 0, 0.1) !important;
}

.matrix-mode .white-links-tips {
    background: #001100 !important;
    border: 2px dashed #0f0 !important;
}

.matrix-mode .white-links-tips h3 {
    color: #0f0 !important;
}

.matrix-mode .white-links-tips li {
    color: #0f0 !important;
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
    .white-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .white-link-card {
        padding: 12px;
    }
    
    .white-link-title {
        font-size: 0.95rem;
    }
    
    .white-link-url {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .white-links-actions {
        flex-direction: column;
    }
    
    .white-links-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .white-link-card {
        padding: 10px;
    }
}

/* ===== УЛУЧШЕННАЯ МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    /* Исправляем общие проблемы с layout */
    body {
        padding: 0 5px;
        overflow-x: hidden;
    }
    
    .container {
        padding: 10px 5px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Хедер */
    header {
        padding: 20px 10px;
    }
    
    .theme-switch {
        position: relative;
        top: 0;
        right: 0;
        margin: 0 auto 20px;
        width: fit-content;
    }
    
    .logo {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    /* SEO-шутка */
    .seo-joke {
        margin: 15px 5px;
        padding: 10px;
        font-size: 0.9rem;
        max-width: 95%;
    }
    
    /* Счетчик */
    .counter {
        margin: 15px auto;
        padding: 10px;
        font-size: 1rem;
        max-width: 95%;
    }
    
    .counter-number {
        font-size: 1.3rem;
    }
    
    /* Особенности */
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        padding: 0 5px;
    }
    
    .feature {
        padding: 20px 15px;
        margin: 0;
    }
    
    .feature i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .feature h3 {
        font-size: 1.3rem;
    }
    
    /* Основная CTA область */
    .cta-box {
        padding: 25px 15px;
        margin: 0 5px 30px;
        border-radius: 15px;
        width: calc(100% - 10px);
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .input-group {
        gap: 10px;
        width: 100%;
    }
    
    input {
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
    }
    
    button {
        padding: 15px 25px;
        font-size: 1.1rem;
        width: 100%;
        margin-top: 5px;
    }
    
    /* Анимация countdown */
    #countdown {
        font-size: 3rem;
        margin: 20px 0;
    }
    
    /* Сертификат */
    .certificate {
        margin: 20px 5px;
        padding: 5px;
        border-width: 8px;
        width: calc(100% - 10px);
    }
    
    .certificate-border {
        padding: 15px 10px;
    }
    
    .certificate-logo {
        font-size: 1.5rem;
    }
    
    .certificate h3 {
        font-size: 1.4rem;
    }
    
    .certificate-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    /* Кнопки скачивания */
    .download-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }
    
    .download-buttons button {
        margin: 0;
        width: 100%;
    }
    
    /* Раскрывающиеся секции */
    .expandable-section {
        margin: 25px 5px;
        border-radius: 15px;
        width: calc(100% - 10px);
    }
    
    .section-header {
        padding: 20px 15px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .expandable-section.active .section-content {
        padding: 20px 15px;
    }
    
    /* Технологическая схема */
    .tech-scheme {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tech-step {
        width: 100%;
        max-width: 200px;
        margin: 5px 0;
    }
    
    .tech-step:not(:last-child):after {
        display: none;
    }
    
    /* Секретные техники */
    .secret-item {
        padding: 15px;
        margin: 15px 0;
    }
    
    .secret-item h3 {
        font-size: 1.2rem;
    }
    
    /* Генераторы (анкоры, мета-теги, отзывы) */
    .anchor-generator, 
    .reviews-generator,
    .white-links-generator {
        padding: 15px 10px;
    }
    
    .anchor-input,
    .reviews-input,
    .white-links-input,
    #meta-site-name,
    #casino-name {
        padding: 12px 15px;
        font-size: 1rem;
        width: 100%;
    }
    
    .anchor-list {
        columns: 1;
        max-height: 200px;
    }
    
    .anchor-buttons,
    .reviews-buttons {
        flex-direction: column;
    }
    
    .anchor-buttons button,
    .reviews-buttons button,
    .white-links-generator button {
        width: 100%;
        margin: 5px 0;
        max-width: 100%;
    }
    
    /* Отзывы */
    .testimonials {
        padding: 30px 20px;
        margin: 40px 5px;
        width: calc(100% - 10px);
    }
    
    .testimonial {
        padding: 15px;
        margin: 15px 0;
    }
    
    /* Счетчик довольных */
    .satisfied-counter {
        padding: 20px 15px;
        margin: 40px 5px;
        width: calc(100% - 10px);
    }
    
    .satisfied-number {
        font-size: 2.2rem;
    }
    
    .satisfied-text {
        font-size: 1.1rem;
    }
    
    /* FAQ */
    .faq {
        margin: 40px 0;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    /* Форма обратной связи */
    .feedback-form {
        padding: 15px 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        width: 100%;
    }
    
    /* Футер */
    footer {
        padding: 20px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .friend-form {
        min-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .friend-input-group {
        flex-direction: column;
        width: 100%;
    }
    
    .friend-input-group input {
        min-width: 100%;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .counters {
        flex-direction: column;
        width: 100%;
    }
    
    .counter-item {
        margin: 5px 0;
        width: 100%;
        max-width: 200px;
    }
    
    /* Услуги в футере */
    .footer-services {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .service-column {
        min-width: 100%;
    }
    
    /* Кнопка отправки в футере */
    .footer-submit {
        margin: 15px 0;
        width: 100%;
    }
    
    .submit-button {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
    
    /* Адрес кошелька */
    .wallet-address {
        font-size: 0.9rem;
        padding: 8px;
        word-break: break-all;
        margin: 10px 5px;
    }
    
    /* Модальное окно */
    .exit-modal-content {
        margin: 20px;
        padding: 20px 15px;
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    .exit-modal-buttons {
        flex-direction: column;
    }
    
    .exit-modal-buttons button {
        width: 100%;
        margin: 5px 0;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ===== */
@media (max-width: 480px) {
    body {
        padding: 0 2px;
    }
    
    .container {
        padding: 5px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    #countdown {
        font-size: 2.5rem;
    }
    
    .dancer {
        font-size: 3.5rem;
    }
    
    /* Улучшаем читаемость текста */
    p, li, .magnet-text, .secret-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Убираем лишние отступы */
    .feature, .testimonial, .secret-item {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Уменьшаем отступы в секциях */
    .expandable-section {
        margin: 20px 0;
    }
    
    .section-header {
        padding: 15px;
    }
    
    .expandable-section.active .section-content {
        padding: 15px;
    }
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 10px 5px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    /* Уменьшаем высоту некоторых элементов */
    .cta-box {
        padding: 15px 10px;
    }
    
    input {
        padding: 12px 15px;
    }
    
    button {
        padding: 12px 20px;
    }
    
    /* Уменьшаем отступы в футере */
    footer {
        padding: 15px 10px;
    }
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ ТАБЛЕТОВ ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-scheme {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tech-step {
        width: 45%;
        margin: 10px;
    }
}

/* ===== ОБЩИЕ ИСПРАВЛЕНИЯ ДЛЯ ВСЕХ УСТРОЙСТВ ===== */
img, canvas, iframe, video, svg {
    max-width: 100%;
    height: auto;
}

/* Убедимся, что текст не выходит за пределы */
p, h1, h2, h3, h4, h5, h6, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Исправляем проблему с кнопкой "отправить" в футере */
.footer-submit {
    text-align: center;
    width: 100%;
}

.submit-button {
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

/* Улучшаем touch-цели для мобильных */
button, a, input[type="submit"], input[type="button"] {
    min-height: 44px;
}

/* Гарантируем, что ничего не выходит за пределы экрана */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Убираем горизонтальный скролл на всех устройствах */
html, body {
    overflow-x: hidden;
    width: 100%;
}