/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

body {
    background: #1A202C;
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: 20px;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

/* Main title - ГФ МГБ */
.main-title {
    font-size: 80px;
    font-weight: 900;
    color: #FFD700 !important;
    margin: 50px 0 20px 0;
    text-align: center;
    text-shadow: 
        3px 3px 0px #000000,
        -1px -1px 0px #000000,
        1px -1px 0px #000000,
        -1px 1px 0px #000000,
        1px 1px 0px #000000,
        0px 0px 10px rgba(0,0,0,0.8);
    letter-spacing: 3px;
    line-height: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

/* Logo */
.logo {
    width: 600px;
    height: 600px;
    max-width: 600px;
    max-height: 600px;
    object-fit: contain;
    display: block;
}
/* Certificate title */
.certificate-title {
    font-size: 32px;
    font-weight: 900;
    color: red;
    text-align: center;
    text-shadow: 
        3px 3px 0px #000000,
        -1px -1px 0px #000000,
        1px -1px 0px #000000,
        -1px 1px 0px #000000,
        1px 1px 0px #000000,
        0px 0px 10px rgba(0,0,0,0.8);
    letter-spacing: 3px;
    line-height: 1;
    margin: 0px 0 80px 0;
}
/* Subtitle - мы спасаем всю страну */
.subtitle {
    font-size: 18px !important;
    font-weight: 400;
    color: #FFFFFF !important;
    margin: 20px 0 0 0;
    text-align: center;
    text-shadow: 
        2px 2px 0px #000000,
        -1px -1px 0px #000000,
        1px -1px 0px #000000,
        -1px 1px 0px #000000,
        1px 1px 0px #000000;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Contact card */
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px 32px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.contact-card h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: white;
}

.contact-card p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.contact-single-line {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.icon {
    color: white;
    font-size: 14px;
    width: 14px;
    text-align: center;
}

/* Tablet styles */
@media screen and (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .content-container {
        gap: 25px;
    }
    
    .main-title {
        font-size: 64px !important;
        letter-spacing: 2px;
        margin: 80px 0 15px 0;
    }
    
    .logo {
        width: 400px;
        height: 400px;
        max-width: 400px;
        max-height: 400px;
    }
    
    .subtitle {
        font-size: 16px !important;
        margin-top: 15px;
    }
    
    .contact-card {
        padding: 20px 24px;
        width: 100%;
        max-width: 500px;
    }
    
    .contact-single-line {
        flex-direction: column;
        gap: 12px;
        font-size: 13px;
    }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
    body {
        padding: 20px 10px 10px 10px;
    }
    
    .content-container {
        gap: 10px;
    }
    
    .main-title {
        font-size: 48px !important;
        letter-spacing: 1px;
        margin: 30px 0 5px 0;
        text-shadow: 
            2px 2px 0px #000000,
            -1px -1px 0px #000000,
            1px -1px 0px #000000,
            -1px 1px 0px #000000,
            1px 1px 0px #000000,
            0px 0px 8px rgba(0,0,0,0.9);
    }
    
    .logo {
        width: 250px;
        height: 250px;
        max-width: 250px;
        max-height: 250px;
    }
    
    .subtitle {
        font-size: 14px !important;
        margin-top: 10px;
    }
    
    .contact-card {
        padding: 12px 16px;
        width: 100%;
        max-width: 350px;
    }
    
    .contact-card h2 {
        font-size: 20px;
    }
    
    .contact-single-line {
        font-size: 12px;
        gap: 10px;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .main-title {
        font-size: 40px !important;
        margin: 25px 0 5px 0;
    }
    
    .logo {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
    }
    
    .subtitle {
        font-size: 12px !important;
    }
}