* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.icon {
    position: absolute;
    font-size: 60px;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 22s;
}

.icon-3 {
    top: 40%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.icon-4 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.icon-5 {
    top: 70%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 21s;
}

.icon-6 {
    top: 80%;
    right: 25%;
    animation-delay: 5s;
    animation-duration: 23s;
}

.icon-7 {
    top: 30%;
    left: 50%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.icon-8 {
    top: 60%;
    left: 70%;
    animation-delay: 4.5s;
    animation-duration: 24s;
}

.icon-9 {
    top: 15%;
    left: 60%;
    animation-delay: 1.5s;
    animation-duration: 19s;
}

.icon-10 {
    top: 75%;
    left: 40%;
    animation-delay: 3.5s;
    animation-duration: 20s;
}

.icon-11 {
    top: 45%;
    right: 30%;
    animation-delay: 0.5s;
    animation-duration: 18s;
}

.icon-12 {
    top: 85%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.icon-13 {
    top: 5%;
    left: 30%;
    animation-delay: 1.2s;
    animation-duration: 19s;
}

.icon-14 {
    top: 25%;
    left: 25%;
    animation-delay: 3.2s;
    animation-duration: 21s;
}

.icon-15 {
    top: 35%;
    right: 5%;
    animation-delay: 2.2s;
    animation-duration: 20s;
}

.icon-16 {
    top: 55%;
    left: 15%;
    animation-delay: 4.2s;
    animation-duration: 18s;
}

.icon-17 {
    top: 65%;
    right: 20%;
    animation-delay: 0.8s;
    animation-duration: 23s;
}

.icon-18 {
    top: 10%;
    right: 40%;
    animation-delay: 2.8s;
    animation-duration: 17s;
}

.icon-19 {
    top: 90%;
    left: 30%;
    animation-delay: 1.8s;
    animation-duration: 22s;
}

.icon-20 {
    top: 5%;
    right: 50%;
    animation-delay: 3.8s;
    animation-duration: 19s;
}

.icon-21 {
    top: 45%;
    left: 55%;
    animation-delay: 0.3s;
    animation-duration: 24s;
}

.icon-22 {
    top: 75%;
    right: 5%;
    animation-delay: 4.7s;
    animation-duration: 20s;
}

.icon-23 {
    top: 12%;
    left: 45%;
    animation-delay: 2.3s;
    animation-duration: 21s;
}

.icon-24 {
    top: 88%;
    right: 45%;
    animation-delay: 1.7s;
    animation-duration: 18s;
}

.icon-25 {
    top: 8%;
    left: 8%;
    animation-delay: 0.6s;
    animation-duration: 19s;
}

.icon-26 {
    top: 18%;
    right: 12%;
    animation-delay: 2.6s;
    animation-duration: 21s;
}

.icon-27 {
    top: 38%;
    left: 3%;
    animation-delay: 4.6s;
    animation-duration: 20s;
}

.icon-28 {
    top: 48%;
    right: 8%;
    animation-delay: 1.6s;
    animation-duration: 22s;
}

.icon-29 {
    top: 68%;
    left: 18%;
    animation-delay: 3.6s;
    animation-duration: 18s;
}

.icon-30 {
    top: 78%;
    right: 22%;
    animation-delay: 5.6s;
    animation-duration: 23s;
}

.icon-31 {
    top: 28%;
    left: 48%;
    animation-delay: 2.1s;
    animation-duration: 17s;
}

.icon-32 {
    top: 58%;
    left: 68%;
    animation-delay: 4.1s;
    animation-duration: 24s;
}

.icon-33 {
    top: 13%;
    left: 58%;
    animation-delay: 1.1s;
    animation-duration: 19s;
}

.icon-34 {
    top: 73%;
    left: 38%;
    animation-delay: 3.1s;
    animation-duration: 20s;
}

.icon-35 {
    top: 43%;
    right: 28%;
    animation-delay: 0.1s;
    animation-duration: 18s;
}

.icon-36 {
    top: 83%;
    left: 78%;
    animation-delay: 3.9s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg) scale(1.05);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.content {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 25px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: contentPulse 3s ease-in-out infinite;
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes contentPulse {
    0%, 100% {
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    }
    50% {
        box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    }
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: logoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.website {
    font-size: 18px;
    color: #86868b;
    margin-bottom: 35px;
    font-weight: 400;
}

.contact-info {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1d1d1f;
    background: rgba(102, 126, 234, 0.08);
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    font-size: 20px;
    display: inline-block;
    animation: iconBounce 2s ease-in-out infinite;
}

.contact-item:nth-child(2) .contact-icon {
    animation-delay: 1s;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.contact-text {
    font-weight: 500;
    color: #1d1d1f;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
}

.contact-link:hover::after {
    width: 100%;
}

.webmail-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.mail-icon {
    font-size: 40px;
    animation: mailFloat 3s ease-in-out infinite;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.mail-icon-left {
    animation-delay: 0s;
}

.mail-icon-right {
    animation-delay: 1.5s;
}

@keyframes mailFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.mail-icon-inline {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    animation: mailSpin 2s ease-in-out infinite;
}

@keyframes mailSpin {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.webmail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.webmail-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.webmail-link:hover::before {
    left: 100%;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }
}

.webmail-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.webmail-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .content {
        padding: 40px 25px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .website {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .contact-info {
        margin-bottom: 30px;
        gap: 12px;
    }
    
    .contact-item {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .contact-icon {
        font-size: 18px;
    }
    
    .logo {
        max-width: 150px;
        margin-bottom: 25px;
    }
    
    .webmail-link {
        padding: 14px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
    
    .mail-icon-inline {
        font-size: 18px;
        margin-right: 8px;
    }
    
    .icon {
        font-size: 40px;
    }
    
    .icon-1, .icon-2, .icon-3, .icon-4, .icon-5, .icon-6,
    .icon-7, .icon-8, .icon-9, .icon-10, .icon-11, .icon-12,
    .icon-13, .icon-14, .icon-15, .icon-16, .icon-17, .icon-18,
    .icon-19, .icon-20, .icon-21, .icon-22, .icon-23, .icon-24,
    .icon-25, .icon-26, .icon-27, .icon-28, .icon-29, .icon-30,
    .icon-31, .icon-32, .icon-33, .icon-34, .icon-35, .icon-36 {
        font-size: 35px;
    }
    
    .mail-icon {
        font-size: 30px;
    }
    
    .webmail-wrapper {
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    .website {
        font-size: 14px;
    }
    
    .contact-item {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .contact-icon {
        font-size: 16px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .webmail-link {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .icon {
        font-size: 30px;
    }
    
    .mail-icon {
        font-size: 25px;
    }
    
    .webmail-wrapper {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .content {
        padding: 25px 15px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .icon {
        font-size: 25px;
    }
}
