.homigrad-section {
    padding: 80px 0;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    background: var(--dark-bg);
}

.homigrad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--dark-bg) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.homigrad-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/textures/cooltexturebetter.png') center/auto repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.homigrad-text {
    margin-bottom: 20px;
    text-align: center;
    padding: 0 2%;
    position: relative;
    z-index: 1;
}

.homigrad-small {
    font-size: 1.8rem;
    color: var(--text-color);
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.homigrad-large {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.25), 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
}

.homigrad-large::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(6px);
    opacity: 0.25;
    color: rgba(255, 255, 255, 0.7);
}

.player-count {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 60px;
    opacity: 0.9;
    padding: 0 2%;
    position: relative;
    z-index: 1;
}

.player-count span {
    color: var(--text-color);
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s ease;
}

.player-count span.update-animation {
    animation: numberUpdate 1s ease;
}

.description-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    -webkit-text-stroke: 0.5px rgba(180, 180, 180, 0.3);
    text-shadow: 
        /* Light stroke effect using multiple shadows */
        -0.5px -0.5px 0 rgba(180, 180, 180, 0.3),
        0.5px -0.5px 0 rgba(180, 180, 180, 0.3),
        -0.5px 0.5px 0 rgba(180, 180, 180, 0.3),
        0.5px 0.5px 0 rgba(180, 180, 180, 0.3),
        /* Black drop shadow */
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 6px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(0, 0, 0, 0.3);
}

.description-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 900px;
    margin: 0;
    position: relative;
    z-index: 1;
    -webkit-text-stroke: 0.5px rgba(180, 180, 180, 0.3);
    text-shadow: 
        /* Light stroke effect using multiple shadows */
        -0.5px -0.5px 0 rgba(180, 180, 180, 0.3),
        0.5px -0.5px 0 rgba(180, 180, 180, 0.3),
        -0.5px 0.5px 0 rgba(180, 180, 180, 0.3),
        0.5px 0.5px 0 rgba(180, 180, 180, 0.3),
        /* Black drop shadow */
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 6px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(0, 0, 0, 0.3);
}

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

/* Responsive styles */
@media (max-width: 992px) {
    .homigrad-large {
        font-size: 4.5rem;
    }
    

    
    .homigrad-description {
        padding-left: 15px;
        max-width: 100%;
    }
    
    .description-title {
        font-size: 1.9rem;
    }
    
    .description-text {
        font-size: 1.15rem;
        max-width: 100%;
    }
    

    
    .bloodsplatter-decoration-left {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 20px;
        order: 3;
    }
    
    .bloodsplatter-decoration-left img {
        height: 300px;
        mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.1) 80%, rgba(0,0,0,0) 100%) !important;
        -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.1) 80%, rgba(0,0,0,0) 100%) !important;
    }

}

@media (max-width: 768px) {
    .homigrad-section {
        padding: 60px 0;
    }
    
    .homigrad-small {
        font-size: 1.6rem;
    }
    
    .homigrad-large {
        font-size: 4rem;
    }
    
    .player-count {
        font-size: 1.8rem;
        margin-bottom: 50px;
    }
    

    
    .homigrad-description {
        margin-top: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .description-title {
        font-size: 1.7rem;
    }
    
    .description-text {
        font-size: 1.05rem;
    }
    

    
    .bloodsplatter-decoration-left {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 15px;
        order: 3;
    }
    
    .bloodsplatter-decoration-left img {
        height: 250px;
        mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.08) 75%, rgba(0,0,0,0) 100%) !important;
        -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.08) 75%, rgba(0,0,0,0) 100%) !important;
    }

}

@media (max-width: 480px) {
    .homigrad-section {
        padding: 50px 0;
    }
    
    .homigrad-small {
        font-size: 1.4rem;
    }
    
    .homigrad-large {
        font-size: 3rem;
    }
    
    .player-count {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    

    
    .homigrad-description {
        margin-top: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .description-title {
        font-size: 1.5rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
    

    
    .bloodsplatter-decoration-left {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 10px;
        order: 3;
    }
    
    .bloodsplatter-decoration-left img {
        height: 200px;
        mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 3%, rgba(0,0,0,0.5) 15%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0) 100%) !important;
        -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 3%, rgba(0,0,0,0.5) 15%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0) 100%) !important;
    }

}

/* Media query for large screens */
@media (min-width: 1600px) {
    .homigrad-section {
        max-width: 100%;
        padding: 80px 0;
    }
    

    
    .homigrad-description {
        padding-left: 40px;
        max-width: 1000px;
    }
    
    .description-title {
        font-size: 2.4rem;
    }
    
    .description-text {
        font-size: 1.4rem;
    }
    

    
    .bloodsplatter-decoration-left {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .bloodsplatter-decoration-left img {
        height: 500px;
    }
}

.homigrad-content {
    position: relative;
    z-index: 2;
}

.homigrad-description {
    max-width: 900px;
    margin: 60px 0 0;
    padding-left: 20px;
    text-align: left;
    position: relative;
    z-index: 2;
    flex: 1;
}





.bloodsplatter-decoration-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    z-index: 1;
}

.bloodsplatter-decoration-left img {
    height: 400px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.05) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.05) 80%, rgba(0,0,0,0) 100%);
}

 