.custom-modern-btn {
    display: inline-block;
    position: relative;
    padding: 14px 28px;
    background-color: #8B0000; /* Mørkerød */
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    
    /* Firkantet med cut-off i øverste højre hjørne */
    border-radius: 8px 0 8px 8px;
    
    /* Clip-path for at skabe det tilbagetrukne hjørne */
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    
    /* Box shadow for dybde */
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

/* Hover animation */
.custom-modern-btn:hover {
    background-color: #A52A2A; /* Lysere mørkerød ved hover */
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

/* Active state */
.custom-modern-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
}

/* Focus state for tilgængelighed */
.custom-modern-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.3);
}

/* Shine effekt ved hover */
.custom-modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.custom-modern-btn:hover::before {
    left: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .custom-modern-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}