
.info {
    position: relative;
    overflow: hidden;

    background: none; 

    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 90px;
    gap: 35px;
}
.info::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom, 
        rgba(40, 8, 8, 0.7) 10%, 
        rgb(18, 3, 3) 100%
        
    ), url("../images/hub.png");

    background-size: cover;
    background-position: center;

    filter: blur(2.5px);
    transform: scale(1.05);

    z-index: -1;
}
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testo h1 {
    animation: fadeSlideUp 0.8s ease forwards;
}

.testo .info-description:nth-of-type(1) {
    animation: fadeSlideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.testo .info-description:nth-of-type(2) {
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.pulsanti {
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
    opacity: 0;
    margin-top: 20px;
}

.logo1 {
    animation: fadeIn 1s ease 0.4s forwards, float 4s ease-in-out 1.4s infinite;
    opacity: 0;
    height: auto;
    margin-bottom: 140px;
    align-self: flex-end;
}

.info-description
{
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
    
}
.pulsanti
{
    margin-top: 20px;
}
.copia-ip
{
    background: #800c0c;
    border: 2px solid red;
    border-radius: 3px;
    padding: 10px 30px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-right: 20px;

}
.copia-ip:hover {
    background: #b30000;
    border-color: #ff6666;
    transform: scale(1.05);

}

.copia-ip:active {
    transform: scale(0.98);
}
.mostra
{
    background: #800c0c5c;
    
    border: 2px solid red;
    
    border-radius: 3px;
    padding: 10px 30px;
    color: white;
    font-size: 17px;
    font-weight: auto;
    cursor: pointer;
    transition: 0.2s;
}
.mostra:hover {
    background: #800c0c80;
    border-color: #ff5c5c;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}
.testo
{
    text-align: left;
    margin-left: -40px;
    color: red;

}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}


.box-ip:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #ff4545 0%, #b30000 100%);
}

.box-ip:active {
    transform: translateY(1px);
}

.ipcopiato {
    position: fixed;
    bottom: -60px;
    left: 100px;
    transform: translateX(-50%);
    background: #2ed573;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.ipcopiato.mostra {
    bottom: -70px;

    opacity: 1;
}


.modalita-section {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.modalita-container {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    animation: fadeSlideUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #e60000;
    margin: 12px auto 0;
    border-radius: 2px;
}

.modalita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.modalita-card {
    background: #110505;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: left; 
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}


.modalita-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e60000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modalita-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.modalita-card:nth-child(1) { transition-delay: 0s; }
.modalita-card:nth-child(2) { transition-delay: 0.15s; }
.modalita-card:nth-child(3) { transition-delay: 0.3s; }


.modalita-card:hover {
    transition-delay: 0s;
    transform: translateY(-6px);
    background: #170707;
    border-color: rgba(230, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(230, 0, 0, 0.15);
}

.modalita-card:hover::before {
    opacity: 1;
}


.modalita-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 20px 0;
    background: rgba(230, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #ff3333;
}

.modalita-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.modalita-card p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modalita-note {
    font-size: 0.75rem;
    color: #ff4d4d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.discord-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
}

.discord-content {
    background: #0f111a;
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.discord-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.discord-content:hover {
    transform: translateY(-4px);
    border-color: #5865F2;
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.25);
}

.discord-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.discord-content h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.discord-content p {
    font-size: 0.92rem;
    color: #949ba4;
    margin-bottom: 24px;
    line-height: 1.5;
}

.discord-btn {
    display: inline-block;
    background: #5865F2;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.discord-btn:active {
    transform: translateY(0);
}

footer {
    width: 100%;
    background: linear-gradient(180deg, #0d0202, #1a0505);
    border-top: 3px solid #800c0c;
    padding: 50px 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ff2e2e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: #b0b0c0;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 12, 12, 0.3);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom strong {
    color: #800c0c;
}

@media (max-width: 768px) {
    .info {
        flex-direction: column;
        padding: 60px 20px 40px;
        min-height: auto;
        text-align: center;
        gap: 30px;
    }

    .testo {
        margin-left: 0;
        text-align: center;
    }

    .testo h1 {
        font-size: 1.8rem;
    }

    .info-description {
        font-size: 15px;
        max-width: 100%;
    }

    .pulsanti {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .copia-ip {
        margin-right: 0;
    }

    .logo1 {
        margin-bottom: 0;
        max-width: 200px;
        align-self: center;
        animation: float 4s ease-in-out infinite;
    }

    .modalita-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modalita-section {
        padding: 50px 15px;
        gap: 40px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links a,
    .footer-social a {
        display: inline-block;
        margin: 0 10px;
    }
}
